Solved

Mdadm RAID1 Have I screwed Up ?

Posted on 2012-12-23
2
447 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 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
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
Comment Utility
Wipes sweat from brow !
Thank you
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now