Hi Tim,

> Essentially I'd like to have the / and swap on the first 60GB of the disk.  
> Then use the remaining 100GB as a zfs partition to setup zones on.  Obviously 
> the snapshots are extremely useful in such a setup :)
> 
> Does my plan sound feasible from both a usability and performance standpoint?

yes, it works, I do it on my laptop all the time:

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0d0 <DEFAULT cyl 48451 alt 2 hd 64 sec 63>
          /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0
Specify disk (enter its number): 0
selecting c0d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0d0s3 is part of active ZFS pool poolchen. Please see zpool(1M).
/dev/dsk/c0d0s4 is in use for live upgrade /. Please see ludelete(1M).

c0d0s5 is also free and can be used as a third live upgrade partition.

My recommendation: Use at least 2 slices for the OS so you can enjoy live
upgrade, one for swap and the rest for ZFS.

Performance-wise, this is of course not optimal, but perfectly feasible. I have
an Acer Ferrari 4000 which is known to have a slow disk, but it still works
great for what I do (email, web, Solaris demos, presentations, occasional
video).

More complicated things are possible as well. The following blog entry:

  http://blogs.sun.com/solarium/entry/tetris_spielen_mit_zfs

(sorry it's german) ilustrates how my 4 disks at home are sliced in order
to get OS partitions on multiple disks, Swap and as much ZFS space as
possible at acceptable redundancy despite differently-sized disks. Check out
the graphic in the above entry to see what I mean. Works great (but I had to
use -f to zpool create :) ) and gives me enough performance for all my
home-serving needs.

Hope this helps,
   Constantin

-- 
Constantin Gonzalez                            Sun Microsystems GmbH, Germany
Platform Technology Group, Client Solutions                http://www.sun.de/
Tel.: +49 89/4 60 08-25 91                   http://blogs.sun.com/constantin/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to