lucid ext4 make_indexed_dir: invalid rec_len for '..' in inode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I upgraded /backup on my lucid amd64 desktop machine to ext4 yesterday according to http://
It passed the fsck and was working ok, but while making a backup today I got an IO error and this message in dmesg:
Feb 25 17:45:37 grace kernel: [37152.894557] EXT4-fs error (device dm-4): make_indexed_dir: invalid rec_len for '..' in inode 2933963
I unmounted it and ran fsck, which shows many messages like
grace% sudo nice fsck -Cfv /dev/vg_main/backup
fsck from util-linux-ng 2.17
e2fsck 1.41.10 (10-Feb-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
First entry '%45ncoding%
Fix<y>? yes
Setting filetype for entry '.' in /grace/
Missing '..' in directory inode 131130.
Fix<y>? yes
Setting filetype for entry '..' in /grace/
Entry '..' in /grace/
Fix<y>? yes
Entry '.' in /grace/
First entry '%52%45%
Fix<y>? yes
Setting filetype for entry '.' in /grace/
Missing '..' in directory inode 131139.
Fix<y>? yes
... and on and on.
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 1: U0x41e0x30d3 [USB Device 0x41e:0x30d3], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 1: U0x41e0x30d3 [USB Device 0x41e:0x30d3], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0p: mbp 3010 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card1.Amixer.info:
Card hw:1 'U0x41e0x30d3'/'USB Device 0x41e:0x30d3 at usb-0000:
Mixer name : 'USB Mixer'
Components : 'USB041e:30d3'
Controls : 7
Simple ctrls : 3
Date: Thu Feb 25 20:34:52 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
Frequency: Once a day.
HibernationDevice: RESUME=
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. 965P-DS3
NonfreeKernelMo
Package: linux-image-
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_AU.utf8
SHELL=/bin/zsh
ProcVersionSign
Regression: Yes
RelatedPackageV
Reproducible: No
RfKill:
SourcePackage: linux
TestedUpstream: No
Uname: Linux 2.6.32-14-generic x86_64
WpaSupplicantLog:
dmi.bios.date: 01/12/2007
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F10
dmi.board.name: 965P-DS3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: 965P-DS3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
So the exact commands from my .bash_history were
df -h vg_main- backup |less uninit_ bg,dir_ index /dev/vg_main/backup vg_main- lucid_64 |less
vi /etc/fstab
df -h
tune2fs -l /dev/mapper/
mount
cd /
umount /backup
df -h /backup
umount /backup
umount /backup
tune2fs -O extents,
fsck -pDf /dev/vg_main/backup
fsck -Df /dev/vg_main/backup
fsck -CDf /dev/vg_main/backup
man fsck
man e2fsck
mount
vi /etc/fstab
mount
tune2fs -l /dev/mapper/
reboot