[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] filesystem does not reflect new LV size



I must be doing something wrong on my Red Hat 7.3 system with a stock
2.4.18-4 kernel.

I created a logical volume on one physical disk, /dev/hde1, added it to
a (new) volume group, and I mounted it. No problems so far.

  # df /dev/ds/lvol1
  Filesystem           1k-blocks      Used Available Use% Mounted on
  /dev/ds/lvol1        156882796  90418200  58495420  61% /mnt/ds

I then created another physical volume on another physical drive

  # pvcreate /dev/hda1

and then extended my volume group with the new physical volume

  # vgextend ds /dev/hda1

Then I extended the logical volume to it's maximum size on both physical
volumes.

  # lvextend -l +168   /dev/ds/lvol1 /dev/hde1
  # lvextend -l +14308 /dev/ds/lvol1 /dev/hda1

I don't see any errors when I query the volume group (appended below).
But I can't get the mounted file system to recognize the new size.

  # df /dev/ds/lvol1
  Filesystem           1k-blocks      Used Available Use% Mounted on
  /dev/ds/lvol1        156882796  90418200  58495420  61% /mnt/ds

I've dismounted /dev/ds/lvol1 and remounted it. Still no change.

What am I missing?

Thanks.

--- Vladimir

--------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         vladimir acm org
Palo Alto, CA 94306-2447                                 +1 650 678 8014

--------
# vgdisplay -v
--- Volume group ---
VG Name               ds
VG Access             read/write
VG Status             available/resizable
VG #                  0
MAX LV                256
Cur LV                1
Open LV               1
MAX LV Size           255.99 GB
Max PV                256
Cur PV                2
Act PV                2
VG Size               208.55 GB
PE Size               4 MB
Total PE              53388
Alloc PE / Size       53388 / 208.55 GB
Free  PE / Size       0 / 0
VG UUID               uYpJV8-FqdY-n7sW-il1A-v8Np-dvhk-yDCuPp

--- Logical volume ---
LV Name                /dev/ds/lvol1
VG Name                ds
LV Write Access        read/write
LV Status              available
LV #                   1
# open                 1
LV Size                208.55 GB
Current LE             53388
Allocated LE           53388
Allocation             next free
Read ahead sectors     1024
Block device           58:0


--- Physical volumes ---
PV Name (#)           /dev/hde1 (1)
PV Status             available / allocatable
Total PE / Free PE    39080 / 0

PV Name (#)           /dev/hda1 (2)
PV Status             available / allocatable
Total PE / Free PE    14308 / 0



_______________________________________________
Valhalla-list mailing list
Valhalla-list redhat com
https://listman.redhat.com/mailman/listinfo/valhalla-list



--- Vladimir

--------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         vladimir acm org
Palo Alto, CA 94306-2447                                 +1 650 678 8014



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]