Sponsored Content
Operating Systems Solaris Do I need a pool before I can mirror my disks? Post 302556311 by CarlosP on Sunday 18th of September 2011 01:43:13 AM
Old 09-18-2011
Do I need a pool before I can mirror my disks?

Hi!

I would also like to know if I need first to create a pool before I can mirror my disks inside that pool.

My first disk is c7t0d0s0 and my second disk is c7t2d0s0 as seen in the figure below.

I would create a pool named rpool1 for this 2 disks.
Code:
# zpool create rpool1 c7t0d0p0 c7t2d0p0

Now, I have 2 pools in my system namely: rpool and rpool1.

If I have a file in rpool, how can I mirror that file in rpool1?

Thanks!
Do I need a pool before I can mirror my disks?-diskpng
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sync mirror disks

Does anyone know how to force these rogue logical volumes to mirror to there respective disks? DISK:Logical Volumes 03:cw_p05,cw_p01_01,cw_p01_02,lv00 09:cw_p05,cw_p01_01,cw_p01_02 04:cw_p01_phyldbs,cw_p01_03,cw_op01_01,cw_od01 10:cw_p01_phyldbs,cw_p01_03,cw_op01_01 (1 Reply)
Discussion started by: Optimus_P
1 Replies

2. Solaris

Server - 2 disks - How to mirror

I hope I am posting in the correct forum. I have a server - which I am installing solaris 9 on. The server currently has 2 disks. I wish to run solaris 9 on one, and use the other as a mirror for the first one. ie. If the first one should ever fail, then I can swap to the mirror and just... (18 Replies)
Discussion started by: frustrated1
18 Replies

3. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

4. Infrastructure Monitoring

zfs - migrate from pool to pool

Here are the details. cnjr-opennms>root$ zfs list NAME USED AVAIL REFER MOUNTPOINT openpool 20.6G 46.3G 35.5K /openpool openpool/ROOT 15.4G 46.3G 18K legacy openpool/ROOT/rds 15.4G 46.3G 15.3G / openpool/ROOT/rds/var 102M ... (3 Replies)
Discussion started by: pupp
3 Replies

5. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

6. Solaris

ZFS - list of disks used in a pool

Hi guys, We had created a pool as follows: zpool create filing_pool raidz c1t2d0 c1t3d0 ........ Due to some requirement, we need to destroy the pool and re-create another one. We wish to know now which disks have been included in the filing_pool, how do we list the disks used to create... (2 Replies)
Discussion started by: frum
2 Replies

7. Solaris

not able to use pool

i have this pool1 on my sun4u sparc machine bash-3.00# zpool get all pool1 NAME PROPERTY VALUE SOURCE pool1 size 292G - pool1 used 76.5K - pool1 available 292G - pool1 capacity 0% -... (1 Reply)
Discussion started by: Sojourner
1 Replies

8. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

9. Solaris

How to detach root mirror pool?

I have to do patching in single user mode in solaris 10 zfs root pool. Before that I have to detach the root mirror pool so that if patching fails then I can boot from detached root mirror pool. Please let me know how can I detach root pool bash-3.2# zpool status pool: rpool state: ONLINE... (5 Replies)
Discussion started by: hb00
5 Replies
DPM-ADDPOOL(1)						    DPM Administrator Commands						    DPM-ADDPOOL(1)

NAME
dpm-addpool - define a new disk pool SYNOPSIS
dpm-addpool --poolname pool_name --def_filesize defsize [ --def_lifetime def_lifetime ] [ --def_pintime defpintime ] [ --gc_start_thresh perc ] [ --gc_stop_thresh perc ] [ --gid pool_gids ] [ --group pool_groups ] [ --help ] [ --max_lifetime max_lifetime ] [ --max_pintime maxpintime ] [ --ret_policy retention_policy ] [ --s_type space_type ] DESCRIPTION
dpm-addpool defines a new disk pool. This command requires ADMIN privilege. OPTIONS
pool_name specifies the disk pool name. It must be at most CA_MAXPOOLNAMELEN characters long. defsize specifies the default amount of space reserved for a file. This is by default in bytes, but the number may also be post-fixed with 'k', 'M' or 'G' for kilobyte, Megabyte and Gigabyte respectively. def_lifetime specifies the default time a space or volatile file is kept in the system (in seconds). defpintime specifies the default time a file is kept on a given disk (in seconds). gc_start_thresh specifies the minimum free space in the pool. If the percentage of free space goes below this value, the garbage collector is started. Default is 0. gc_stop_thresh specifies the percentage of free space in the pool above which the garbage collector is stopped. Default is 0. max_lifetime specifies the maximum time a space or volatile file is kept in the system (in seconds). maxpintime specifies the maximum time a file is kept on a given disk (in seconds). pool_gids if not zero, the disk pool is restricted to this comma separated list of group gids. pool_groups if set and not "ALL", the disk pool is restricted to this comma separated list of group names. retention_policy specifies the retention policy supported by the disk pool. It can be R (for Replica), O (for Output) or C (for Custodial). Default is R. space_type indicates the type of space supported in the disk pool. It can be V (for Volatile), D (for Durable), P (for Permanent) or - (to accept any type). The latter is the default. EXAMPLE
dpm-addpool --poolname Volatile --def_filesize 200M --s_type V EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm(1), dpm_addpool(3) LCG
$Date: 2010-02-05 10:50:58 +0100 (Fri, 05 Feb 2010) $ DPM-ADDPOOL(1)
All times are GMT -4. The time now is 12:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy