博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

XStorage

eXceed Storage ,edited by XiaoMao 持续不断地尽最大努力去做事。
xiaomao2006.cublog.cn


详解"应避免的低级错误"文章中的四个错误(2)
在"应避免的低级错误"文章中提到四个低级错误,下面我将逐个详细记录,防止以后再范同样的错误
 
 
错误:
2.禁止使用tru64命令删除所有设备文件.
 
环境:
主机为alpha ES40,使用备份盘引导机器.
 
 
解析:
当时我们有两个系统盘,希望通过备份盘来引导系统,但系统不能顺利启动,进入单用户模式;
我们在不知道dsfmgr -C做什么用的情况下,使用了此命令,导致所有设备文件重件.当时因时间紧迫也不知道如何恢复,只能用另一个盘引导.后来发现可以在单用户下面恢复,如下
dn_setup -init
dsfmgr -K
 
但不管如何轻易使用-C还是不可以的.
 
dsfmgr - Device special file management utility
 
-C  Creates all device directories such as /dev/disk or /dev/tape, as
      specified in the device special file directory definition file,
      including symbolic links. This command displays a list of all
      directories created, or a full pathname if verbose mode is specified.
 
-K  Creates all device special files. This command is used to create all
      device special files for all devices detected.  This option runs
      automatically at system start up, creating all the device special files
      known by the system.
 
dn_setup - Creates and maintains device name databases. (The -sanity_check
  option is provided for system administration.)

 
--The End--

发表于: 2008-01-03 ,修改于: 2008-01-03 21:06,已浏览302次,有评论0条 推荐 投诉


网友评论

发表评论