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).

Second: In the first can't be done; I was guessing I could increase rpool size via adding more hard disk. As you know that must be done with SMI labeled hard disk; well I have tried change the start cyl; changed the label type almost everything and I still get the error
 zpool add rpool mirror c1t2d0 c1t5d0
cannot label 'c1t2d0': EFI labeled devices are not supported on root pools.

once you manually sliced the disks on SMI label then when creating a mirror you need to specify which slice zfs should use. If you specify a disk without providing a slice zfs always try to put new EFI label in place and use entire disk but since in above example you are trying to add to rpool and only SMI is allowed it fails.

(zpool add rpool mirror c1t2d0s0 c1t5d0s0)

However I'm not sure if raid-10 (two mirrors striped in your case) is allowed for rpools...

--
Robert Milkowski
http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to