LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-02-2009, 10:27 PM   #1
mvb187
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Rebuilt RAID array with old mount points present; file system check fails on boot...


Hi everyone,
Hopefully this is an easy one to fix. I have one hard disk for my root partition and a disk array on a separate mount point. I rebuilt my disk array, but I didn't delete my original mount points beforehand because I was hoping it would just "pick up". So now when I boot up, the OS tells me that the filesytem check fails because it can't find the array to map to the mount point.
I know that I need to edit my /etc/fstab and remove the line that defines my mount point on the disk array. But it appears to be read only filesystem when I am in repair mode. I can't force the write with vi.

What is the proper way to fix this? I tried booting into Knoppix and hoped to be able to edit the fstab file that way, but can't find the original copy, only the Knoppix version of the fstab file....

RedHat Ent Linux 5.4
 
Old 12-03-2009, 07:17 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

boot from a rescue cd, mount your / filesystem to somewhere like this
Code:
mount -t ext3 /dev/hda1 /mnt
,note you have to change the partition name (hda1) to fit your needs, edit /etc/fstab, reboot That's all.

Last edited by mesiol; 12-03-2009 at 07:19 AM. Reason: more explaination
 
1 members found this post helpful.
Old 12-03-2009, 11:56 AM   #3
mvb187
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
where did my device go?

Awesome! thanks, that was easy. But now I am not sure how to redefine my mount points. Here is what my original fstab looks like. The part that is confusing me is the "LABEL=" part. I have used Linux in the past, but this seems new. I thought this should have the device, but what is this LABEL referring to?

[root@hqpsirdb ~]# more /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
#LABEL=/data /data ext3 defaults 1 2
#LABEL=/backup /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0

My goal is to have both /data and /backup on the disk array as two separate partitions.

My device is not listed either for my disk array. It should be something like /dev/cciss/c0d1p1, but I don't see it. How do I create that? I originally did this all through installation. I went into the LVM, but it didn't see anything new...
 
Old 12-04-2009, 08:38 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

filesystem labels are used to prevent users from knowing device names.

To get a label from a device use:
Code:
e2label $DEVICENAME
e.g.
Code:
e2label /dev/cciss/c0d1p1
 
  


Reply


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
Issues with Fedora, cannot boot. File system check fails, no shell starts. Mamsaac Linux - General 8 10-20-2009 01:27 AM
what partitions(mount points) can you reuse in a multiple boot linux system? scottk88 Linux - General 5 08-01-2005 11:49 AM
File-system check on boot fails-- ALSA hang vivalinux Mandriva 6 11-25-2003 08:24 AM
Mount Points In File System pankajtakawale Linux - Newbie 2 10-08-2003 10:27 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM


All times are GMT -5. The time now is 12:17 PM.

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