Mdadm RAID1 Have I screwed Up ?

mrmad1966
mrmad1966 used Ask the Experts™
on
OK, i REALLY REALLY need advice here. Ive added another two drives & created a second software mdadm RAID1. Everything appeared fine but after doing a df -T i noticed that the new /dev/md1 was seen as an ext2 filesystem. Thinking I had found the correct method I ran the following:-

umount /dev/md1
fsck.ext2 -pf /dev/md1
tune2fs -O extents,uninit_bg,dir_index /dev/md1

Here at this point I was told to run e2fsck which I did. then issued the final command

fsck.ext4 -yfD /dev/md1

Now when I run mount -a I get the error, wrong fs type, bad option, bad superblock on /dev/md1

Have I destroyed any data on this drive ? if not what would I do next ? Thank you

A panicking Mrmad
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Commented:
Check your fstab file. In it you must tell which type of file-system you are mounting. You probably just have to replace "ext2" with "ext4" there.

Author

Commented:
Wipes sweat from brow !
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial