Re: [zfs-discuss] Replace block devices to increase pool size
On Sun, February 6, 2011 08:41, Achim Wolpers wrote: I have a zpool biult up from two vdrives (one mirror and one raidz). The raidz is built up from 4x1TB HDs. When I successively replace each 1TB drive with a 2TB drive will the capacity of the raidz double after the last block device is replaced? You may have to manually set property autoexpand=on; I found yesterday that I had to (in my case on a mirror that I was upgrading). Probably depends on what version you created things at and/or what version you're running now. I replaced the drives in one of the three mirror vdevs in my main pool over this last weekend, and it all went quite smoothly, but I did have to turn on autoexpand at the end of the process to see the new space. -- David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Replace block devices to increase pool size
I have a zpool biult up from two vdrives (one mirror and one raidz). The raidz is built up from 4x1TB HDs. When I successively replace each 1TB drive with a 2TB drive will the capacity of the raidz double after the last block device is replaced? You may have to manually set property autoexpand=on; I found yesterday that I had to (in my case on a mirror that I was upgrading). Probably depends on what version you created things at and/or what version you're running now. I replaced the drives in one of the three mirror vdevs in my main pool over this last weekend, and it all went quite smoothly, but I did have to turn on autoexpand at the end of the process to see the new space. autoexpand is by default off. I guess this is in case someone do something as replacing two 500GB drives with two 1TB drives and then wants to replace those with new 500GB drives, since setting autoexpand=on is quite simple and for the expansion, irreversible. If you have expanded a VDEV, the only way to shrink it is to backup, reconfigure ZFS and restore. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Replace block devices to increase pool size
Hi! I have a zpool biult up from two vdrives (one mirror and one raidz). The raidz is built up from 4x1TB HDs. When I successively replace each 1TB drive with a 2TB drive will the capacity of the raidz double after the last block device is replaced? Achim signature.asc Description: OpenPGP digital signature ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Replace block devices to increase pool size
If autoexpand = on, then yes. zpool get autoexpand pool zpool set autoexpand=on pool The expansion is vdev specific, so if you replaced the mirror first, you'd get that much (the extra 2TB) without touching the raidz. Cheers, On 7 February 2011 01:41, Achim Wolpers achim...@googlemail.com wrote: Hi! I have a zpool biult up from two vdrives (one mirror and one raidz). The raidz is built up from 4x1TB HDs. When I successively replace each 1TB drive with a 2TB drive will the capacity of the raidz double after the last block device is replaced? Achim ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss