Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
nexenta-gnusolaris [2008/02/04 15:37]
pegasus created
nexenta-gnusolaris [2009/05/25 00:35]
127.0.0.1 external edit
Line 10: Line 10:
 So the answer is to install manually on one disk, where you create a small (eg 20gb) root slice, 1gb swap slice and the rest for /export/home or whatever. Let the install finish, reboot, format the other drive that will become a mirror to the one you installed on (warning, solaris slices! :) and then use zpool attach <poolname> <existing device> <new device> to create a mirror. What remains is just installgrub on the new device and voila, you have a mirrored bootable zfs root gnu/opensolaris system. So the answer is to install manually on one disk, where you create a small (eg 20gb) root slice, 1gb swap slice and the rest for /export/home or whatever. Let the install finish, reboot, format the other drive that will become a mirror to the one you installed on (warning, solaris slices! :) and then use zpool attach <poolname> <existing device> <new device> to create a mirror. What remains is just installgrub on the new device and voila, you have a mirrored bootable zfs root gnu/opensolaris system.
  
-Few tricks: if format complains about not being able to relabel a disk that is in use, simply export NOINUSE_CHECK=1. Also when creating a zpool from slices, it complains that s0 overlaps with s2 (which should be that way, if I understand slices corectly), but we can simply use zpool create -f. After you created your zpool and zfs volumes to your desire, be sure to check zfs get all <name> and check what all can you set on them. I found compression=on and atime=off very userful :)+Few tricks: if format complains about not being able to relabel a disk that is in use, simply export NOINUSE_CHECK=1. Also when creating a zpool from slices, it complains that s0 overlaps with s2 (which should be that way, if I understand slices corectly), but we can simply use zpool create -f. After you created your zpool and zfs volumes to your desire, be sure to check zfs get all <name> and check what all can you set on them. I found compression=on and atime=off very userful. Also set snapdir=visible if you plan to offer backup history via shapshots. It's amazingly simple :)
nexenta-gnusolaris.txt · Last modified: 2012/10/21 19:40 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready