Re[2]: Tell me how to increase the virtual disk with ZFS?

From: Vladislav Prodan <universite_at_ukr.net>
Date: Sat, 11 May 2013 17:09:36 +0300
('binary' encoding is not supported, stored as-is) > On May 11, 2013, at 8:59 AM, "Vladislav Prodan" <universite_at_ukr.net> wrote: > > > Add another virtual disk and do a RAID0 - not an option. It is not clear how to distribute the data from the old virtual disk to the new virtual disk. > The other option would be to add an additional disk that is as large as you want to the VM, attach it to the zpool as a mirror. The mirror vdev will only be as large as the original device, but once the mirror completes resilvering, you can remove the old device and grow the remaining device to full size (it may do that anyway based on the setting of the auto expand property of the zpool. The default under 9.1 is NOT to autoexpand: > > root_at_FreeBSD2:/root # zpool get autoexpand rootpool > NAME PROPERTY VALUE SOURCE > rootpool autoexpand off default > root_at_FreeBSD2:/root # Thanks. I did not realize that there was such an interesting and useful option :) # zpool get autoexpand tank NAME PROPERTY VALUE SOURCE tank autoexpand off default -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE Received on Sat May 11 2013 - 12:26:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC