给/USR做软RAID,搞出问题,4900机器
c0t3d0s6是我的USR分区
# metainit -f d12 1 1 c0t3d0s6
d12: Concat/Stripe is setup
# metainit d22 1 1 c1t0d0s6
d22: Concat/Stripe is setup
# metainit d2 -m d12
d2: Mirror is setup
(编辑/etc/vfstab 文件使/usr 引用该镜像)
从/dev/dsk/c0t3d0s6 /dev/rdsk/c0t3d0s6 /usr ufs 1 yes -改成
/dev/md/dsk/d2 /dev/md/rdsk/d2 /usr ufs 1 yes -
# reboot
然后准备做 # metattach d2 d22
但是系统无法启动,出现大量的这个信息
Boot device: /pci@1f,700000/scsi@2/disk@0,0 File and args: -s
SunOS Release 5.9 Version Generic_118558-34 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
configuring IPv4 interfaces: ce0.
Hostname: v77
/sbin/rcS: /usr/sbin/devfsadm: not found
/sbin/rcS: /usr/bin/loadkeys: not found
/etc/rcS.d/S35svm.init: rm: not found
/etc/rcS.d/S35svm.init: grep: not found
WARNING: /proc could not be mounted
/sbin/swapadd: expr: not found
/sbin/swapadd: swap: not found
WARNING - /usr/sbin/fsck not found. Most likely the
mount of /usr failed or the /usr filesystem is badly
damaged. The system is being halted. Either reinstall
the system or boot with the -b option in an attempt
to recover.
大家看看我的哪一部出问题,我都是按照文档上做的,555555