[wplug] Ext3 filesystem errors with RAID 1 USB drives

Max Putas maxblaze at gmail.com
Sun Feb 27 09:57:37 EST 2011


I've been using BackupPC with with two 1TB USB HDs that are configured
with software RAID 1 for a couple years now. The array works great for
a while after a full fsck, then I start to get filesystem errors (some
examples are below) after a few full backups. I've had this system on
various PCs and Linux distros, so I don't think it's hardware or
kernel dependent--unless the drives themselves are the culprits. I
recently upgraded to Debian 6.0 (Squeeze) and thought about upgrading
to Ext4. Do you think it would cut down on the corruption? My best
guess so far is that there are bad writes when the USB interfaces
hiccup every once in a while:

[383415.112101] usb 1-4: reset high speed USB device using ehci_hcd
and address 3

FS errors:
--------------------
[1601863.389701] init_special_inode: bogus i_mode (174771) for inode
dm-0:45777888  (Hundreds of this message)
[1596380.877215] EXT3-fs error (device dm-0): htree_dirblock_to_tree:
bad entry in directory #13074636: rec_len % 4 != 0 - offset=0,
inode=2242678265, rec_len=34181, name_len=133  (This one quite often)
[   22.040754] dm-0: rw=0, want=22098027816, limit=1953513472 (Couple
dozen of these errors)
[   21.718752] init_special_inode: bogus i_mode (31463) for inode
dm-0:45385118 (Couple of these)
--------------------

-- 
Thanks,

Max Putas


More information about the wplug mailing list