The problem is that the disk label of the vdisk needs to be adjusted to the new size of the vdisk. The vdisk actually sees its new size but format(1m) shows info from the disk label (which still relies on the old size).
Unfortunately, unless you run Solaris 11 and use EFI disk label, there's no tool to adjust the disk label to the new disk size. There are some manual procedures using format(1m) but they are a bit risky. This problem is tracked by the following CR: 6241086 Format should allow label adjustment when disk/lun size changes 6725986 format(1m) "expand" command should also work with VTOC label alex. On 12/08/10 17:33, Tony MacDoodle wrote:
I tried it and when I boot into single user and did a format, the increase in size was not seen. On Tue, Dec 7, 2010 at 5:51 PM, Nathan Kroenert <[email protected] <mailto:[email protected]>> wrote: IIRC, I did this ages ago on a box I was playing with. There was some fooling around to do though... as ZFS boot disks use slices, and an SMI label, not an EFI label and whole disk... I vaguely recall changing the underlying volsize with the LDOM down, then net-booting single user, using format to alter the size of slice 0, then rebooting all the way back up, and the zpool auto-expanded to use the rest of the disk. And - if you are using mirrors, you won't see the extra space until both sides are done. I'd be inclined to spin up a baby test LDOM and give it a crack - but be sure that you get Oracle's buy-in to be sure they won't arbitrarily decide that it's not a supported procedure. You might also need to watch out for the auto-expand property for the zpool - depending on what Solaris you are running, you might see different behaviour... Cheers! Nathan. On 8/12/2010 7:42 AM, Tony MacDoodle wrote: Hello, We are using ZFS volumes as guest domain boot disks and was wondering if its possible to increase the size of the boot drives without rebuilding? Thanks _______________________________________________ ldoms-discuss mailing list [email protected] <mailto:[email protected]> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss _______________________________________________ ldoms-discuss mailing list [email protected] <mailto:[email protected]> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss _______________________________________________ ldoms-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
_______________________________________________ ldoms-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
