problem that ext3 not recognized on 4G usb external drive freshly formated. only ext2
Has anyone seen something like this?
Here is the log of creating an ext3 partition on a device and lack of recognition as ext3 just ext2. very strange.
Rashi:/home/mlaks# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x63528f63.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-16234, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-16234, default 16234):
Using default value 16234
Command (m for help): p
Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63
Device Boot Start End Blocks Id System
/dev/sdd1 1 16234 16623600 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Rashi:/home/mlaks# mkfs.ext3 /dev/sdd1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1040384 inodes, 4155900 blocks
207795 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4257218560
127 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Rashi:/home/mlaks# mount /dev/sdd1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Rashi:/home/mlaks# mount -t ext2 /dev/sdd1 /mnt
------------
here is the relevant dmesg output:
[1073854.224034] usb 1-6: new high speed USB device using ehci_hcd and address 10
[1073854.408037] usb 1-6: New USB device found, idVendor=0011, idProduct=7788
[1073854.408042] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1073854.408045] usb 1-6: Product: Mass Storage
[1073854.408047] usb 1-6: Manufacturer: Generic
[1073854.408050] usb 1-6: SerialNumber: 0E5C5CFF
[1073854.408178] usb 1-6: configuration #1 chosen from 1 choice
[1073854.408444] scsi13 : SCSI emulation for USB Mass Storage devices
[1073854.408542] usb-storage: device found at 10
[1073854.408544] usb-storage: waiting for device to settle before scanning
[1073859.404200] usb-storage: device scan complete
[1073859.405039] scsi 13:0:0:0: Direct-Access Generic Flash Disk 8.00 PQ: 0 ANSI: 2
[1073859.405710] sd 13:0:0:0: Attached scsi generic sg4 type 0
[1073859.407397] sd 13:0:0:0: [sdd] 33247232 512-byte logical blocks: (17.0 GB/15.8 GiB)
[1073859.407890] sd 13:0:0:0: [sdd] Write Protect is off
[1073859.407893] sd 13:0:0:0: [sdd] Mode Sense: 03 00 00 00
[1073859.407896] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410014] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410018] sdd: unknown partition table
[1073859.672005] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.672011] sd 13:0:0:0: [sdd] Attached SCSI removable disk
[1073921.167000] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073921.167005] sdd: sdd1
[1074110.584687] JBD: no valid journal superblock found
[1074110.584691] EXT3-fs: error loading journal.
[1074126.668836] EXT2-fs warning (device sdd1): ext2_fill_super: mounting ext3 filesystem as ext2
strange. it must be something strange about this usb drive. i got another one similar to it from a friend and it had same problem
Mitchell
Reply to: