On Sun, Nov 19, 2006 at 11:38:09PM +0200, Rami Västilä wrote:
> Hi,
>
> I'm trying to grow my filesystem over 1TB on top of LVM, but
> unfortunatelly the whole filesystem just shuts down and comes
> unusable.
>
> xfs_growfs causes these error messages dumped into console when
> running it for bigger filesystem than 1TB (actually lvextend and
> 'xfs_growfs' commands was used to do the things...)
>
> >xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Input/output error
>
> >attempt to access beyond end of device
> >fe:00: rw=1, want=2137593089, limit=1086410752
You tried to grow past the end of the volume.
......
> ...after climbing between walls and jumping on my head, I was able to
> shrink it back under 1 TB barrier - 1023 GB in fact - and everything
> work just fine....;-)
>
> ---
>
> Here's some system info:
>
> # uname -a
> Linux sweetums 2.4.27-3-686-smp #1 SMP Thu Sep 14 07:44:00 UTC 2006
> i686 GNU/Linux
.....
> # vgdisplay
> --- Volume group ---
> VG Name lvmdisk
> System ID
> Format lvm2
> Metadata Areas 4
> Metadata Sequence No 22
> VG Access read/write
> VG Status resizable
> MAX LV 0
> Cur LV 1
> Open LV 1
> Max PV 0
> Cur PV 4
> Act PV 4
> VG Size 1.11 TB
> PE Size 4.00 MB
> Total PE 290885
> Alloc PE / Size 261899 / 1023.04 GB
> Free PE / Size 28986 / 113.23 GB
> VG UUID 8B6OW6-YOBj-Weit-LOUL-Rhzb-prO1-OQtEA0
So you have allocated 1023.04GB of your volume group. I assume
that's a single 1023GB logical volume that you have XFS on.
Hence if you want your XFS filesystem to be larger than 1023GB, then
you need to grow your logical volume to larger than 1023GB
first.....
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
|