Coy Hile via smartos-discuss wrote:
Good evening, all:When I setup my current box that’s doing ‘real’ work using SmartOS, I only had four old 1G SATA disks setup thusly: [root@headnode ~]# zpool list -v NAME SIZE ALLOC FREE EXPANDSZ CAP DEDUP HEALTH ALTROOT zones 3.62T 479G 3.16T - 12% 1.00x ONLINE - raidz1 3.62T 479G 3.16T - c0t5000CCA375D44795d0 - - - - c0t5000CCA375D4B7D3d0 - - - - c0t5000CCA375D4B7ECd0 - - - - c0t5000CCA375D5D4A7d0 - - - - [root@headnode ~]# I’m probably going to pick up a bunch of SAS drives soon (whatever Keith says is the right thing to use in the manufacturing data, naturally :)) and (hopefully) add new mirror zvols (a la zpool add zones mirror newDisk1 newDisk2 run n times) That brings up two questions. Firstly, will that procedure work?
That depends on your definition of work. Don't do it!
Secondly, if I want to vacate the existing raidz1 zvol so that I can remove those four disks and replace them with a pair of mirror vdevs, is there a supported way to do that online? If I can avoid downtime, that’d be most awesome.
Create a new pool with the new drives and zfs send everything over to it. You'll then have to boot into a no install session to export the current pool and import the new one as "zones".
-- Ian. ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
