Originally Posted by
TReX
Мож флешку под EXT3 форматнете, для приличия )
Считаю, что для флешки ext2 лучше, т.к. без журналирования - дольше проживет.
Originally Posted by
DemonGloom
А покажите-ка вывод fdisk -l при подключенной флешке..
Code:
[admin@WL-20CF30CE3F64 root]$ fdisk -l /dev/sda
Disk /dev/sda: 1031 MB, 1031798784 bytes
113 heads, 51 sectors/track, 349 cylinders
Units = cylinders of 5763 * 512 = 2950656 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 350 1007584+ 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 1, 13)
Partition 1 has different physical/logical endings:
phys=(125, 112, 51) logical=(349, 77, 18)
Действительно какая-то ошибка.. А на компе нормально монтируется!
Удалил раздел, создал новую таблицу и сделал mkfs.ext2 /dev/sda1 на подключенной к роутеру флешке.
Но проблема осталась:
Code:
[admin@WL-20CF30CE3F64 root]$ fdisk -l
Disk /dev/sda: 1031 MB, 1031798784 bytes
113 heads, 51 sectors/track, 349 cylinders
Units = cylinders of 5763 * 512 = 2950656 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 349 1005618 83 Linux
[admin@WL-20CF30CE3F64 root]$ mount -t ext2 /dev/sda1 /tmp/mnt
mount: mounting /dev/sda1 on /tmp/mnt failed: No such device
[admin@WL-20CF30CE3F64 root]$
Я в замешательстве!
Отформатировал в ext3 и все заработало... TReX был прав
Code:
[admin@WL-20CF30CE3F64 root]$ mkfs.ext3 /dev/sda1
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
62976 inodes, 251404 blocks
12570 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=260046848
8 block groups
32768 blocks per group, 32768 fragments per group
7872 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[admin@WL-20CF30CE3F64 root]$ mount -t ext3 /dev/sda1 /mnt
[admin@WL-20CF30CE3F64 root]$ cd /mnt
[admin@WL-20CF30CE3F64 /mnt]$ ls
lost+found