coologin 发表于 2014-12-11 17:56

忘记密码后,挂载提示not a UFS magic number


主机型号:富士通 M4000
solaris 10
问题:挂载分区失败

忘记密码了,于是通过光盘引导boot cdrom -s,查硬盘只有一个分区,于是挂载,报错,两个硬盘分别挂,都报错,于是重启主机再试一次,同样。查看也不是zpool文件系统。
于是怀疑是引导扇区错误,但不可能两块硬盘都是吧。可疑!

第二个可能是,主机只有一个分区?s0!,问客户,也不清楚。


# mount -F ufs /dev/dsk/c0t0d0s0 /a
NOTICE: mount: not a UFS magic number (0x0)
mount: /dev/dsk/c0t0d0s0 is not this fstype

# file/dev/dsk/c0t0d0s0
/dev/dsk/c0t0d0s0:      block special (32/8)




#format

       0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>solaris
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0
       1. c0t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>solaris
          /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0

查看二块镜像盘

Volume:solaris
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag   Cylinders         Size            Blocks
0       root    wm       0 - 14086      136.71GB    (14087/0/0) 286698624
1 unassigned    wm       0                0         (0/0/0)             0
2   backup    wm       0 - 14086      136.71GB    (14087/0/0) 286698624
3 unassigned    wm       0                0         (0/0/0)             0
4 unassigned    wm       0                0         (0/0/0)             0
5 unassigned    wm       0                0         (0/0/0)             0
6 unassigned    wm       0                0         (0/0/0)             0
7 unassigned    wm       0                0         (0/0/0)             0

DC_楚楚 发表于 2014-12-11 19:01

看着就想zfs系统啊。# zpool import 看看

icyfish28 发表于 2014-12-11 20:01

fstyp /dev/dsk/c0t0d0s0 看一下

coologin 发表于 2014-12-12 09:11



做过如下尝试:
# zpool status
no pools available
# zpool list
no pools available

# zfs list         
no datasets available


DC_楚楚 发表于 2014-12-12 10:56

回复 4# coologin


    这个命令有啥用?没挂起来肯定没啦,
    zpool import

hexilanlan 发表于 2014-12-12 16:40

木有结果了吗?
页: [1]
查看完整版本: 忘记密码后,挂载提示not a UFS magic number