On Sun, Jan 07, 2007 at 06:28:04PM -0500, Dennis Clarke wrote: > 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. > > ... > > Note that "attach" has no option for -n which would just show me the damage > I am about to do :-(
In general, ZFS does a lot of checking before committing a change to the configuration. We make sure that you don't do things like use disks that are already in use, partitions aren't overlapping, etc. All of the data integrity features in ZFS wouldn't be worth much if we allowed an administrator to unintentionally destroy data. > 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? Yep, that's exactly what will happen. Lather, rinse, repeat for the other disks in the pool, and you should be exactly where you want to be. > I ask all this in painful boring detail because I have no way to backup this > zpool other than tar to a DLT. The last thing I want to do is destroy my > data when I am trying to add redundency. > > Any thoughts ? What you figured out is exactly the right thing. If you decide you want to undo it, just use "zpool detach". --Bill _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss