Solved

Mdadm RAID1 Have I screwed Up ?

Posted on 2012-12-23
2
479 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 500 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 52
awk file 6 78
Need To Copy Terminal Window Text To Another Terminal Window 8 37
Why  my code (program) build with old compiler? 11 77
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

829 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