jlc Posted May 9, 2004 Report Share Posted May 9, 2004 I've installing quite a bit of software into /usr lately and just noticed i was running out of space. justin@neo justin $ df -h Filesystem Size Used Avail Use% Mounted on /dev/hda3 2.1G 213M 1.8G 11% / /dev/vg/usr 10G 9.6G 467M 96% /usr /dev/vg/home 35G 27G 8.8G 76% /home /dev/vg/opt 5.0G 2.2G 2.9G 43% /opt /dev/vg/var 5.0G 304M 4.7G 6% /var /dev/vg/tmp 2.0G 356K 2.0G 1% /tmp none 378M 0 378M 0% /dev/shm /dev/sda2 14G 5.3G 8.7G 39% /mnt/ipod Never fear, lvm2 w/ xfs to the rescue. # lvextend -L15G /dev/vg/usr # xfs_growfs /usr justin@neo justin $ df -h Filesystem Size Used Avail Use% Mounted on /dev/hda3 2.1G 213M 1.8G 11% / /dev/vg/usr 15G 9.6G 5.5G 64% /usr /dev/vg/home 35G 27G 8.8G 76% /home /dev/vg/opt 5.0G 2.2G 2.9G 43% /opt /dev/vg/var 5.0G 304M 4.7G 6% /var /dev/vg/tmp 2.0G 336K 2.0G 1% /tmp none 378M 0 378M 0% /dev/shm /dev/sda2 14G 5.3G 8.7G 39% /mnt/ipod All while she was mounted and emergeing stuff! ;) No point to this post other than lvm is just good stuff. B) Edit: moved from Everything Linux by spinynorman Quote Link to comment Share on other sites More sharing options...
Michel Posted May 10, 2004 Report Share Posted May 10, 2004 Nice to ehar about this. I want to try it out myself, but I'll need to have ome time and search how to set it up. Quote Link to comment Share on other sites More sharing options...
jdion81 Posted May 15, 2004 Report Share Posted May 15, 2004 OK but where did the extra 5 gig come from? Quote Link to comment Share on other sites More sharing options...
jlc Posted May 15, 2004 Author Report Share Posted May 15, 2004 (edited) I have a 200 gb drive, 100 of it is slated for lvm and the rest just sits there and i can pull it into lvm or use it for regular partions or other distros. One of my other systems has 4 36gb scis drives and I currently have two of them under lvm and the others aren't used, but I can bring them into my volume group if i want to add dir or expand the ones i have. Edited May 15, 2004 by cybrjackle 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.
Note: Your post will require moderator approval before it will be visible.