Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This issue has come up when i tried to extend the /tmp volume using lvm.
lvm> lvextend -L5GB /dev/VolGroup_ID_21853/LogVol2
Extending logical volume LogVol2 to 5GB
/etc/lvm/backup/VolGroup_ID_21853.tmp:fclose failed:No space left on device
Backup of volume group VolGroup_ID_21853 metadata failed
Logical Volume LogVol2 successfully resized.
So according to lvdisplay the logical volume has been resized. But when i browse to the /tmp folder, right click and check properties, the available space has not changed as if the volume was never resized. Has this got something to do with the 'no space left on device' error?
Is the error telling me i have no space left on /etc/ ? Can i confirm this? And if this is the case how can i resize /etc/ so it has more space.
Sorry I don't do enough LVM yet to have detailed good answers.
AFAIK, from conversations w/ folk who do LVM routinely, you must resize both. Although there is no mention of this in man:/resize2fs, I assume that the target FS must not be mounted. If it's '/', then I would guess a live CD would be a good way.
Sometimes I think of it as a balloon contained in a box: making the box bigger is necessary, but not enough -- you still have to inflate the balloon to the new box size.