linux中raid降级,linux – 降级的RAID-5阵列,lvm2丢失了超级块和分区表

我在Ubuntu

Linux 10.04 LTS上有一个4x1TB硬盘的RAID-5阵列和一个lvm2分区.其中一个磁盘发生故障.我已经重新组装了没有这个故障磁盘的阵列,但现在mdadm –examine声称该阵列没有超级块,fdisk说它没有分区表.我该怎么做才能恢复数据?

# mdadm -D /dev/md0

/dev/md0:

Version : 1.2

Creation Time : Sat Mar 5 14:43:49 2011

Raid Level : raid5

Array Size : 2930276352 (2794.53 GiB 3000.60 GB)

Used Dev Size : 976758784 (931.51 GiB 1000.20 GB)

Raid Devices : 4

Total Devices : 4

Persistence : Superblock is persistent

Update Time : Sat Mar 5 15:06:49 2011

State : clean, degraded

Active Devices : 3

Working Devices : 3

Failed Devices : 1

Spare Devices : 0

Layout : left-symmetric

Chunk Size : 512K

Name : boba:1 (local to host boba)

UUID : 52eb4bc9:c3d8aab5:e0699505:e0e1aa05

Events : 18

Number Major Minor RaidDevice State

0 8 1 0 active sync /dev/sda1

1 8 65 1 active sync /dev/sde1

2 8 49 2 active sync /dev/sdd1

3 0 0 3 removed

4 8 17 - faulty spare /dev/sdb1

# mdadm --examine /dev/md0

mdadm: No md superblock detected on /dev/md0.

# fdisk -l /dev/md0

Disk /dev/md0: 3000.6 GB, 3000602984448 bytes

2 heads, 4 sectors/track, 732569088 cylinders

Units = cylinders of 8 * 512 = 4096 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 524288 bytes / 1572864 bytes

Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

# cat /proc/mdstat

Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]

md0 : active raid5 sdb1[4](F) sda1[0] sdd1[2] sde1[1]

2930276352 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]

unused devices:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值