/ filesystem getting full
How do I increase the root filesystem? It's getting full.
Here's the break down, below
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.
Are you using volume groups?
then you can use vgextend to extend your volume group then extend your filesystem.
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.
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.
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
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!
You can use
ext2online -v /dev/VolGroup00/LogVol00
instead of "resize2fs /dev/VolGroup00/LogVol00", to extend an online / fs
|All times are GMT -4. The time now is 05:48 AM.|
Linux and Unix Supported by: vBulletin
Search Engine Optimisation provided by DragonByte SEO v1.1.4 (Pro) - vBulletin Mods & Addons Copyright © 2015 DragonByte Technologies Ltd.
Unix & Linux Forums Content Copyright ©1993-2015. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums