Hey all,
Just to say: I am messing around with VirtualBox and Solaris, and am using a dynamically-sized disk image of 16Gb to install Solaris upon; this Solaris installation is eventually meant to run on a MacBook Air without much disk space, so it makes sense to keep the footprint as small as possible for as long as possible. Following a chat with Darren I decided to have a go with compressed ZFS root; this is not exactly a supported process, but I see no reason not to be trying it.
In short: the technique is this:
- boot Solaris Nevada using option 3 – desktop install
- go through System Identification (for some reason this was hanging for me, maybe DHCP?)
- open a second terminal window with a shell running
- choose a ZFS install
- start the installation
- WAIT UNTIL THE INSTALLER FINISHES CREATING THE SWAP AND DUMP ZVOLS
- in the other window, type:
zfs set compression=gzip rpool
You have to wait until the zvols are written; if you try enabling compression too early then the installer will crash-out and you will have to reboot to get into a state where you can try again.
I really wish this was a checkbox option, it would make sense for appliances and other small devices.
More info on how it goes, as I have it. I offer no guarantees, for all I know this is not supported, caveat hacker, etc…
Update: ok, this one’s not booting. Need to poke grub? That said, it occupies 2.7Gb for SUNWCxall with OEM, which is good…
Leave a Reply