On 07 January, 2007 - Dennis Clarke sent me these 6,1K bytes: > I have a pile of disks hanging off it on two controllers, c0 and c1. [..] > Note the complete lack of redundency ! > > Now then, I have a collection of six disks on controller c0 that I would > like to now mirror with this ZPool zfs0. Thats the wrong way of thinking > really. In the SVM world I would create stripes and then mirror them to get > either RAID 0+1 or RAID 1+0 depending on various factors. With ZFS I am > more likely to just create the mirrors on day one thus : > > # zpool create zfs0 mirror c1t9d0 c0t9d0 mirror c1t10d0 c0t10d0 ... etc > > but I don't have that option now. The zpool exists as a simple stripe set > at the moment. Or some similar analogy of a stripe set in the ZFS world. [..] > So I am making a best guess here that what I need is something like this : > > # zpool attach zfs0 c1t9d0 c0t9d0 > > which would mean that the fist disk in my zpool would be mirrored and > nothing else. A weird config to be sure but .. is this what will happen?
Why not just try it yourself? :) unterweser:/tmp# mkfile 64m file1a unterweser:/tmp# mkfile 64m file2a unterweser:/tmp# mkfile 64m file1b unterweser:/tmp# mkfile 64m file2b unterweser:/tmp# zpool create crap /tmp/file1a /tmp/file2a unterweser:/tmp# zpool attach crap /tmp/file1a /tmp/file1b unterweser:/tmp# zpool status crap pool: crap state: ONLINE scrub: resilver completed with 0 errors on Mon Jan 8 01:31:07 2007 config: NAME STATE READ WRITE CKSUM crap ONLINE 0 0 0 mirror ONLINE 0 0 0 /tmp/file1a ONLINE 0 0 0 /tmp/file1b ONLINE 0 0 0 /tmp/file2a ONLINE 0 0 0 errors: No known data errors unterweser:/tmp# zpool attach crap /tmp/file2a /tmp/file2b unterweser:/tmp# zpool status crap pool: crap state: ONLINE scrub: resilver completed with 0 errors on Mon Jan 8 01:31:18 2007 config: NAME STATE READ WRITE CKSUM crap ONLINE 0 0 0 mirror ONLINE 0 0 0 /tmp/file1a ONLINE 0 0 0 /tmp/file1b ONLINE 0 0 0 mirror ONLINE 0 0 0 /tmp/file2a ONLINE 0 0 0 /tmp/file2b ONLINE 0 0 0 errors: No known data errors /Tomas -- Tomas Ögren, [EMAIL PROTECTED], http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss