[文章作者:张宴 本文版本:v1.0 最后修改:2009.06.17 转载请注明原文链接:http://blog.zyan.cc/post/415/]

  正为视频、图片存储发愁,一个偶然的机会,获知公司在廊坊机房机架上有一台“300GB*14块硬盘”磁盘整列柜,竟然没人使用。周一申请了一辆公司的车,去廊坊机房将该盘阵拖了回来。

  环境:

  一台“惠普Proliant DL380 G4服务器(2U机架式)”,已安装CentOS 5.3 64位操作系统;
  一台“惠普Modular Smart Array 500G2磁盘阵列柜”,插满14块标称300GB的SCSI硬盘;
  一块“惠普 Smart Array 642阵列卡”,插在“惠普Proliant DL380 G4服务器”;
  一根SCSI连接线,连接“惠普 Smart Array 642阵列卡”和“惠普Modular Smart Array 500G2磁盘阵列柜”。

  点击在新窗口中浏览此图片



  配置步骤:

  1、在“惠普Proliant DL380 G4服务器”PCI插槽中安装一块Smart Array 642阵列卡,用SCSI线连接“惠普MSA 500G2磁盘阵列柜”。

  点击在新窗口中浏览此图片

  2、在以下网址点击右侧“Support”栏目中的“Support matrices”,查看“HP Proliant DL380 G4服务器”支持的“HP SmartStart CD光盘类型”:
  http://www.hp.com/servers/smartstart

  点击在新窗口中浏览此图片

  3、通过以下网址下载 HP SmartStart 8.25 x64 光盘,解压后有一个ISO镜像文件,将它刻录到CD刻录光盘上:
  ftp://ftp.hp.com/pub/softlib2/software1/cd/p1760479716/v51549/smartstart-8.25-0-x64.zip

  4、将SmartStart光盘插入“惠普Proliant DL380 G4服务器”的光驱,选择服务器开机从光盘启动,在光盘引导后的图像界面“Array Configuration Utility”中,会显示所有的磁盘阵列卡,包括“惠普Proliant DL380 G4服务器”自带的阵列卡和“惠普MSA 500G2磁盘阵列柜”的阵列卡。
  (1)、点击选择“MSA 500G2”阵列卡。先选择创建磁盘组(Create Array),14块硬盘全选上;
  (2)、再选择创建逻辑盘(Create Logical Drive)。因为这里插了14块标称300GB的SCSI硬盘(实际容量(300GB / 1.024 / 1.024 / 1.024) * 14 / 1024 ≈ 3.8TB),而“惠普MSA 500G2磁盘阵列柜”的每块逻辑盘最大只能支持2TB的数据容量,所以至少需要创建两块逻辑盘,第一块逻辑盘选择2TB,第二块逻辑盘使用默认值,即剩余大小。每块逻辑盘可选择做RAID 0、RAID 1、RAID 5和RAID 6,缺省配置是RAID 6(可损坏任意两颗硬盘,但性能比RAID 5略低8%~15%)。因为是图形界面,这一部分操作比较简单,就不再详细描述。

  5、使用SmartStart光盘创建完逻辑盘之后,重启“惠普Proliant DL380 G4服务器”。

  6、重启后,输入root帐号密码登入CentOS 5.3 x86_64系统。

  7、使用fdisk -l命令查看系统是否已经认识“惠普MSA 500G2磁盘阵列柜”的逻辑盘:
fdisk -l

  这时,如果屏幕显示三块盘,则表示配置成功。第一块盘为服务器自带的磁盘阵列,安装了操作系统,划分了/、/boot、/usr、/data0、swap等分区,第二、三块盘为“惠普MSA 500G2磁盘阵列柜”的逻辑盘:
引用
Disk /dev/cciss/c0d0: 291.3 GB, 291331192320 bytes
......
Disk /dev/cciss/c0d1: 2199.0 GB, 2199023229440 bytes
......
Disk /dev/cciss/c0d2: 1700.9 GB, 1700968609792 bytes


  备注:以下配置流程对于已安装系统的Linux服务器挂载新硬盘同样适用,只不过硬盘名称换成/dev/sdb、/dev/sdc......而已。

  8、为“惠普MSA 500G2磁盘阵列柜”逻辑盘创建分区:
  (1)、为/dev/cciss/c0d1逻辑盘创建分区:
fdisk /dev/cciss/c0d1

  点击在新窗口中浏览此图片
  输入n回车,再输入p回车,再输出1回车,一路回车,最后输入w回车保存。

  (2)、为/dev/cciss/c0d1逻辑盘创建分区:
fdisk /dev/cciss/c0d2

  输入n回车,再输入p回车,再输出1回车,一路回车,最后输入w回车保存。

  (3)、这时候再用fdisk -l命令,应该可以看到“/dev/cciss/c0d1p1”和“/dev/cciss/c0d2p1”两个分区。

  9、格式化“惠普MSA 500G2磁盘阵列柜”两块逻辑盘的分区:
mkfs.ext3 /dev/cciss/c0d1p1
mkfs.ext3 /dev/cciss/c0d2p1


  10、为两个分区做一个label标签(准备将/dev/cciss/c0d1p1挂载到/data1,/dev/cciss/c0d2p1挂载到/data2):
e2label /dev/cciss/c0d1p1 /data1
e2label /dev/cciss/c0d2p1 /data2


  11、创建/data1和/data2目录:
mkdir /data1
mkdir /data2


  12、用mount命令挂接“惠普MSA 500G2磁盘阵列柜”逻辑盘分区:
mount /dev/cciss/c0d1p1 /data1
mount /dev/cciss/c0d2p1 /data2


  13、因为mount挂载在重启服务器后会失效,所以需要将分区信息写入到/etc/fstab文件中:
vi /etc/fstab

  加入以下两行:
引用
LABEL=/data1            /data1                  ext3    defaults        1 2
LABEL=/data2            /data2                  ext3    defaults        1 2


  加完之后,我们看一下完整的/etc/fstab文件:

  点击在新窗口中浏览此图片

  14、为了保险起见,重启“惠普Proliant DL380 G4服务器”,看看是否出错:
reboot


  15、“惠普Proliant DL380 G4服务器”启动成功,我们可以看到/data1和/data2两个分区,一个2TB,一个1.6TB。

  点击在新窗口中浏览此图片

  16、OK,已经可以将“惠普Proliant DL380 G4服务器”和“惠普Modular Smart Array 500G2磁盘阵列柜”运往珠海电信IDC机房。




技术大类 » Cache与存储 | 评论(76) | 引用(10) | 阅读(59915)
Christian Louboutin Email Homepage
2012-5-18 17:33
christian louboutin have own characteristic designs. The beautiful crystals have added the magical finishing touch to countless bridal gowns. Just get some for yourself. The first Men's Boutique, christian louboutin uk Boutique Homme on Rue Jean-Jacques Rousseau in Paris, opened in the summer of 2012.
Louis Vuitton UK Email Homepage
2012-5-18 17:33
Cheap louis vuitton uk wholesale offers a variety of options to satisfy your needs. Some new ones even has fashionable styles fold over flap to disguise the snap closure and a draw string is added for a convenient closure. Louis vuitton outlet online just like a person who want to show himself in front of other people, because he is confident enough, he can attain the respect of other people.
CoachOutlet Email Homepage
2012-5-18 17:34
coach outlet has become a popular shopping experience for consumers around the world, and a desirable distribution channel for manufacturer's and retailers. Coach outlet online develops very quickly because it runs by its own special way and it contents the customers greatly.
Air Jordan Email Homepage
2012-5-18 17:34
Thank you for shopping in our store. We are a reliable online jordan bags seller, specialist in providing numbers of new air jordan bags at amazing price . If you need practical, fashionable and well-known nike dunks, you can consider to choosing on the nike Outlet. Its nice and popular design will make you feel a sense of fresh air.
Nike Air Max Email Homepage
2012-5-18 17:34
This nike air max for sale belongs to the sounding just what are termed as nike air vintage best sellers, many other products and services for the reason that range appearing companies the actual nike air Galliera, plus the nike air outlet monogram selection. nike dunks are made of high leather materials which can be durable and fashionable.They will make you become the focus in the streets or audience.
Louboutin Mens Shoes Email Homepage
2012-7-24 09:14
High heeled Shoes
Christian Louboutin High heeled Shoes
To pressure steps, you can easliy beat the legs through multiple channels, concentrate on the lateral thigh in the the gallbladder and calves belonging to the bladder. On day 3x.
Louboutin Wedges
Louboutin Mens Shoes
lirourou77 Email Homepage
2012-9-5 14:11
Lvjing Hai, the flexibility to delay the basic pension policy, if implemented, will do the elderly occupied by young people to work. In this regard, countries <b>discount designer clothes<b>      
should be to stimulate economic growth, new jobs, to alleviate this problem.

His analysis, private enterprises and foreign enterprises, joint ventures, to attract a large number of employment staff in order to enable flexibility to delay in receiving the basic pension policies can be implemented smoothly, it seems, or should the broad-brush approach to enforce appropriate.

Chu Fu-ling: each year involving tens of millions <b>wholesale designer handbags<b>      
of people

Chu Fu Ling told reporters in the country to implement the flexibility to delay the basic pension policies each year may involve tens of millions of people, and thus lead to the problem of young people unable to enter these positions. This massive amount of posts can not be vacated, may be <b>designer handbags for less<b>      
difficult through the newly developed position, such as to resolve all of a sudden.
DFDG Email Homepage
2012-9-26 11:12
It is fascinating to be aware that Karen Millen UK dark will be the most common shade amongst shoes varieties. The selection of peep toe footwear is enviable. It is not surprising that this big selection is in maintaining within the exceedingly substantial need for this class of shoe amongst women. a single fantastic purpose with the reputation with this shoe Karen Millen sale design is the actuality that they could possibly be used on formal and also informal occasions. makers attempt out revolutionary styles in dark peep toe shoes class to attract new buyers.Heeled footwear on this class existing an fascinating collection. Platforms, wedges, or stilettos, there is commonly a prepared need for these amongst women. program footwear on this class consist of growler and punk types. Growler is good like a Karen Millen dresses formal put on even though punk kind fits casual needs. Shoe boots are extensively used to function areas and evening parties.
sdsd
2012-11-28 14:08
陈匍里儿 Email
2012-12-26 18:02
2012年托福考前买答案【QQ:862488826】雅思考前买答案/英语四六级考前买答案
GAWERW
2013-1-29 16:59
买轴承就到:www.jkzhoucheng.cn
HAWERW
2013-3-7 14:47
买轴承就到:www.jkzhoucheng.cn
刀锋万能营销软件是一款模拟人工发布的软件
[2014-9-27 23:27]
来源:朱朴弓企
内容:刀锋万能营销软件是一款模拟人工发布的软件,他可以模拟人工自动输入,自动点击,以替代人工的繁琐操作,解放你的双手。免费论坛群发,免费博客群发,免费B2B群发,免费分类信息群发。http://bqun.7958.com/down_18529337.html
刀锋万能营销软件是一款模拟人工发布的软件
[2014-10-21 20:41]
来源:覃庚劲沈
内容:刀锋万能营销软件是一款模拟人工发布的软件,他可以模拟人工自动输入,自动点击,以替代人工的繁琐操作,解放你的双手。免费论坛群发,免费博客群发,免费B2B群发,免费分类信息群发。http://bqun.7958.com/down_18529337.html
Steven Email Homepage
2015-3-19 02:50
Thank you for this post Weight Loss Tea
stev Email Homepage
2015-3-20 22:42
Thank you for sharing this post with us asphalt 8 cheats
购物搜索联盟叶舌念柚
[2015-9-29 20:53]
来源:汤仁叮使
内容:购物客,中国第一家购物搜索联盟。现已收录当当、卓越、京东、新蛋、红孩子、DHC、玛萨玛索、VANCL、金象网等国内最具品质的B2C商家,致力于向广大消费者提供最便捷的网购入口、让用户轻松找到低价正品。http://sounion.gouwuke.com/
购物搜索联盟许旭冠季
[2015-9-30 19:07]
来源:丁孝守劣
内容:购物客,中国第一家购物搜索联盟。现已收录当当、卓越、京东、新蛋、红孩子、DHC、玛萨玛索、VANCL、金象网等国内最具品质的B2C商家,致力于向广大消费者提供最便捷的网购入口、让用户轻松找到低价正品。http://sounion.gouwuke.com/
购物搜索联盟严怡决重
[2015-10-1 20:53]
来源:冯巳月町
内容:购物客,中国第一家购物搜索联盟。现已收录当当、卓越、京东、新蛋、红孩子、DHC、玛萨玛索、VANCL、金象网等国内最具品质的B2C商家,致力于向广大消费者提供最便捷的网购入口、让用户轻松找到低价正品。http://sounion.gouwuke.com/
分页: 3/5 第一页 上页 1 2 3 4 5 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]