/ filesystem getting full

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat / filesystem getting full
# 1  
Old 03-31-2009
/ filesystem getting full

Hi All,

How do I increase the root filesystem? It's getting full.

/ 90%

Here's the break down, below

232 dev
5624 tmp
*6764 bin
16860 root
*19680 sbin
*20436 lib64
28329 boot
*47992 etc
150012 var
*254540 lib
651708 home
*2445044 usr
*5032560 opt
*6335463 proc

The one with * is on the / filesystem, the rest are already in other filesystem/partition.

The partition still have free space, 7G. On that scenario above, can I increase the / FS on single user mode? If not, how?

No more to delete on the files.

Please help. Thanks.
# 2  
Old 03-31-2009
Are you using volume groups?

Code:
# vgdisplay

what does "Free PE / Size" say?

then you can use vgextend to extend your volume group then extend your filesystem.
# 3  
Old 04-01-2009
Yes, the free space 7G. Can I extend vg and extend fs on the fly? Meaning no downtime. By the way, this is root fs.
# 4  
Old 04-01-2009
Here is what I just did on mine as a test. I only expanded mine 10megs, buit I didnt need to do it anyway. Without rebooting.

Code:
 # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/RootVG-root
                      992M  342M  600M  37% /


 # lvextend -L +10M /dev/RootVG/root
  Rounding up size to full physical extent 32.00 MB
  Extending logical volume root to 1.03 GB
  Logical volume root successfully resized



 # resize2fs /dev/RootVG/root
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/RootVG/root is mounted on /; on-line resizing required
Performing an on-line resize of /dev/RootVG/root to 270336 (4k) blocks.
The filesystem on /dev/RootVG/root is now 270336 blocks long.



Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/RootVG-root
                     1020M  342M  626M  36% /

# 5  
Old 04-02-2009
What version are you using, I'm using redhat as 4, it didn't work.

I use my virtual first:

[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
6.8G 1.9G 4.6G 29% /


[root@localhost ~]# lvextend -L +10M /dev/VolGroup00/LogVol00
/dev/cdrom: open failed: Read-only file system
Rounding up size to full physical extent 32.00 MB
Extending logical volume LogVol00 to 6.88 GB
Logical volume LogVol00 successfully resized

[root@localhost ~]# resize2fs /dev/VolGroup00/LogVol00
resize2fs 1.35 (28-Feb-2004)
/dev/VolGroup00/LogVol00 is mounted; can't resize a mounted filesystem!
# 6  
Old 04-02-2009
You can use

ext2online -v /dev/VolGroup00/LogVol00

instead of "resize2fs /dev/VolGroup00/LogVol00", to extend an online / fs

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Livedump filesystem almost full

Guy's I'm getting this message Livedump filesystem almost full in errpt logs and its meanning this file system /var/adm/ras/livedump /var has more than 1.5 GB free space .. why I'm getting that message and .. Pls advice to to avoide it ---------- Post updated 03-21-11 at 01:39 AM... (1 Reply)
Discussion started by: Mr.AIX
1 Replies

2. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

3. AIX

What is the cause of USR filesystem full

we are using aix 5.3 and we notice that the filesystem /usr is almost full. we have an oracle database running on the server.what are the cause why this filesystem is almost full.what should we do to free some space on this filesystem beside increase the size?thanks (4 Replies)
Discussion started by: paulexis
4 Replies

4. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

5. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

6. Solaris

The filesystem is still full - Solaris 10!

Good morning, sir! I've a problem with FileSystem, the problem is FileSystem is full First time, I've already read carefully the sticky thread FileSystem full - What to lock for https://www.unix.com/sun-solaris/25840-filesystem-full-what-look.html And then, I will post some information of... (4 Replies)
Discussion started by: trantuananh24hg
4 Replies

7. HP-UX

vxfs filesystem full!

Dear all, What should I do with the following error message: vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block extent) Thanks for your advises, (1 Reply)
Discussion started by: hungevntelecom
1 Replies

8. UNIX for Dummies Questions & Answers

/tmp filesystem full

I am running AIX 3 4. When I do a df I get: Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 10232 69% 1309 16% / /dev/hd2 917504 86360 91% 19744 18% /usr /dev/hd9var 131072 67712 49% 617 ... (11 Replies)
Discussion started by: szodiac
11 Replies

9. UNIX for Dummies Questions & Answers

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question