- 空间积分
- 34
- 信誉积分
- 104
- UID
- 4293
- 阅读权限
- 100
- 积分
- 46442
- 帖子
- 9099
- 精华
- 2
- 可用积分
- 46442
- 专家积分
- 175
- 在线时间
- 6035 小时
- 注册时间
- 2003-05-19
- 最后登录
- 2012-02-08
 
- 帖子
- 9099
- 主题
- 363
- 精华
- 2
- 可用积分
- 46442
- 专家积分
- 175
- 在线时间
- 6035 小时
- 注册时间
- 2003-05-19
- 最后登录
- 2012-02-08
- 论坛徽章:
- 0
|
发表于 2009-07-02 08:33:10
|显示全部楼层
原帖由 marsaber 于 2009-7-1 17:49 发表 
查看raid的状态呢?
mdadm -D /dev/md*
这是正常运行情况下的RAID1(MD0 & MD1)
########### Software RAID Summary ############
Personalities : [raid1]
md1 : active raid1 sdd1[1] sdc1[0]
244195904 blocks [2/2] [UU]
md0 : active raid1 sdb1[1] sda1[0]
242147648 blocks [2/2] [UU]
unused devices: <none>
############# /dev/md0 status ################
/dev/md0:
Version : 00.90.03
Creation Time : Wed Apr 1 01:51:55 2009
Raid Level : raid1
Array Size : 242147648 (230.93 GiB 247.96 GB)
Used Dev Size : 242147648 (230.93 GiB 247.96 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Jul 2 04:18:30 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 9b2ade57:ec5ace7b:4032bb3b:f9bb6118
Events : 0.16
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
############# /dev/md1 status ################
/dev/md1:
Version : 00.90.03
Creation Time : Tue Jul 15 19:32:02 2008
Raid Level : raid1
Array Size : 244195904 (232.88 GiB 250.06 GB)
Used Dev Size : 244195904 (232.88 GiB 250.06 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Thu Jul 2 04:15:41 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 9243b70f:3f08b473:a79952ce:3e813a89
Events : 0.4
Number Major Minor RaidDevice State
0 8 33 0 active sync /dev/sdc1
1 8 49 1 active sync /dev/sdd1
怎么找这些信息都发现只有根据sd**来找
怕这个方法在换坏的硬盘时,将好的硬盘抽出来了
[ 本帖最后由 ruochen 于 2009-7-3 13:24 编辑 ] |
|