Ryan Barry wrote:
> I (mistakenly) installed onto an 18GB SCSI drive a few months ago. pkg
> image-update worked great until I installed Sun Studio, and now I don't have
> enough free space to update. I've got a number of other drives in another
> ZFS pool, and a 36GB drive I intend to replace the 18GB with. Unfortunately,
> I can't add to rpool. What's the best way around this?
>
> I've sent ZFS snapshots over to the 36GB drive for everything in rpool, and
> it should be a complete match, but the drive identifier is (obviously)
> different. However, I don't know if getting rid of zpool.cache, renaming
> newpool to rpool, and re-installing GRUB would work.
>
> Should I just get rid of /rpool/[opt,export] and use /newpool/[opt,export]
> instead (which should free up enough space)? Would this work?
>
> Set up a ZFS mirror with the 36GB drive and break the mirror? I don't know
> if ZFS would automagically expand to use the entire 36GB, and even then I'm
> stuck with a broken mirror until I replace the 18GB drive with another 36GB
> (though the ideal would be to not have a mirror on the root at all, due to
> constrained space in the case).
>
IMHO, this is the easiest solution. Something like:
1. zpool attach rpool 36GByte-drive-slice
note: use a slice, whole disks get EFI labels and are not (yet)
bootable
2. installgrub on the 36GByte disk
3. modify your bios to boot from the 36GByte disk
4. zpool detach the 18GByte disk
5. attempt to reboot... make sure this works before you try to upgrade
note: upon reboot, the larger space will take effect
Details on managing boot from ZFS is in the "Booting from an Alternate
Disk in a Mirrored ZFS Root Pool" section of the ZFS Administration
Guide.
http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
-- richard
> Basically, what's the best way to solve this problem? Re-installing is
> something I've reserved as a dead-last option (to the point where I'd rather
> just stick with B93 forever).
> --
> This message posted from opensolaris.org
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss