[ 永遠的UNIX::UNIX技術資料的寶庫 ]   GB | BIG5

首頁 > 系統管理 > 其它 > 正文
在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)
 

★  樊強制作 歡迎分享  ★