LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   what is the procedure to replace a failed drive on Redhat running LVM2 (https://www.linuxquestions.org/questions/linux-server-73/what-is-the-procedure-to-replace-a-failed-drive-on-redhat-running-lvm2-770332/)

balajmohan 11-19-2009 07:27 PM

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

jhwilliams 11-19-2009 07:39 PM

http://www.novell.com/coolsolutions/appnote/19386.html

balajmohan 11-19-2009 08:34 PM

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

sujit2106 11-20-2009 01:00 AM

Quote:

Originally Posted by balajmohan (Post 3763369)
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

chiragrk 11-20-2009 02:44 AM

Quote:

Originally Posted by balajmohan (Post 3763369)
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.

balajmohan 11-20-2009 09:07 AM

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


All times are GMT -5. The time now is 10:54 PM.