免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2352 | 回复: 6
打印 上一主题 下一主题

硬盘mount不上该如何处理!!!急 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-18 09:08 |只看该作者 |倒序浏览
我的硬盘因为掉电,现在显示文件系统损坏。
可是我从光盘启动,无法mount 上硬盘,
#mount /dev/dsk/c0t3d0s0 /tmp
  no such device or file!
我再用
#format
search devices ......
  no hard disk !
可是我用dmesg命令可以看见硬盘!!
到底该如何是好!!!!急!!

论坛徽章:
0
2 [报告]
发表于 2003-04-18 09:37 |只看该作者

硬盘mount不上该如何处理!!!急

/dev目录对吗?

论坛徽章:
0
3 [报告]
发表于 2003-04-18 10:56 |只看该作者

硬盘mount不上该如何处理!!!急

我现在mount上了!
可是重新启动仍然报错:
/sbin/swapadd.expor:not found
/usr/sbin/swap not found
/usr/sbin/fsck nor found
........
我用fsck超级模块恢复了,可是还是出现这样问题?
如何是好????

论坛徽章:
0
4 [报告]
发表于 2003-04-18 11:17 |只看该作者

硬盘mount不上该如何处理!!!急

???
mount到/tmp??
swapadd??

论坛徽章:
0
5 [报告]
发表于 2003-04-18 14:15 |只看该作者

硬盘mount不上该如何处理!!!急

我现在的错误信息:(在boot开始)

ok boot /sbus@1f,0/SUNW,fas@2,8800000/sd@5,0:a
Boot device: /sbus@1f,0/SUNW,fas@2,8800000/sd@5,0:a   File and args:
SunOS Release 5.5.1 Version Generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1996, Sun Microsystems, Inc.
configuring network interfaces: le0.
Hostname: alviso
mount: /dev/dsk/c1t2d0s6 no such device
/sbin/swapadd: expr: not found
/sbin/swapadd: /usr/sbin/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.

syncing file systems... done
Program terminated
ok
我已经做过FSCK的超级块修复,可是问题依然!!

论坛徽章:
0
6 [报告]
发表于 2003-04-18 14:20 |只看该作者

硬盘mount不上该如何处理!!!急

我从网上找到相应的回答。试着做了一下命令是没问题,可是好像没什么改变!方法如下:请高手指教错误在哪里??!!
Two options are available.

A. Move the disk to a SCSI address that the user knows has been
defined in
the /devices directory. An example of this would be if the disk was
cloned
while installed at target 2 from a disk at target 0, both of those
targets
would be acceptable for this disk as they are fully 'defined'.

B. Create new /dev, /devices and path_to_inst entries based on the new
disk
location using the configuration generated by booting from cdrom.

   NOTE: This will only work if the architecture of the system is the
         same as that installed on the disk, for instance you can not
         move a disk from an Ultra2 to an Ultra450 as the two systems
         use different bus architectures. By the same token you could
         not move the Ultra2 disk to a SPARCstation20 as the hardware
         architectures are not compatible.

The steps to take when using option B are:

   ok boot cdrom -s
   ...
   # mount /dev/dsk/c0t3d0s0 /a        <--- t3 is being used as an example
only
   # cd /tmp/dev
   # tar cvfp - . | ( cd /a/dev; tar xvfp - )
   # cd /tmp/devices
   # tar cvfp - . | ( cd /a/devices; tar xvfp - )
   # cd /tmp/root/etc
   # cp path_to_inst /a/etc/path_to_inst

   NOTE: The vfstab file may need to be edited at this time to make
any
         changes to the target address

   # cd /tmp/root; umount /a; halt
   ...
   ok boot -rv

论坛徽章:
0
7 [报告]
发表于 2003-04-18 14:38 |只看该作者

硬盘mount不上该如何处理!!!急

OKboot cdrom -sw
#fsck -y
#mount /dev/dsk/c0t0d0s0 /mnt
#more /etc/vfstab               ****check each mount point
# mount                              ****mount each mount point
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP