Courtney Malone

If it ain’t broke, it doesn’t have enough features yet.

ZFS boot/root is here

Filed under: Geekstuff — Courtney at 5:44 pm on Wednesday, July 30, 2008

 Just a note that as of build 88, zfs booting is integrated into Solaris Nevadaselection . While OpenSolaris (Project Indiana), has had zfs booting for a while, It was previously only available in Nevada by setting up a jumpstart server and doing a netinstall.

datasetconfigAs it stands, you will have to use the text mode installer to configure a zfs root pool, neither the old nor the new graphical installers  support it. If you have multiple disks the installer will automatically configure them as mirrors. zfs-mirrorBoth swap and dump space are configured as zvols, which are basically incredibly  flexible block containers. Ben Rockwood has two excellent writeups on working with zvols. There are currently some limitations mirror-conifghowever, as you can’t setup RAID-Z stripe sets yet and I’m unclear on the state of liveupgrade integration. (updated below) Also note that if you are moving from an older build, luactivate will require you to upgrade to the new findroot enabled version of GRUB. results

Update 8/24: ZFS root was the topic of Thursday’s DFW OpenSolaris User Group meeting. It turns out that liveupgrade is fully aware of zfs and will use zfs specific features like cloning during the upgrade plu-snapshottingrocess, which makes things like lucreate, luupgrade, and lucopy MUCH faster. Indeed, creating a new boot environment with zfs is as simple as lucreate -n be-name, and the current environment is cloned in the existing pool. The other neat thing about using a zfs clone is that only changes from the original are recorded, which means a huge space savings during upgrades. The lucreate in the image on the right took all of 10 seconds which is mind blowing.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>