System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to extend root file system under lvm safely?

 
Amit_Mohabanshi
Occasional Advisor

how to extend root file system under lvm safely?

Hi,

I want to extend size of my root  file system in lvm. is it require to unmount file system or run e2fsck in this procedure. please

give me step by step procedure.

 

Thanks

Amit

2 REPLIES
Amit_Mohabanshi
Occasional Advisor

Re: how to extend root file system under lvm safely?

Hi,
After I extended logical volume for / file system it was not showing me increased space in df output. I rebooted the to make changes affect. but after reboot it asked me to run fsck manually.. could anyone please tell me why this is happening?
Patrick Wallek
Honored Contributor

Re: how to extend root file system under lvm safely?

Did you extend the file system after you extended the logical volume?  If not, that's probably the problem. 

 

See this link for a good basic tutorial:

 

http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html