linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] xfs_growfs after lvextend don't increase mounted size.
@ 2006-11-01 22:42 Per Mellander
  0 siblings, 0 replies; only message in thread
From: Per Mellander @ 2006-11-01 22:42 UTC (permalink / raw)
  To: linux-lvm

Hi!

I've got a 6.5TB xfs filesystem on a LVM2 volume. I wanted to increase
the size of the fs so I added another ~10TB to the volume. Every step
taken was successfull, (ie no errors) but the filesystem size remained
unchanged even after the xfs_growfs.

What I did was the following:

I extended the lvm using pvcreate, vgextend and finally lvextend. pvscan
gives:

   PV /dev/sda1   VG vg01   lvm2 [1.59 TB / 0    free]
   PV /dev/sdb1   VG vg01   lvm2 [1.59 TB / 0    free]
   PV /dev/sdc1   VG vg01   lvm2 [1.59 TB / 0    free]
   PV /dev/sdd1   VG vg01   lvm2 [1.59 TB / 0    free]
   PV /dev/sde1   VG vg01   lvm2 [2.00 TB / 0    free]
   PV /dev/sdf1   VG vg01   lvm2 [2.00 TB / 0    free]
   PV /dev/sdg1   VG vg01   lvm2 [2.00 TB / 0    free]
   PV /dev/sdh1   VG vg01   lvm2 [2.00 TB / 0    free]
   PV /dev/sdi1   VG vg01   lvm2 [1.55 TB / 0    free]
   Total: 9 [15.91 TB] / in use: 9 [15.91 TB] / in no VG: 0 [0   ]

and lvdisplay:

   --- Logical volume ---
   LV Name                /dev/vg01/lv01
   VG Name                vg01
   LV UUID                rDSEQ3-DdhV-oLci-nNYT-dMdX-cppA-7v1r3e
   LV Write Access        read/write
   LV Status              available
   # open                 1
   LV Size                15.91 TB
   Current LE             4169996
   Segments               9
   Allocation             inherit
   Read ahead sectors     0
   Block device           253:0

After xfs_growfs /vol1 ( mounted fs ) df -h gives:

/dev/mapper/vg01-lv01
                       6.4T  6.4T   36G 100% /vol1

The fs remains in previous size!!

# cat /sys/block/dm-0/size
34160607232

which is equal to 15.91 TB

Have I missed something when I extended the volume / growed the xfs fs?

The system running xfs is a Fedora Core 4, 2.6.15-1.1831_FC4smp,
lvm2-2.01.08-2.1, xfsprogs-2.6.13-4

Per

_________________________________
This email has been ClamScanned !
          www.clamav.net

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-01 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01 22:42 [linux-lvm] xfs_growfs after lvextend don't increase mounted size Per Mellander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).