首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux服务器应用 > 文章内容

SUN E250工作组服务器上增加大容量硬盘和创建磁盘阵列RAID5

作者:佚名  来源:不详  发布时间:2008-6-27 8:49:00
一、在SUN E250上增加大容量硬盘

SUN E250服务器是一款可插入六块硬盘的工作组服务器,SUN公司官方称此服务器只可使用36GB以下的SCSI硬盘,通过实践我们成功的在SUN E250上插入了一块18GB的SCSI硬盘安装操作系统,五块146GB的SCSI硬盘作数据存储,具体操作过程如下:

 1、先插入18GB硬盘,安装Solaris 9操作系统。

 2、关闭系统,调整每一块SCSI大容量硬盘的ID号,使之不重复后,插入机器中。

 3、开机按Stop-A进入PROM状态 % init 0 ok (PROM状态提示) 。

 4、在PROM状态提示符下确认当前系统所连接的SCSI设备状况键入

 probe-scsi 或 probe-scsi-all

这时,系统将显示所能识别的SCSI设备极其设备号(Target ID),如果新连接的硬盘信息没有出现时,请按下述方法进行确认。

1) 检查设备号是否重复?

Target-ID SunOS 4.xSolaris 2.x

3 内藏硬盘 

1 硬盘 通常与SunOS 4.x一致.

2 硬盘 当ID不重复时, 4,5也

0 硬盘 可以用于硬盘.

4 磁带  

5 磁带  

6 CD-ROM CD-ROM

2) 检查电缆,插口,终端器等物理连接是否无误?

3) SCSI电缆的总长度是否在6米以内?

 5、重新起动系统,键入

 boot -r

注意,只有加入"-r"选项时, 系统在起动时才给所识别了的设备(包括SCSI设备) 生成相应的设备文件。

 6、对新增设的硬盘进行盘区划分

进入系统状态后,执行format命令,对新增设的硬盘进行盘区划分。

 # format (CR)

 Searching for disks...done

 AVAILABLE DISK SELECTIONS:

 0. c0t0d0

 /pci@1f,4000/scsi@3/sd@0,0

 1. c0t1d0

 /pci@1f,4000/scsi@3/sd@9,0

 2. c0t2d0

 /pci@1f,4000/scsi@3/sd@a,0

 3. c0t3d0

 /pci@1f,4000/scsi@3/sd@b,0

 4. c0t4d0

 /pci@1f,4000/scsi@3/sd@d,0

 5. c0t5d0

 /pci@1f,4000/scsi@3/sd@f,0

 Specify disk (enter its number): 1 //<-- 选择硬盘

 selecting c0t1d0

 [disk unformatted]

 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

 inquiry show vendor, product and revision

 volname set 8-character volume name

 ! execute , then return

 quit

 format> partition <-- 键入partition(或p)进入分区状态

 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

 ! - execute , then return

 quit

 partition> modify <-- 键入modify(或m),修改当前分区表.

 Select partitioning base:

 0. Current partition table (original)

 1. All Free Hog Choose base

 (enter number) [0]? 1 <-- 选择当前分区表.

 Part Tag Flag Cylinders Size Blocks

 0 unassigned wm 0 0 (0/0/0) 0

 1 unassigned wm 0 0 (0/0/0) 0

 2 unassigned wm 0-49779 136.72GB (49780/0/0) 286732800

 3 unassigned wm 0 0 (0/0/0) 0

 4 unassigned wm 0 0 (0/0/0) 0

 5 unassigned wm 0 0 (0/0/0) 0

 6 unassigned wm 0 0 (0/0/0) 0

 7 unassigned wm 0 0 (0/0/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' [0b,0c,0mb]:0mb<-- 指定容量(注2)

 Enter size of partition '1' [0b,0c,0mb]:0mb

 Enter size of partition '3' [0b,0c,0mb]:0mb

 Enter size of partition '4' [0b,0c,0mb]:0mb

 Enter size of partition '5' [0b,0c,0mb]:0mb

 Enter size of partition '6' [0b,0c,0mb]:0mb

 Enter size of partition '7' [0b,0c,0mb]:0mb

 Part Tag Flag Cylinders Size Blocks

 0 unassigned wm 0 0 (0/0/0) 0

[1] [2]  下一页

收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图