Microsoft
Software
Hardware
Network
Question : Increase Filesystem Size of RHEL 5
What is the best command to use to increase the size of my "/" filesystem? I would like to increase this by at least 5gb. I know I have at least 9gb of unused space on the disk. Below is my lvm and df.
Last login: Fri May 7 12:59:05 2010
[root@RHEL01 ~]# lvm vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 66.84 GB
PE Size 32.00 MB
Total PE 2139
Alloc PE / Size 1834 / 57.31 GB
Free PE / Size 305 / 9.53 GB
VG UUID VwKiiz-XKX1-b2iA-X7dc-TkK9
-EijI-VcMs
Kh
[root@RHEL01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-Log
Vol00
48G 31G 15G 69% /
/dev/sda1 190M 13M 168M 8% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm
[root@RHEL01 ~]#
Answer : Increase Filesystem Size of RHEL 5
no reboot needed:
(resize to add additional 3GB)
- lvresize -L+3G /dev/mapper/VolGroup00-Log
Vol00
- resize2fs /dev/mapper/VolGroup00-Log
Vol00 (for ext234-FS)
- xfs_growfs / (for xfs filesystem)
Random Solutions
64-bit IE8 needs an Adobe Flash Player?
Cut a string in pieces of a given length
Reformat: Upgraded Windows 7 from Upgraded Windows Vista
Transparent Form (Only) in C#
stored procedure
How do I create an MS-DOS startup disk in XP
outlook 2007 keeps faulting in module msoert2.dll
XP PC will not join the domain
Callback function in class
Mssql: Need help on this insert statement - I am entering two 2 rows instead of One 1