extending file system
Hello:
We have Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux system. We are using NetApp for storage. We wanted to extend a file system from 200G to 300G. We extended the volume and the LUN but the file system is still not showing the new size when I do df -k. What are we missing? Thanks for your help. Bhupinder |
You need to increase the size of the partition as well. Depending on the distribution the default tools to do this via a gui will be different. Command line I'm not as good with as I should be so try looking up the man pages of mkfs.
|
Thanks. I will give it a try.
|
Quote:
Show the output of the following commands... Code:
df -h /volume |
[oracle@dexerpdbp1 today]$ df -h /dev/sdf
Filesystem Size Used Avail Use% Mounted on /dev/sdf 197G 184G 3.7G 99% /ebsprod/oradata/data01 [root@dexerpdbp1 ~]# fdisk -l|grep sdf Disk /dev/sdd doesn't contain a valid partition table Disk /dev/sde doesn't contain a valid partition table Disk /dev/sdf doesn't contain a valid partition table Disk /dev/sdg doesn't contain a valid partition table Disk /dev/sdi doesn't contain a valid partition table Disk /dev/sdj doesn't contain a valid partition table Disk /dev/sdk doesn't contain a valid partition table Disk /dev/sdl doesn't contain a valid partition table Disk /dev/sdn doesn't contain a valid partition table Disk /dev/sdo doesn't contain a valid partition table Disk /dev/sdp doesn't contain a valid partition table Disk /dev/sdq doesn't contain a valid partition table Disk /dev/sds doesn't contain a valid partition table Disk /dev/sdt doesn't contain a valid partition table Disk /dev/sdu doesn't contain a valid partition table Disk /dev/sdv doesn't contain a valid partition table Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2 doesn't contain a valid partition table Disk /dev/sdf: 214.7 GB, 214748364800 bytes [root@dexerpdbp1 ~]# pvs PV VG Fmt Attr PSize PFree /dev/dm-2 VolGroup00 lvm2 a- 29.88G 5.97G [root@dexerpdbp1 ~]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert LogVol00 VolGroup00 -wi-ao 7.50G LogVol01 VolGroup00 -wi-ao 16.41G [root@dexerpdbp1 ~]# vgs VG #PV #LV #SN Attr VSize VFree VolGroup00 1 2 0 wz--n- 29.88G 5.97G |
Unassigned is just "tag" name, but that does't mean that is the free
space. You just run mount command and compare with your slices displayed below. Is all slices displayed below are mounted or not, if not mount and use. |
Quote:
|
b11singh:
Here is a good 9-page document on LVM that includes enlarging and shrinking volumes: http://www.howtoforge.com/linux_lvm |
All times are GMT -5. The time now is 05:14 AM. |