求救,mount 命令倒置系统起不来了,在线等...

web-zw
求救,mount 命令倒置系统起不来了,在线等...

在目录/mnt/www ,www是自己mkdir 的目录,执行mount /dev/dsk/c0t0d0s7 /usr之后,系统里的man ,cp...命令都不能够执行了,然后做/umount -f /usr,umount 之后出现一个core dump,之后系统里的man,cp命令能够执行了,然后reboot ,系统就起不来了,救命...

[[i] 本帖最后由 web-zw 于 2008-5-27 18:10 编辑 [/i]]

SJG
有可能是分区或者系统文件发生了异常!

web-zw
之前试验执行mount /dev/dsk/c0t0d0s7 /export/home  后,发现用户登录系统后都无法进入自己的home目录了,好像是上述mount命令新挂载的分区把原来的给覆盖或者隐藏了,因为执行umount命令后一切就恢复了正常。

这次mount到了/usr下,这是一个系统的目录,被覆盖后貌似有些命令(包括mount,umount)就无法执行了,而且退出telnet后就再也无法登陆了。所以无奈了,就在还未退出登录的机子上试了umount -f 命令强制卸载,但是弹出core dump错误,进入/usr目录下查看原来的系统文件好像一切正常了,但是重启后还是无法登录。。。怎么办?

haishui
把启动的log发出来了啊!

briangao
First, the good news is that what you did shouldn't have destroyed any data.

What error message do you get when reboot?

What is partition c0t0d0s7 ?

The problem you are having shouldn't have anything to do with mkdir /mnt/www. The problem is from mount /dev/dsk/c0t0d0s7 /usr. I guess /usr is not a partition by itself. Otherwise, Solaris wouldn't allow you to mount again. If you didn't do anything else other than what is described in your post, then I don't see any serious problem. You may get a manual fsck message at reboot. If that is the case, simply perform a manual fsck and your system should come up fine.

web-zw
reboot之后信息:
    SC Alert: Host System has Resetand not foundes              
g
Probing system deviceswd rpc WAS I=6016
/dev
Probing memory # cd /      
Probing I/O busesNCE # ls OWNER=ro

Sun Fire V125, No Keyboarda              mnt        
SunOS Release 5.10 Version Generic 64-bit
Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
NOTICE: fencepsvdrv: Successfully install.

NOTICE: scm_impl.c: _newopen = 7ba028bc

NOTICE: fencepsvdrv_attach successful!

Hostname: FENCE
checking ufs filesystems
/dev/rdsk/c0t0d0s7: is logging.

FENCE console login: May 27 20:01:48 FENCE sendmail[285]: My unqualified host na
me (FENCE) unknown; sleeping for retry
May 27 20:01:48 FENCE sendmail[284]: My unqualified host name (FENCE) unknown; s
leeping for retry
May 27 20:02:03 FENCE fencepsvdrv: WARNING: fencepsvdrv: Fail to remove module.
May 27 20:02:48 FENCE sendmail[284]: unable to qualify my own domain name (FENCE
) -- using short name
May 27 20:02:48 FENCE sendmail[285]: unable to qualify my own domain name (FENCE
) -- using short name

web-zw
刚才不知为什么reboot系统起来了,然后执行fsck
发现c0t0d0s0 和 c0t0d0s5 是no 但是 c0t0d0s7是yes。
再reboot一次,系统又起不来了。很是奇怪
-- using short name 到这块就起不来了,是不是/usr挂载/dev/dsk/c0t0d0s7在这里不对啊的,他原来是不是挂载其他位置。感觉好像没有引导/usr.
这块很奇怪:
Hostname: FENCE
checking ufs filesystems
/dev/rdsk/c0t0d0s7: is logging.
为什么是c0t0d0s7

web-zw
系统不知怎的又好了,重启几次之后,就好了,请您分析一下。谢谢关注

briangao
[quote]发现c0t0d0s0 和 c0t0d0s5 是no 但是 c0t0d0s7是yes[/quote]I assume that you are talking about mount at boot column in /etc/vfstab file. If so, it is nornal. I bet c0t0d0s0 is your / partition and c0t0d0s5 is your /var. Both are system partitions and they are mounted anyway.

[quote]FENCE sendmail[284]: unable to qualify my own domain name (FENCE
) -- using short name
[/quote]This message comes up if you don't use a fully qualified domain name (FQDN) in /etc/hosts file . Simply add a FQDN to your /etc/hosts file to get rid of that message:

IP   FENCE  FENCE.something.com   loghost

[quote]-- using short name 到这块就起不来了[/quote]When you see this message, your system should be already up. Try hit Enter key to see whether you get the login prompt or not.

fayewei
回复 #9 briangao 的帖子

天使太牛了,不仅技术强英语也够牛

briangao
[quote]天使太牛了,不仅技术强英语也够牛[/quote]I bet my Chinese is not as good as yours.[img]http://smilies.sofrayt.com/fsc/sad.gif[/img]

wynw320
旁观~看看。

icbc_dccsh
汗,本来命令都在usr下面,你把s7 mount到/usr,系统当然找不到命令了....

icbc_dccsh
[quote]原帖由 [i]web-zw[/i] 于 2008-5-27 20:15 发表 [url=http://bbs.chinaunix.net/redirect.php?goto=findpost&pid=8452435&ptid=1115717][img]http://bbs.chinaunix.net/images/common/back.gif[/img][/url]
reboot之后信息:
    SC Alert: Host System has Resetand not foundes              
g
Probing system deviceswd rpc WAS I=6016
/dev
Probing memory # cd /      
Probing I/O busesNCE # ls OWN ... [/quote]


/dev/rdsk/c0t0d0s7: is logging.

[color=Red][b]FENCE console login:[/b][/color] May 27 20:01:48 FENCE sendmail[285]: My unqualified host na
me (FENCE) unknown; sleeping for retry
May 27 20:01:48 FENCE sendmail[284]: My unqualified host name (FENCE) unknown; s
leeping for retry
May 27 20:02:03 FENCE fencepsvdrv: WARNING: fencepsvdrv: Fail to remove module.
May 27 20:02:48 FENCE sendmail[284]: unable to qualify my own domain name (FENCE
) -- using short name
May 27 20:02:48 FENCE sendmail[285]: unable to qualify my own domain name (FENCE
) -- using short name


不是已经起来了吗?!
上一篇:(转)图解Solaris10 For X86在vmware安装全过程 下一篇:下面没有链接了