1. 关闭系统,进入prom状态 # init 0 ok (prom状态提示)
2. 在prom状态提示符下确认当前系统所连接的scsi设备状况 ok probe-scsi 或 ok probe-scsi-all
这时,系统将显示所能识别的scsi设备极其设备号(target id).如果新连接的硬 盘之信息没有出现时,请按下述方法进行确认.
1) 检查设备号是否重复?
target-id sunos 4.xsolaris 2.x
2) 内藏硬盘
1 硬盘 通常与sunos 4.x一致.
2 硬盘 当id不重复时, 4,5也
0 硬盘 可以用于硬盘.
4 磁带
5 磁带
6 cd-rom cd-rom
2) 检查电缆,插口,终端器等物理连接是否无误?
3) scsi电缆的总长度是否在6米以内?
3. 重新起动系统 ok boot -r
注意,只有加入"-r"选项时, 系统在起动时才给所识别了的设备(包括scsi设备) 生成相应的设备文件.
4. 对新增设的硬盘进行盘区划分
进入系统状态后,执行format命令,对新增设的硬盘进行盘区划分.
执行例# format
searching for disks...doneavailable disk selections:
0. c0t3d0
/sbus@1,f8000000/esp@0,800000/sd@3,0
specify disk (enter its number): 0 <-- 选择硬盘 selecting c0t3d0 [disk formatted"> format menu: disk select a disk type select (define) a disk type partition select (define) a partition table current describe the current disk format format and analyze the disk repair repair a defective sector show translate a disk address label write label to the disk analyze surface analysis defect defect list management backup search for backup labels verify read and display labels save save new disk/partition definitions volname set 8-character volume name quit format> partition <-- 键入partition(或par)进入分区状态 partition menu: 0 change `0' partition 1 change `1' partition 2 change `2' partition 3 change `3' partition 4 change `4' partition 5 change `5' partition 6 change `6' partition 7 change `7' partition select select a predefined table modify modify a predefined partition table name name the current table print display the current table label write partition map and label to the disk quit partition> modify <-- 键入modify(或mod),修改当前分区表. select partitioning base: 0. current partition table (original) 1. all free hog choose base (enter number) [0">? 0 <-- 选择当前分区表. part tag flag cylinders size blocks 0 unassigned wm 0 17 15.90mb (18/0/0) 1 unassigned wm 18 88 62.71mb (71/0/0) 2 unassigned wm 0 742 656.29mb (743/0/0) 3 unassigned wm 89 121 29.15mb (33/0/0) 4 unassigned wm 0 0 (0/0/0) 5 unassigned wm 122 230 96.28mb (109/0/0) 6 unassigned wm 231 555 287.07mb (325/0/0) 7 unassigned wm 556 742 165.18mb (187/0/0) do you wish to continue creating a new partition table based on above table[yes">? y <-- 键入y,以当前分区表为基准分区. free hog partition[6">? 7 <-- 选择适当的浮动区.(注1) enter size of partition '0' [32562b, 18c, 15.90mb">: 16mb <-- 指定容量 enter size of partition '1' [128439b, 71c, 62.71mb">: 62.7mb (注2) enter size of partition '3' [59697b, 33c, 29.15mb">: 29mb enter size of partition '4' [0b, 0c, 0.00mb">: 0 enter size of partition '5' [197181b, 109c, 96.28mb">: 96mb enter size of partition '6' [587925b, 325c, 287.07mb">: 287mb part tag flag cylinders size blocks 0 unassigned wm 0 18 16.78mb (19/0/0) 1 unassigned wm 19 89 62.71mb (71/0/0) 2 unassigned wm 0 742 656.29mb (743/0/0) 3 unassigned wm 90 122 29.15mb (33/0/0) 4 unassigned wm 0 0 (0/0/0) 5 unassigned wm 123 231 96.28mb (109/0/0) 6 unassigned wm 232 556 287.07mb (325/0/0) 7 unassigned wm 557 742 164.29mb (186/0/0) okay to make this the current partition table[yes">? y <-- 确认后键入y. enter table name (remember quotes): new_table <-- 键入适当的名称. partition> label <-- 键入label(或lab),设定系统标识. ok to label disk? y <-- 键入y partition> q <-- 键入q退出分区状态. format> q <-- 键入q退出format
如果喜欢solaris平台下的硬盘增设方法小结请收藏或告诉您的好朋友.
阅读(210) | 评论(0) | 转发(0) |