I'm following this tutorial. But I got stuck at step 9, somehow I'm not able to mount my USB.
Every time I try to mount my USB I get the following error:
root@OpenWrt:~# mount /dev/sda2 /mnt/sda2 mount: mounting /dev/sda2 on /mnt/sda2 failed: Invalid argument The USB seems to be OK and connected but somehow I'm not able to mount the sda2 (ext4) partition.
The partitions seems to be OK as well:
root@OpenWrt:~# blkid /dev/mtdblock2: TYPE="squashfs" /dev/sda1: UUID="e39964e8-1b51-4b1f-b034-0147fa394eea" TYPE="swap" /dev/sda2: UUID="157cfc0d-f33d-4103-950d-6ae01baa7177" TYPE="ext4" And this is my dmesg output:
root@OpenWrt:~# dmesg | grep sda [ 9.360000] sd 0:0:0:0: [sda] 7987200 512-byte logical blocks: (4.08 GB/3.80 GiB) [ 9.370000] sd 0:0:0:0: [sda] Write Protect is off [ 9.370000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 9.370000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 9.400000] sda: sda1 sda2 [ 9.410000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 41.850000] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 41.870000] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 41.880000] EXT4-fs (sda2): couldn't mount RDWR because of unsupported optional features (400) [ 270.660000] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 270.670000] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 270.670000] EXT4-fs (sda2): couldn't mount RDWR because of unsupported optional features (400) [ 585.040000] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 585.050000] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 585.060000] EXT4-fs (sda2): couldn't mount RDWR because of unsupported optional features (400) [ 586.540000] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 586.550000] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 586.560000] EXT4-fs (sda2): couldn't mount RDWR because of unsupported optional features (400) [ 651.570000] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 651.580000] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 651.590000] EXT4-fs (sda2): couldn't mount RDWR because of unsupported optional features (400) This is my fdisk -l output:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 4089 MB, 4089446400 bytes 255 heads, 63 sectors/track, 497 cylinders, total 7987200 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 7987199 3993599+ ee GPT
fdisk -lonly showed thelinux-swappartition/dev/sda1... I'm having some trouble withext4types it seems. Before inserting the USB I first had to installopkg install kmod-fs-ext4. Possible it has to do something with that?uname -r), and the version ofmkfs.ext4that was used to create the filesystem. A short explanation of the general error can be seen in the comment here: tutel.me/c/unix/questions/287159/… There's another post specific to feature 400, to me it suggests that flag 400 is the feature dir_nlink, but it's not 100% clear. tosiek.pl/…mount -t ext4yet?