Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-04-2010, 11:05 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 15
Blog Entries: 1

Rep: Reputation: 0
Lightbulb Repair Filesystem after deleting RAID

Playing with the Box, I deleted a Raid-0 partition intentionally, saved it, and reboot drops me to (Repair Filesystem#) prompt. I notice during boot-up that the box didn't find /dev/md0, which is expected.

So what's the recovery procedure, since I can't edit #/etc/fstab, permission denied.

#fdisk -l
shows all other partitions.

Not much familiar with fsck/e2fsck, yet like to give it a try.
Anyone who'd shed some light?

Thanks, all Linux People.
Old 04-04-2010, 11:32 AM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
This should take care of not being able to modify /etc/fstab:
mount -o remount,rw /
As for the RAID0 recovery, I guess it really depends on how you deleted it and what details you have about its construction, but I suspect, while I've never attempted this myself, there is a facility within mdadm to allow you to lay down the information again if you have all the specifics.

Hope this helps.

EDIT: If all you did was delete the partition, it may be as simple as recreating the partition with the same start and end cylinder and setting the partition type to: fd Linux raid auto

Last edited by rayfordj; 04-04-2010 at 11:35 AM.
1 members found this post helpful.
Old 04-05-2010, 06:30 AM   #3
LQ Newbie
Registered: Feb 2010
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Thanks, got back to the prompt using the command you mentioned. Nope, didn't keep any of the specifics just deleted from #fdisk /dev/sda, I guess 'mdadm' or 'fd Linux raid auto', gives some more insight, which I hope to check later on. But thanks again. for now.

#mount -o remount,rw /

Thanks, all Linux People.

Last edited by Zahir76; 04-05-2010 at 07:12 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
repair filesystem Liza Linux - Newbie 4 10-08-2007 02:58 AM
How to repair filesystem vivek8939 Linux - Newbie 1 08-03-2007 02:55 AM
filesystem repair Ammad Linux - General 1 09-13-2005 12:57 AM
Filesystem Repair borisys Linux - Newbie 3 06-24-2005 11:24 PM
How to Repair a Filesystem? CatLinuz Linux - Newbie 3 02-24-2004 02:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration