Trying gstripe

New HP server came with 4 SCSI HD, need to use it for email server. Replace old Intel Pre Server host around 3000 email account.

I’ve been playing around with gconcat for ftp server, now wanna try gstripe 🙂

jedimaster# gstripe label -v email /dev/da1s1d /dev/da2s1d /dev/da3s1d
Metadata value stored on /dev/da1s1d.
Metadata value stored on /dev/da2s1d.
Metadata value stored on /dev/da3s1d.
Done.

jedimaster# newfs -U /dev/stripe/email

jedimaster# mount /dev/stripe/email /email
jedimaster# df -H
Filesystem           Size    Used   Avail Capacity  Mounted on
/dev/da0s1a           10G     65M    9.5G     1%    /
devfs                1.0k    1.0k      0B   100%    /dev
/dev/da0s1d           52G    905M     47G     2%    /home
/dev/da0s1e           16G    3.9G     10G    27%    /usr
/dev/da0s1f           62G     20M     57G     0%    /var
/dev/stripe/email    427G    4.1k    392G     0%    /email

editing /etc/fstab

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/da0s1b             none            swap    sw              0       0
/dev/da0s1a             /               ufs     rw              1       1
/dev/da0s1d             /home           ufs     rw              2       2
/dev/da0s1e             /usr            ufs     rw              2       2
/dev/da0s1f             /var            ufs     rw              2       2
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
/dev/stripe/email       /email          ufs     rw              2       2

jedimaster# echo ‘geom_stripe_load="YES"’ >> /boot/loader.conf

testing ::

jedimaster# time dd if=/dev/zero of=/email/test.img bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 21.451587 secs (50054191 bytes/sec)
0.000u 2.677s 0:21.46 12.4%     21+2974k 33+8192io 0pf+0w

hmmm….

is it scsi thing or I left something?

Links :

FreeBSD Gstripe

Interesting to see ZFS in action, I’ll try it too.