LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-19-2009, 07:27 PM   #1
balajmohan
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
what is the procedure to replace a failed drive on Redhat running LVM2


Hi,
I am learning Linux and I am documenting procedures for troubleshooting for any disk related issues and I would like to know the procedure to replace a Failed hard drive running Redhat 5.1 running LVM2
Thanks in Advance
B
 
Old 11-19-2009, 07:39 PM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 207Reputation: 207Reputation: 207
http://www.novell.com/coolsolutions/appnote/19386.html
 
Old 11-19-2009, 08:34 PM   #3
balajmohan
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hi,
Thx for the Link!!! , I am following this document to test it in the LAB ,I pulled a drive from the server and edit the /etc/fstab file but the messages is that its a read-only file and it can't be modified.
What do I need to do?

Thanks
B
 
Old 11-20-2009, 01:00 AM   #4
sujit2106
LQ Newbie
 
Registered: Aug 2009
Posts: 7
Blog Entries: 3

Rep: Reputation: 0
Wink

Quote:
Originally Posted by balajmohan View Post
Hi,
Thx for the Link!!! , I am following this document to test it in the LAB ,I pulled a drive from the server and edit the /etc/fstab file but the messages is that its a read-only file and it can't be modified.
What do I need to do?

Thanks
B
you can modify this file.Please check file permission that should rw-r-r

Thanks
Sujit2106
 
Old 11-20-2009, 02:44 AM   #5
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Quote:
Originally Posted by balajmohan View Post
Hi,
Thx for the Link!!! , I am following this document to test it in the LAB ,I pulled a drive from the server and edit the /etc/fstab file but the messages is that its a read-only file and it can't be modified.
What do I need to do?

Thanks
B
You should have edited the /etc/fstab first and then pulled drive from server. Although there are ways to get out of your current situation I suggest you dont divulge into them - you'll definitely go off track from your LVM experimentation.
 
Old 11-20-2009, 09:07 AM   #6
balajmohan
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thx for the reply folks!, you will never know when you will fall into this kind of situation.
Yes,I checked the File permissions and it is rw-r-r- and still I can't modify the file
 
  


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
Removing a drive from LVM2 ... tomazN Linux - Software 5 10-14-2009 08:55 AM
Procedure and/or risks of running VirtualBox w/ a real HDD? MrCode Linux - General 3 10-04-2009 03:28 AM
Mounting LUKS encrypted drive from a failed pc: LVM2 error klearview Linux - Software 1 10-31-2008 03:34 AM
LXer: What is the procedure to resize an LVM2 logical volume and the ext2 or ext3 fil LXer Syndicated Linux News 0 07-17-2008 03:50 AM
Problems setting up lvm2 drive on ubuntu tomazN Linux - Hardware 0 10-13-2006 09:06 AM


All times are GMT -5. The time now is 12:35 AM.

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