Hi all. First of all, thanks for taking the time to lend me a hand
I recently re-installed Ubuntu 8.10 on my system. Prior to the re-install, my ext3-formatted raid5 array was working perfectly. When I did the re-install, all I touched was my (non-raid) boot disk, which houses my "/" partition and my windows partition. I did a manual partition, so I know this to be the case.
After the re-install, I installed mdadm, and rebooted my computer. When it came back up, I checked "mdadm --detail /dev/md0". It had auto-detected the three raid5 disks, and had re-assembled the array. However, it also thought the array was inconsistent, and it had started to rebuild the third drive. I didn't want to mess with it, so I let it finish rebuilding, after which it said the array was clean:
Code:
# sudo mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Wed Apr 2 16:08:44 2008
Raid Level : raid5
Array Size : 1465148928 (1397.27 GiB 1500.31 GB)
Used Dev Size : 732574464 (698.64 GiB 750.16 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Feb 9 19:47:20 2009
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 28ce99d8:12dc7f14:80dcd6ba:f1e671fb
Events : 0.22
Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 32 1 active sync /dev/sdc
2 8 64 2 active sync /dev/sde
As you can see, it sees all 3 drives, sees the correct amount of space that had been used, and sees the date I originally created the array. However, when I try to mount the array, it does not recognize the ext3 partition that I know is on the array:
Code:
# sudo mount -t ext3 /dev/md0 /raid
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# dmesg|tail -1
[118517.394256] VFS: Can't find ext3 filesystem on dev md0.
The only other commands I have run have been "mdadm --stop" and "mdadm --assemble". I know my data must still be there, but I can't figure out why it won't mount. Any help would be greatly appreciated! In case it helps, here's what fdisk sees:
Code:
# sudo fdisk -l /dev/md0
Disk /dev/md0: 1500.3 GB, 1500312502272 bytes
255 heads, 63 sectors/track, 182402 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009860b
Device Boot Start End Blocks Id System
/dev/md0p1 1 91201 732572001 fd Linux raid autodetect
mdadm.conf:
Code:
# cat mdadm.conf
ARRAY /dev/md0 level=raid5 num-devices=3 UUID=28ce99d8:12dc7f14:80dcd6ba:f1e671fb
blkid:
Code:
# blkid
/dev/sda1: UUID="a08797de-3906-43c4-81fb-b9777be9165f" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb1: UUID="2dc0dedb-3565-3ec5-bad6-dc80fb71e6f1" TYPE="mdraid"
/dev/sdc1: UUID="2dc0dedb-3565-3ec5-bad6-dc80fb71e6f1" TYPE="mdraid"
/dev/sdd1: UUID="86CA6959CA694711" TYPE="ntfs"
/dev/sdd2: UUID="039c5fed-edf6-40a3-bd44-71a66954db2a" TYPE="ext3"
/dev/sdd5: UUID="e63d7b46-6baa-439e-87f8-5a5807727708" TYPE="swap"
/dev/sde1: UUID="2dc0dedb-3565-3ec5-bad6-dc80fb71e6f1" TYPE="mdraid"
/dev/sdj1: SEC_TYPE="msdos" UUID="18B0-8D32" TYPE="vfat"
/dev/loop0: TYPE="squashfs"
Thanks, and I really hope I can get my 700gb of data back...