[Top] [All Lists]

xfs_growfs: Cannot allocate memory on an online resize 60GB->120GB, 30+G

To: xfs@xxxxxxxxxxx
Subject: xfs_growfs: Cannot allocate memory on an online resize 60GB->120GB, 30+GB free RAM.
From: wolfwings@xxxxxxxxxxxx
Date: Sun, 24 Feb 2013 15:37:39 -0600
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=Opm69s1+gUShY7dy2kc/Gcz2yASRPbfsuO39DPKMnVc=; b=Xlhg4h/JFmKKkxNpNsJrHefjhRPfSHuH0xGeCxiTEjI4uqwCnJTouP2zwDVwkD7+rw PU/DzrOgrQnhp5zAJpnd5LgKZO1uuQ+JHwVQrrYNrnO5KOg1uhG6S1MH3oGluuXFN2dp RQn81ryH2yiTAcByHmCsEtpswYu3BJS0G3uy5m/I9WcVTCXtti0Sm2OL8LTbu5vQ7rVj 7uFTqISUH3VrFU8wkH2Khff2Dn5ePeVuUc5fcjiRvLoAluGkHvIocDk2abeQgFKVXDB5 4oa47r+QJ23MWw/7YZlUZ9jN0WNyiYQMcjPMyz/de+Av4/p/QDjLtYCCKtXHXw2l6yny kbdg==
Sender: wolfwings@xxxxxxxxx
Complete error message:

> xfs_growfs /
meta-data=/dev/sdc4              isize=256    agcount=4, agsize=5999616 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=23998464, imaxpct=25
         =                       sunit=512    swidth=512 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=11720, version=2
         =                       sectsz=512   sunit=8 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Cannot allocate memory

> gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdc: 468862128 sectors, 223.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): B9C5F617-E746-4356-ABC3-FBEDA055287C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 468862094
Partitions will be aligned on 2048-sector boundaries
Total free space is 84866157 sectors (40.5 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1023999   499.0 MiB   EF00  EFI system partition
   2         1024000         2047999   500.0 MiB   0C01  Microsoft reserved part
   3         2048000       127997951   60.1 GiB    0700  Basic data partition
   4       128000000       383999999   122.1 GiB   8300  Linux filesystem

> mount | grep " / "
rootfs on / type rootfs (rw)
/dev/sdc4 on / type xfs

> free
             total       used       free     shared    buffers     cached
Mem:      32722828     847340   31875488          0        664     355164
-/+ buffers/cache:     491512   32231316
Swap:            0          0          0

> df | egrep " /$"
rootfs          95946976 29250996  66695980  31% /
/dev/sdc4       95946976 29250996  66695980  31% /

I'm not in a rush to do this resize, I was deleting some other OSes
and growing my Linux install; I have plenty of filesystem space left
even now, so felt it better to report this so I could either
understand what I'm doing wrong and/or help troubleshoot a possible
bug this since it seems really strange to get an ENOMEM when I have...
well, 30+GB of memory free.

It's a ThinkPad W530 if that matters, I can dump further details if needed?

- Wolf

<Prev in Thread] Current Thread [Next in Thread>