[indiana-discuss] rpool full?

Ryan Barry phresus at gmail.com
Fri Oct 10 16:13:56 PDT 2008


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

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



More information about the indiana-discuss mailing list