#10521: file system corruption on x86 usb stick ext2
--------------------------+----------------------------------
  Reporter:  normunds     |      Owner:  developers
      Type:  defect       |     Status:  reopened
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Backfire 10.03.1 RC5
Resolution:               |   Keywords:
--------------------------+----------------------------------
Changes (by M95D):

 * status:  closed => reopened
 * resolution:  too_vague =>


Comment:

 I'm running OpenWRT Attitude Adjustment r36088 on Asus WL-500gP (brcm-
 47xx).

 This is the putty log showing the problem:

 root@OpenWrt:/# mkfs.ext2 /dev/sda1
 mke2fs 1.42.4 (12-June-2012)
 Filesystem label=
 OS type: Linux
 Block size=4096 (log=2)
 Fragment size=4096 (log=2)
 Stride=0 blocks, Stripe width=0 blocks
 57600 inodes, 230399 blocks
 11519 blocks (5.00%) reserved for the super user
 First data block=0
 Maximum filesystem blocks=239075328
 8 block groups
 32768 blocks per group, 32768 fragments per group
 7200 inodes per group
 Superblock backups stored on blocks:
         32768, 98304, 163840, 229376

 Allocating group tables: done
 Writing inode tables: done
 Writing superblocks and filesystem accounting information: done

 root@OpenWrt:/# mount /dev/sda1
 root@OpenWrt:/# cd /mnt/usb
 root@OpenWrt:/mnt/usb# ls
 lost+found
 root@OpenWrt:/mnt/usb# touch USB
 root@OpenWrt:/mnt/usb# tar -C /overlay -cvf - . | tar -C /mnt/usb -xf -

 (a long list of files here; no errors)

 root@OpenWrt:/mnt/usb# rm JFFS
 root@OpenWrt:/mnt/usb# ls
 USB         etc         lib         lost+found  mnt         root
 sbin        usr         www
 root@OpenWrt:/mnt/usb# sync
 root@OpenWrt:/mnt/usb# umount /dev/sda1
 umount: can't umount /mnt/usb: Device or resource busy
 root@OpenWrt:/mnt/usb# cd ..
 root@OpenWrt:/mnt# umount /dev/sda1
 root@OpenWrt:/mnt# e2fsck /dev/sda1
 e2fsck 1.42.4 (12-June-2012)
 /dev/sda1: clean, 528/57600 files, 5980/230399 blocks
 root@OpenWrt:/mnt# e2fsck -f /dev/sda1
 e2fsck 1.42.4 (12-June-2012)
 Pass 1: Checking inodes, blocks, and sizes
 Inode 7 has illegal block(s).  Clear<y>?

 (followed by a very long list of errors)

--
Ticket URL: <https://dev.openwrt.org/ticket/10521#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to