1 (09.07.2014 13:35:30 отредактировано ivan.tiran)

Доброго времени суток

В системе установлены пакеты ntfs-3g && ntfsprogs.

При открытии флешки выводит ошибку. Вот, через файловый менеджер:

Error mounting /dev/sdb1 at /media/pavel/3085F04325978C83: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1002,gid=1003,dmask=0077,fmask=0177" "/dev/sdb1" "/media/pavel/3085F04325978C83"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb1': Ошибка ввода/вывода
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Вот, ручное монтирование:

 Консоль:
mount -t ntfs-3g /dev/sdb1 /mnt/win/
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb1': Ошибка ввода/вывода
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

Флеху отформатировал в ntfs из под Open SUSE 13.1

 Консоль:

fdisk sdc
d
n
w
mkfs -t ntfs /dev/sdc1

У меня был файл большого объёма, fat32 не подходил.
Как настроить работу ntfs в Debian 7?

2

ivan.tiran,
Выполните:

 Консоль: root
[root@linuxforum.ru ~]# ntfsfix -b /dev/sdb1

Видимо неправильно извлекали девайс из компьютера.

3

ntfsfix /dev/sdb1

mount -t ntfs - монтирование ядреным ntfs драйвером только на чтение.
mount -t ntfs-3g - монтирование драйвером ntfs-3g на запись поверх fuse.

4

verg пишет:

ivan.tiran,
Выполните:

 Консоль: root
[root@linuxforum.ru ~]# ntfsfix -b /dev/sdb1

Видимо неправильно извлекали девайс из компьютера.

 Консоль:
root@debian:/home/pavel# ntfsfix -b /dev/sdb1
Mounting volume... $MFTMirr does not match $MFT (record 0).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
Going to un-mark the bad clusters ($BadClus)... No bad clusters...OK
NTFS partition /dev/sdb1 was processed successfully.

5

флешка открылась. После перезагрузки будет работать?

6

ivan.tiran,
Теперь монтироваться должно нормально.
Только извлекайте флешку правильно.


ivan.tiran пишет:

После перезагрузки будет работать?

Будет.

7

verg пишет:

ivan.tiran,
Теперь монтироваться должно нормально.
Только извлекайте флешку правильно.

Спасибо огромное за помощь.