LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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



Reply
 
Search this Thread
Old 09-02-2007, 11:14 PM   #1
cjupiter2
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
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.
 
Old 09-03-2007, 12:37 PM   #2
bgoodr
Member
 
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[45] {x86,x86_64}, Debian "testing" {x86,x86_64}
Posts: 219

Rep: Reputation: 36
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
 
Old 09-16-2007, 10:38 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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?
 
Old 09-17-2007, 11:15 PM   #4
cjupiter2
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 09-19-2007, 01:32 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 09-20-2007, 08:38 PM   #6
cjupiter2
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Question 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No space left on device zmsc1 Linux From Scratch 7 03-28-2009 11:57 PM
No space left on device even though it has free space? enine Linux - General 8 05-30-2007 05:22 PM
No space left on the device........ raklo Linux - Hardware 3 10-06-2006 09:23 AM
No space left on device xfgao Red Hat 27 01-13-2005 05:06 PM
No space left on the device ashwinipahuja Programming 1 06-24-2004 01:05 AM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration