|
在銀行部門每天都有大量數據需要備份,磁盤和磁帶備份都需要大量時間,並且這類介質反復使用穩定性較差,備份數據量也較小。採用光盤備份即能解決這些問題。怎樣在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 0-1,or
enter q to quit:選0回車
4.what is the target ID for this device?
select 0-7(narrow)or
0-15(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 0-7,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系統備份到光盤中,系統出現故障時將光盤作為文件系統搭結上恢復根文件系統。
作者單位:王利川(農業銀行四川都江堰市分行)
|