niels Posted November 3, 2010 Share Posted November 3, 2010 Hey I'm using LVM to manage my storage on my linux server. Now I update my root folder to the size of 72 GB. Before the size op my root folder 24 GB. Now the problem is that my file system is complaining that my disk is full but I know and I'm 100% sure that that isn't the case. Is there a way to get ride of this problem ? Must I do an update of some kind ? This is an print out of lvdisplay command : --- Logical volume --- LV Name /dev/Niels-Home-Server/root VG Name Niels-Home-Server LV UUID 1dMhCC-4RMm-YiQM-ZFS4-g2uf-7Xc0-Tkc9nC LV Write Access read/write LV Status available # open 1 LV Size 72.27 GiB Current LE 18502 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:0 --- Logical volume --- LV Name /dev/Niels-Home-Server/swap_1 VG Name Niels-Home-Server LV UUID jzuE4H-jwwG-j9GY-SGFi-LNCI-mNlF-GfGaFO LV Write Access read/write LV Status available # open 1 LV Size 1.00 GiB Current LE 257 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:1 --- Logical volume --- LV Name /dev/Niels-Home-Server/download_lg VG Name Niels-Home-Server LV UUID aqIZjg-lZOw-V0T7-yV9I-fL3z-n3bB-384aFe LV Write Access read/write LV Status available # open 1 LV Size 295.31 GiB Current LE 75600 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:2 Is there anybody who can help me ? Thanks in advance Niels Quote Link to comment Share on other sites More sharing options...
Sparda Posted November 3, 2010 Share Posted November 3, 2010 What does 'df -h' say? Quote Link to comment Share on other sites More sharing options...
niels Posted November 3, 2010 Author Share Posted November 3, 2010 (edited) Filesystem Size Used Avail Use% Mounted on /dev/mapper/Niels--Home--Server-root 22G 21G 277M 99% / none 495M 252K 495M 1% /dev none 500M 1.5M 498M 1% /dev/shm none 500M 92K 500M 1% /var/run none 500M 0 500M 0% /var/lock none 500M 0 500M 0% /lib/init/rw /dev/sda1 228M 66M 150M 31% /boot /dev/mapper/Niels--Home--Server-download_lg 193G 42G 151G 22% /download_lv Thanks for the quick response as you can see is saying there is only 22G available Edited November 3, 2010 by niels Quote Link to comment Share on other sites More sharing options...
niels Posted November 4, 2010 Author Share Posted November 4, 2010 I found the solution, after extending the lvm I had to extend the size of the filesystem. The next command solved it : resize2fs /dev/Niels-Home-Server/root [sOLVED] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.