The best thing about best practices is that there are so many of them :-)

Robert Milkowski wrote:
Hello John,

Tuesday, November 7, 2006, 7:45:46 PM, you wrote:

JT> Greetings all-
JT>      I have a new X4200 that I'm getting ready to deploy. It has
JT> four 146 GB SAS drives. I'd like to setup the box for maximum
JT> redundancy on the data stored on these drives. Unfortunately, it
JT> looks like ZFS boot/root aren't really options at this time. The
JT> LSI Logic controller in this box only supports either a RAID0
JT> array with all four disks, or a RAID 1 array with two
JT> disks--neither of which are very appealing to me.
JT>      Ideally I'd like to have at least 300 gigs of storage
JT> available to the users, or more if I can do it with something like
JT> a RAID 5 setup. My concern, however, is that the boot partition
JT> and root partitions have data redundancy.
JT>      How would you setup this box?
JT>      It's primary used as a development server, running a myriad of 
applications.


Use SVM to mirror system, something like:

    d0 mirror of c0t0d0s0 and c0t1d0s0     /    2GB
    d5 mirror of c0t0d0s1 and c0t1d0s1     /var 2GB

IMNSHO, having a separate /var is a complete waste of effort.
Also, 2 GBytes is too small.

    d10 mirror of c0t2d0s0 and c0t3d0s0    swap (2+2GB, to match above)

Also a waste, use a swap file.  Add a dumpdev if you care about
kernel dumps, no need to mirror a dumpdev.

    an all 4 disks create s4 slice with the rest of the disk, should
    be equal on all disks. Then create raidz pool out of those slices.
    You should get above 400GB of usable storage.

    That way you've got mirrored root disks, mirrored swap on another
    two disks matching exactly the space used by / and /var and the
    rest of the disk for your data on zfs.


    ps. and of course you've got to create small slices for metadb's.


Simple /.  Make it big enough to be useful.  Keep its changes to a
minimum.  Make more than one, so that you can use LiveUpgrade.
For consistency, you could make each disk look the same.
        s0 / 10G
        s6 zpool free
        s7 metadb 100M

Use two disks for your BE, the other two for your ABE (assuming all are
bootable).

The astute observer will note that you could also use the onboard RAID
controller for the same, simple configuration, less metadb of course.
 -- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to