Package: kernel-image-2.6.8-2-386
Severity: critical
Justification: causes serious data loss


Szenario:
    While copying some GBs to the filesystem under heavy load the filesystem
    gets corrupted.

    The SMART Status of all disks is "passed", they are all new. The hardware
    components of the server should work fine too, used this server (cpu,
    motherboard, etc) before, just exchanged the harddisks.
            
Error Message:
    Oct 27 23:36:34 localhost kernel: init_special_inode: bogus i_mode (4152)
    Oct 27 23:36:34 localhost kernel: init_special_inode: bogus i_mode (117230)
    Oct 27 23:36:45 localhost kernel: attempt to access beyond end of device
    Oct 27 23:36:45 localhost kernel: dm-0: rw=0, want=20177444552, 
limit=962598144
    (last 2 lines repeating nonstop)

Versions:
    - Unmodified Debian Sarge Kernel 2.6.8-2-386
    - Debian Sarge utils last updated 27.10.05

Filesystem Layout:
    - ext2 (was ext3, but removed the journal with tune2fs)
        on top of
    - dmcrypt (aes-plain)       /dev/mapper/croot
        on top of
    - RAID5                     /dev/md2
        on top of
    - 4x 160GB IDE              /dev/hd[abcd]3

blacksheep:~# fdisk -l /dev/hd[abcd]
Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   fd  Linux raid autodetect
/dev/hda2              14          50      297202+  fd  Linux raid autodetect
/dev/hda3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdb2              14          50      297202+  fd  Linux raid autodetect
/dev/hdb3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdc: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdc2              14          50      297202+  fd  Linux raid autodetect
/dev/hdc3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdd: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdd2              14          50      297202+  fd  Linux raid autodetect
/dev/hdd3              51       20023   160433122+  fd  Linux raid autodetect

blacksheep:~# cat /proc/mdstat
Personalities : [raid1] [raid5]
md0 : active raid1 hdd1[3] hda1[0] hdc1[2] hdb1[1]
      104320 blocks [4/4] [UUUU]

md1 : active raid5 hdd2[3] hda2[0] hdc2[2] hdb2[1]
      891264 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md2 : active raid5 hdd3[4] hda3[0] hdc3[2] hdb3[1]
      481299072 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [====>................]  recovery = 20.6% (33203840/160433024) 
finish=339.4min speed=6246K/sec
unused devices: <none>

blacksheep:~# dmsetup info croot
Name:              croot
State:             ACTIVE
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      254, 0
Number of targets: 1

blacksheep:~# dmsetup status croot
0 962598144 crypt

blacksheep:~# dmsetup table croot
0 962598144 crypt aes-plain <perhapsthatsmysecretkeyidontknow> 0 9:2 0

blacksheep:~# cat /etc/crypttab
# <target device> <source device> <key file> <options>
cswap           /dev/md1        /dev/random     swap
croot           /dev/md2        none            cipher=aes-plain

blacksheep:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/cswap none          swap    sw              0       0
/dev/mapper/croot /             ext2    defaults,errors=remount-ro 0       1
/dev/md0        /boot           ext3    defaults        0       2

blacksheep:~# uname -a
Linux blacksheep 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to