[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 512
  • Last Modified:

Mdadm RAID1 Have I screwed Up ?

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
0
mrmad1966
Asked:
mrmad1966
1 Solution
 
rindiCommented:
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.
0
 
mrmad1966Author Commented:
Wipes sweat from brow !
Thank you
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now