Linux - Newbie This 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! |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-02-2007, 10:14 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 5
Rep:
|
no space left on device
Op System: REDHAT LINUX ENTERPRISE ES 5
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.
|
|
|
09-03-2007, 11:37 AM
|
#2
|
Member
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[567] x86_64, Ubuntu 17.10 x86_64
Posts: 221
Rep:
|
Hi cjupiter2,
If you don't get many responses here, track down the LVM mailing list and post your question there. That fclose error sounds like a low level issue that they may be better able to help with.
bgoodr
|
|
|
09-16-2007, 09:38 AM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Did you find an answer? -- If so, please post it here, it may help someone else.
Did you remember to resize the file system also?
Does anyone know how serious that error msg. is?
|
|
|
09-17-2007, 10:15 PM
|
#4
|
LQ Newbie
Registered: Sep 2007
Posts: 5
Original Poster
Rep:
|
resizing filesystem
I am trying to understand the whole resizing file system thing.
I am using LVM so i have been able to lvextend the volume / is mounted on.
Now i need to resize the filesystem. Do i do this by booting with a livedisk so i can unmount the filesystem before i resize it?
Anyhelp will be appreciated 
|
|
|
09-19-2007, 12:32 PM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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.
|
|
|
09-20-2007, 07:38 PM
|
#6
|
LQ Newbie
Registered: Sep 2007
Posts: 5
Original Poster
Rep:
|
Resize root on LVM
I have booted into Redhat with Parted Magic 1.8 LiveCD so that i can resize the filesystem after i have extended the volume.
When i got to resize the filesystem using resize2fs, the LVM volume cannot be found.
What could be the problem here?
ANy help is much much appreciated
|
|
|
All times are GMT -5. The time now is 02:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|