xfsdump: WARNING: could not get list of attributes for dir ino XXX: Cannot allocate memory (12)
Issue
Command
# xfsdump -L cf1 -M nas99d - /mnt/snapshot/clientfiles1 2>xfs-cf1-snap.err
| ssh 10.67.152.46 "xfsrestore -L cf1 - /xfs/hostname1/ifs/production/ClientFiles1/"
The filesystem being dumped is 40TB.
When I view the file xfs-cf1-snap (stderr redirect) I see a lot of WARNINGS:
xfsdump: WARNING: could not get list of non-root attributes for dir ino 54161587869: Cannot allocate memory (12)
xfsdump: WARNING: could not get list of root attributes for dir ino 54338165092: Cannot allocate memory (12)
xfsdump: WARNING: could not get list of non-root attributes for dir ino 54342325593: Cannot allocate memory (12)
xfsdump: WARNING: could not get list of non-root attributes for dir ino 54433777130: Cannot allocate memory (12)
xfsdump: WARNING: could not get list of non-root attributes for dir ino 55843070863: Cannot allocate memory (12)
xfsdump: WARNING: could not get list of non-root attributes for dir ino 55859222731: Cannot allocate memory (12)
There are also a lot of Call Traces in /var/log/messages:
Sep 17 14:27:52 hostname1 kernel: xfsdump: page allocation failure. order:4, mode:0xd0
Sep 17 14:27:52 hostname1 kernel: Pid: 15289, comm: xfsdump Tainted: G W ---------------- T 2.6.32-220.el6.x86_64 #1
Sep 17 14:27:52 hostname1 kernel: Call Trace:
Sep 17 14:27:52 hostname1 kernel: [<ffffffff81123f0f>] ? __alloc_pages_nodemask+0x77f/0x940
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8115ddc2>] ? kmem_getpages+0x62/0x170
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8115e9da>] ? fallback_alloc+0x1ba/0x270
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8115e42f>] ? cache_grow+0x2cf/0x320
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8115e759>] ? ____cache_alloc_node+0x99/0x160
Sep 17 14:27:52 hostname1 kernel: [<ffffffffa044fc55>] ? xfs_attrlist_by_handle+0xb5/0x120 [xfs]
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8115f389>] ? __kmalloc+0x189/0x220
Sep 17 14:27:52 hostname1 kernel: [<ffffffffa044fc55>] ? xfs_attrlist_by_handle+0xb5/0x120 [xfs]
Sep 17 14:27:52 hostname1 kernel: [<ffffffffa0450bfb>] ? xfs_file_ioctl+0x69b/0x8c0 [xfs]
Sep 17 14:27:52 hostname1 kernel: [<ffffffff8109694f>] ? up+0x2f/0x50
Sep 17 14:27:52 hostname1 kernel: [<ffffffffa0441e2b>] ? xfs_trans_brelse+0xdb/0x150 [xfs]
Sep 17 14:27:52 hostname1 kernel: [<ffffffffa041458b>] ? xfs_da_brelse+0x7b/0xc0 [xfs]
Sep 17 14:27:53 hostname1 kernel: [<ffffffff8118a39f>] ? filldir64+0x8f/0xe0
Sep 17 14:27:53 hostname1 kernel: [<ffffffffa04203a5>] ? xfs_dir2_sf_getdents+0x1b5/0x3a0 [xfs]
Sep 17 14:27:53 hostname1 kernel: [<ffffffff8118a310>] ? filldir64+0x0/0xe0
Sep 17 14:27:53 hostname1 kernel: [<ffffffff81189342>] ? vfs_ioctl+0x22/0xa0
Sep 17 14:27:53 hostname1 kernel: [<ffffffffa0418261>] ? xfs_readdir+0xe1/0x130 [xfs]
Sep 17 14:27:53 hostname1 kernel: [<ffffffff811894e4>] ? do_vfs_ioctl+0x84/0x580
Sep 17 14:27:53 hostname1 kernel: [<ffffffff8118a310>] ? filldir64+0x0/0xe0
Sep 17 14:27:53 hostname1 kernel: [<ffffffff8118a652>] ? vfs_readdir+0xa2/0xe0
Sep 17 14:27:53 hostname1 kernel: [<ffffffff81189a61>] ? sys_ioctl+0x81/0xa0
Sep 17 14:27:53 hostname1 kernel: [<ffffffff8100b0f2>] ? system_call_fastpath+0x16/0x1b
Environment
- Red Hat Enterprise Linux 6.2
- kernels prior to kernel-2.6.32-419.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
