1.如果硬盘是连接在IBM ServeRAID控制器上,请确认ips包已经安装;
2.运行diskadd;
3.系统提示Do you wish to continue: 按 y 继续;
4.建议按 y 继续,在这种情况下整个硬盘为unix分区;或者按 n 进入fdisk程序,手工建立分区;
5.按 y 跳过硬盘表面检测;
6.系统提示“How many slices/filesystems do you want created on the disk(1-13)?”输入 1 继续;
7.系统提示“Please enter the absolute pathname(e.g. /home3) for slice/filesystem 1(1-32 chars)?”输入硬盘的安装点,例如/hdd;
8. 系统提示“Enter the filesystem type for this slice(vxfs,ufs,s5,sfs).Type 'na' if no filesystem is needed, or press <ENTER> to use the default(vxfs):”按<ENTER>使用默认的文件系统,如果使用裸设备则输入na;
9.系统提示“Specify the block size for the following list(1024,2048,4096,8192) of press <ENTER> to use the first one:”按<ENTER>继续;
10.系统提示“Should /hdd be automatically mounted during a reboot? Type 'no' to overwrite auto-mount or press <ENTER> to enable the option”按<ENTER>则新添加的硬盘在每次启动时都会被自动mount,输入no的话需要每次在使用这个硬盘前手工mount;
11.系统提示“How many cylinders would you like for /hdd(0-382)?”(382为根据硬盘大小计算出来的值,用户看到的有可能不同),输入382;
12.系统提示“Is this allocation acceptable to you(y/n)?”按 y 继续;
13.按<ENTER>使用系统默认的inode值;
14.硬盘添加成功,可以用mount命令查看硬盘已mount
/hdd on /dev/dsk/c0b0t1d0s1 read/write……
××××××××××××××××××××××××××××
在Unixware中如何确定硬盘的设备文件名
在Sco Unixware系统中,硬盘的设备文件为/dev/dsk/cCbBtTdDsS。其中的大写字母C、B、T、D、S为变量。
C为HBA(硬盘控制器)号,范围为0-31;
B为HBA bus的号,范围为 0-7,IDE硬盘为0;
T为SCSI ID号,范围为 0-31,在阵列方式下,T为logical drive号;
D为logical Unit号,通常为0;
S为slice(与硬盘的分区相似)号,范围0-b7(Hex)。
确定硬盘的设备文件可以借助于命令sdiconfig -l。
例如:#sdiconfig -l
0:0,15,0:HBA ips,1) IPS SCSI
0, 0,0ISK :IBM SERVERAID
0, 1,0ISK :IBM SERVERAID
0, 2,0ISK :IBM SERVERAID
……
1:0, 7,0:HBA adsb,1) Adaptec PCI SCSI
2:0, 7,0:HBA adsb,2) Adaptec PCI SCSI
3:0, 7,0:HBA ide,1) Generic ESDI/IDE/ATA
0, 0,0:CDROM:LITEON CD-ROM LTN 486S YUS3
系统会按硬盘控制器的顺序列出其连接的所有设备。因此在SERVERAID控制器上的第2个逻辑盘的第1个slice的设备文件名为/dev/dsk/c0b0t1d0s0。
hnpygqs 回复于:2003-07-24 08:15:07 | ||||||||
怎么没人顶,我顶。 | ||||||||
Dingy 回复于:2003-07-24 11:31:30 | ||||||||
该文似曾相识 | ||||||||
day_dream 回复于:2003-07-24 13:04:06 | ||||||||
我是菜鸟,但我也要顶
|