solaris 8 /usr/lib/libdl.so.1删掉后,metadb丢失
机器是v880 系统是 solaris 8
系统使用了SVM做了mirror ,按照SVM ADMIN GUIDE 的方法出错。
# metainit -r
metainit: there are no existing databases
由于无法用solaris 8 启动,使用solaris 9的启动盘成功启动,并将2个 slice mount 上把文件cp 到了/usr/lib/
我使用/etc/system-INSTALL启动 系统启动还是出现错误。
但是现在启动系统 自动跳到 维护模式,还是看不到盘
# metastat
metastat: sun : there are no existing databases
启动后可以找到root fs。
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN-StorEdge3510-327R cyl 6 alt 2 hd 64 sec 32>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0109007f1,0
1. c1t1d0 <SUN-StorEdge3510-327R cyl 20478 alt 2 hd 64 sec 32>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e010905061,0
2. c1t2d0 <FUJITSU-MAP3735FSUN72G-1201 cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0108ff531,0
3. c1t3d0 <SUN-StorEdge3510-327R cyl 6 alt 2 hd 64 sec 32>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e010900f01,0
4. c1t4d0 <SUN-StorEdge3510-327R cyl 35349 alt 2 hd 255 sec 127>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e010900791,0
5. c1t5d0 <SUN-StorEdge3510-327R cyl 6 alt 2 hd 64 sec 32>
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e0109007b1,0
6. c7t40d0 <FUJITSU-MAP3735FSUN72G-1201 cyl 14087 alt 2 hd 24 sec 424>
/pci@8,700000/SUNW,qlc@4/fp@0,0/ssd@w226000c0ff87fc43,0
7. c7t40d1 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,700000/SUNW,qlc@4/fp@0,0/ssd@w226000c0ff87fc43,1
8. c7t40d2 <FUJITSU-MAP3735FSUN72G-1201 cyl 14087 alt 2 hd 24 sec 424>
/pci@8,700000/SUNW,qlc@4/fp@0,0/ssd@w226000c0ff87fc43,2
9. c7t40d3 <SEAGATE-ST373307FSUN72G-0307 cyl 14087 alt 2 hd 24 sec 424>
/pci@8,700000/SUNW,qlc@4/fp@0,0/ssd@w226000c0ff87fc43,3
10. c7t40d4 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,700000/SUNW,qlc@4/fp@0,0/ssd@w226000c0ff87fc43,4
# fsck -y /dev/rdsk/c7t40d1s0
** /dev/rdsk/c7t40d1s0
** Last Mounted on /a
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
140016 files, 7235360 used, 18581703 free (66639 frags, 2314383 blocks, 0.2% fragmentation)
# metastat
metastat: sun : there are no existing databases
# mount /dev/dsk/c7t40d1s0 /mnt
mount: /dev/dsk/c7t40d1s0 is already mounted, /mnt is busy,
or the allowable number of mount points has been exceeded
# cat /etc/mnttab
# mount
请教大家指点下,有什么思路解决这个问题。谢谢先~
root fs已经手动吧slice挂上。
系统已经启动了,现在还是有问题,SVM 的信息丢失了。
# mount
/ on /dev/dsk/c7t40d1s0 read/write/setuid/intr/largefiles/onerror=panic/dev=1d80048 on Wed Dec 19 23:12:42 2007
/proc on /proc read/write/setuid/dev=4fc0000 on Wed Dec 19 23:12:41 2007
/dev/fd on fd read/write/setuid/dev=5080000 on Wed Dec 19 23:12:42 2007
/etc/mnttab on mnttab read/write/setuid/dev=51c0000 on Wed Dec 19 23:13:14 2007
# metainit -r
metainit: sun: there are no existing databases
|