Skip to contentSkip to conversation

libxfs_initbuf can't memalign 4096 bytes: Cannot allocate memory

DISCUSSION Louis-David Mitterrand 3 participants 4 messages Aug 27, 2006 – Aug 28, 2006

lore
Share & tools
lore
#0 lore raw

Package: xfsprogs
Version: 2.8.11-1
Followup-For: Bug #382935

Hello,

Using xfs_repair on a 2TB partition I get:

Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- agno = 4
- agno = 5
- agno = 6
- agno = 7
- agno = 8
- agno = 9
- agno = 10
xfs_repair: libxfs_initbuf can't memalign 4096 bytes: Cannot allocate memory

-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (499, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-6-debian-styx
Locale: LANG=en_CA, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages xfsprogs depends on:

ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libreadline5                 5.1-7       GNU readline and history libraries
ii  libuuid1                     1.39-1      universally unique id library

xfsprogs recommends no packages.

-- no debconf information

#1 lore raw
Quoted 17 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Louis-David Mitterrand
Sent: Sunday, 27 August 2006 5:21 PM
To: [email protected]
Subject: libxfs_initbuf can't memalign 4096 bytes: Cannot allocate memory

Package: xfsprogs
Version: 2.8.11-1
Followup-For: Bug #382935

Hello,

Using xfs_repair on a 2TB partition I get:

[snip]

Quoted 2 lines

xfs_repair: libxfs_initbuf can't memalign 4096 bytes:
Cannot allocate memory

Can you tell me how many inodes you have on your filesystem?

#2 lore raw
Quoted 10 lines · Barry Naujok
Quoted 4 lines

Hello,

Using xfs_repair on a 2TB partition I get:

[snip]

Quoted 2 lines

xfs_repair: libxfs_initbuf can't memalign 4096 bytes:
Cannot allocate memory

Can you tell me how many inodes you have on your filesystem?

	sylla:~# xfs_info /dev/md1
	meta-data=/dev/root              isize=256    agcount=32, agsize=15252656 blks
			 =                       sectsz=4096  attr=0
	data     =                       bsize=4096   blocks=488084704, imaxpct=25
			 =                       sunit=16     swidth=80 blks, unwritten=1
	naming   =version 2              bsize=4096  
	log      =internal               bsize=4096   blocks=32768, version=2
			 =                       sectsz=4096  sunit=1 blks
	realtime =none                   extsz=327680 blocks=0, rtextents=0

Hmmm, no inode info here... How do I find it?

#3 lore raw
Quoted 21 lines · Louis-David Mitterrand
Quoted 10 lines · Barry Naujok
Quoted 4 lines

Hello,

Using xfs_repair on a 2TB partition I get:

[snip]

Quoted 2 lines

xfs_repair: libxfs_initbuf can't memalign 4096 bytes:
Cannot allocate memory

Can you tell me how many inodes you have on your filesystem?

	sylla:~# xfs_info /dev/md1
	meta-data=/dev/root              isize=256    agcount=32, agsize=15252656 blks
			 =                       sectsz=4096  attr=0
	data     =                       bsize=4096   blocks=488084704, imaxpct=25
			 =                       sunit=16     swidth=80 blks, unwritten=1
	naming   =version 2              bsize=4096  
	log      =internal               bsize=4096   blocks=32768, version=2
			 =                       sectsz=4096  sunit=1 blks
	realtime =none                   extsz=327680 blocks=0, rtextents=0
Quoted 1 line

Hmmm, no inode info here... How do I find it?

Ok, got it:

sylla:~# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/md1             895571792 7921236 887650556    1% /