root@dxsun890 # df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d1 40348050 5432873 34511697 14% /
通过试验mount /dev/md/dsk/d1 /mnt行不通
另外想办法
root@dxsun890 # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e012a27e41,0
1. c1t1d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e01298b801,0
2. c1t2d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e012a28151,0
3. c1t3d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e012991221,0
4. c1t4d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c317ac58,0
5. c1t5d0
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c317a0f5,0
6. c2t40d0
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w216000c0ff89c943,0
7. c2t40d1
/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w216000c0ff89c943,1
Specify disk (enter its number):
确定c1t0d0s0和c1t1d0s0为/目录,且为镜像磁盘
Stop+a后进入ok状态
Boot cdrom -s
进入单用户模式
Cd /
Mount /dev/dsk/ c1t0d0s0 /mnt
Cd /mnt/etc
Cp shadow shadow1115
Vi shadow
去除掉root行的加密密码
Umount /dev/dsk/ c1t0d0s0
Df -k
Mount /dev/dsk/ c1t1d0s0 /mnt
Cd /mnt/etc
Cp shadow shadow1115
Vi shadow
去除掉root行的加密密码
Reboot 不用root密码即可进入