Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mdadm RAID1 Have I screwed Up ?

Posted on 2012-12-23
2
Medium Priority
?
508 Views
Last Modified: 2012-12-23
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
Comment
Question by:mrmad1966
2 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 2000 total points
ID: 38716870
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
 
LVL 1

Author Closing Comment

by:mrmad1966
ID: 38716877
Wipes sweat from brow !
Thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question