On 08/29/09 05:41, Robert Milkowski wrote:
casper....@sun.com wrote:
Randall Badilla wrote:
Hi all:
First; it is possible modify the boot zpool rpool after OS
installation...? I install the OS on the whole 72GB harddisk.. it
is mirrored so If I want to decrease the rpool; for example resize
to a 36GB slice it can be done?
As far I remember on UFS/SVM I was able to resize boot OS disk via
detach mirror (so tranforming to one-way mirror); ajust the
partitions then attach de mirror. After sync boot form the resized
mirror; re-doing the resize on the remaining mirror and attach
mirror and reboot.
Dowtime reduced to a reboot times.
Yes, you can follow same procedure with zfs (details will differ of
course).
You can actually change the partitions while you're using the slice.
But after changing the size of both slices you may need to reboot
I've used it also when going from ufs to zfs for boot.
But the OP wants to decrease a slice size which if it would work at
all could lead to loss of data.
You can't decrease the size of a root pool this way (or any way, right
now). This is just a specific case of bug 4852783 (reduce pool
capacity). A fix for this is underway, but is not yet available.
Lori
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss