[ 永远的UNIX::UNIX技术资料的宝库 ]

首页 > 系统管理 > 其它 > 正文
在UNIX系统中SCSI接口下读写光盘的安装
本文出自: 作者: 王利川 (2001-07-06 10:08:00)

  在银行部门每天都有大量数据需要备份,磁盘和磁带备份都需要大量时间,并且这类介质反复使用后稳定性较差,备份数据量也较小。采用光盘备份即能解决这些问题。怎样在UNIX系统SCSI接口下安装读写光盘。现介绍如下:

一、 配置SCSI控制器

  mkdev hd
  1.your rootdisk is attached to a scsi contronller.The only available choice is to add another SCSI disk.Do you want to add another SCSI disk?(y/n)y回车
  2.Enther the prefix of the SCSI host adapter that supports this device or press<return>for the deaault:'bhba'
  Enther h for a list of host adapters or enter q to quit:输入bhba回车
  3which 'bhba' SCSI host adapter supports this device?
  select 01,or enter q to quit:0回车
  4.what is the target ID for this device?
  select 07(narrow)or 015(wide),or h for help,or q to quit :5回车
  5what is the LUN of this device? press<Return>to use the default:0
  select 07,or h for help, or q to quit:
  选0回车
  6you are about to add the following SCSI device:
  update SCSI configuration?(y/n)y回车
  The SCSI configuration file has been updated.
  A new kernel must be built and reboot before disk configuration can continue.
  此步完成后,重构环境和系统核心SCSI控制器构造完毕。在第四步应选择机器内空闲ID号,同时应将光盘跳线调到相应位置。但ID号选择不能为7,因为SCSI硬盘已将此ID号占用。

二、 初始化读写光盘

  将光盘插入读写光区。重复第一部份操作直到第5步,此时机器提示:
  Do you wish to continue?(y/n)选y回车
  将整个分区全部给UNIX
  选(2)use Entire disk for unix
  此时系统调用子分区表:
  Enter your choice or q to quit:选择n回车
  Which division?(0 through7):选择0回车
  what do you want to call it?给所建系统取名后回车。
  系统再次调用子分区表:
  Enter your choice or q to quit:键入C回车
  which division?(0 through 6):选0回车
  此时系统退回到子分区表:
  Enter your choice or q to quit:选q回车
  please enter your choice:输i回车
  making filesystems.
  此时系统开始安装光盘上文件系统。等待系统提示:Hard disk initialization procedure completed整个安装过程全部结束。此时光盘可作为文件系统mount到一目录视同硬盘的一部分进行操作,这时备份数据到光盘速度与磁带、磁盘比较将会有很大提高,需卸下光盘时采用umount命令。由于光盘容量很大,也可将整个UNIX系统备份到光盘中,系统出现故障时将光盘作为文件系统搭结上恢复根文件系统。

作者单位:王利川(农业银行四川都江堰市分行)


(http://www.fanqiang.com)
    进入【UNIX论坛

相关文章
水木清华BBS集锦:sunos 5.5.1下scsi硬盘的命名规则是什么? (2001-09-08 08:05:01)
在UNIX系统中SCSI接口下读写光盘的安装 (2001-07-06 10:08:00)
Solaris 8 新增功能一览--(14)IA硬件增强,IA SCSI 驱动程序 (2001-06-14 07:00:00)
SCO中如何安装配置SCSI磁带驱动器? (2001-05-28 12:54:53)
Solaris 中调整 SCSI 参数的方法 (2001-05-17 20:10:00)
如何在SCO系统中配置一个非SCSI磁带设备? (2001-05-12 07:30:01)
如何使用一块新加的SCSI硬盘? (2001-04-16 15:01:14)
 

★  樊强制作 欢迎分享  ★