Posted on 2007-01-17 11:22
oxl 阅读(173)
评论(0) 编辑 收藏
一个老机器…/加内存(128MB * 2)/加硬盘(20GB * 4)
一个硬盘用来装系统/dev/ad0
其余三块做raid5
newfs -u /dev/ad1 / ad2 / ad3
touch /etc/gvinum.conf
vi /etc/gvinum.conf
drive disk1 device /dev/ad1
drive disk1 device /dev/ad1
drive disk1 device /dev/ad1
volume share
plex org raid5 491k
sd drive disk1
sd drive disk2
sd drive disk3
gvinum create /etc/gvinum.conf
newfs -U /dev/gvinum/share
gvinum start share
gvinum saveconfig
add /boot/loader.confg
geom_vinum_load=”YES”
add /etc/rc.conf
start_vinum=”YES”
edit /etc/fstab
/dev/gvinum/share /share ufs rw 2 2
ok 大功告成