Kava wrote: > I finally got this to work, but it did not happen automatically. > I needed to export then re-import the pool to get it to work. > Only then did the additional space appear. > > Here is what I did: > - create 4 x 8GB disks and 1 x 4 GB disks > - create RAIDZ pool with 3 x 8GB disks & 1 x 4GB > - ignore warning about wasted space > - end up with pool of 12GB usable (4 x 4GB less 4GB parity) > - replace 4GB disk with 8GB disk > - check pool stats and note that it still has 12GB usable space > - export pool (use defaults) > - import pool (use defaults) > - check pool stats and note that usable space is now 24GB > > Is there a way to skip the export/import?? Downtime for a home > NAS is not really that big an issue ... but if you can do it, > I would like to know how.
hi Kava, I'm using mirrors in my zpools on snv_77, and recently upgraded the disks. I first replaced one 200Gb disk with a 320Gb using # zpool replace -f soundandvision c2t1d0s0 and after less than an hour the data had finished re-silvering. Then the next day when I was able to reboot my system, I replaced the other <320Gb disk, did another in-place replacement: # zpool replace -f soundandvision c3t1d0s0 At that point, I was all set to export the pool, but realised that I didn't need to because zfs had picked up that the disks were larger - an extra ~100Gb just showed up. I don't know whether using a raidZ or raidZ2 pool requires the export/import routine, but I hope it doesn't. cheers, James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss