Do I need a pool before I can mirror my disks?


 
Thread Tools Search this Thread
Operating Systems Solaris Do I need a pool before I can mirror my disks?
# 8  
Old 09-18-2011
Oh I see..
I am using ZFS. But how can I see the local files that have been mirrored? Is there any command that I can use?
# 9  
Old 09-18-2011
You can check output of:
Code:
zpool list
zfs list

You will get list of all the zpools and ZFS filesystems on your system. If everything is contained on rpool, then the files are being mirrored. You can also post output of
Code:
mount

to verify that you don't have filesystems other than ZFS mounted.
# 10  
Old 09-18-2011
I want something like this. (See image below)
I used
Code:
ls -la /rpool

to see the list of files in the rpool directory.
But that is for rpool only. I need the disk contents.

Is it not possible to see the contents of the mirrored disk and the contents of the disk that serves as the mirror?
Do I need a pool before I can mirror my disks?-solaris12jpg
# 11  
Old 09-18-2011
I think you are missing some understanding of ZFS... Can you post zfs listand mountoutput? I'll try to explain you filesystem configuration then.
# 12  
Old 09-18-2011
Yeah, I think so. hehe.

Sorry I am new to Solaris and I just thought learning this operating system can be helpful in my future.

This is for zfs list.
Do I need a pool before I can mirror my disks?-solaris13jpg
# 13  
Old 09-18-2011
This is for the # mount command.
Do I need a pool before I can mirror my disks?-solaris14jpg
# 14  
Old 09-18-2011
As you can see root filesystem "/" is really a ZFS filesystem "rpool/ROOT/solaris". The same is true for your home directory /export/home/arah, which is ZFS filesystem "rpool/export/home/arah". All the filesystems that are created under rpool are mirrored. In the mount output I don't see any other filesystem types mounted, so you don't have to worry, all the files that you create will be mirrored.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question