You are not logged in.

#1 2022-04-17 17:17:24

strangechange
Member
Registered: 2017-03-06
Posts: 41

[SOLVED] mounting ntfs usb stick

# mount -t ntfs3 /dev/sdb /mnt/

Says /mnt: wrong datasystemtype, invalid options, the superblock of /dev/sdb is damaged, missing formatting page or another error.

I did try the command before and it took a little longer to get an error I hope I did not damage the usb stick.

In Nautilus: Error mounting ... at ... "unknown filesystem type 'ntfs3, ntfs'

dmesg

[ 4614.570568] usb 2-2: new SuperSpeed USB device number 4 using xhci_hcd
[ 4614.598812] usb 2-2: New USB device found, idVendor=05dc, idProduct=a838, bcdDevice=11.00
[ 4614.598825] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4614.598831] usb 2-2: Product: USB Flash Drive
[ 4614.598835] usb 2-2: Manufacturer: XYZ
[ 4614.598838] usb 2-2: SerialNumber: XYZ
[ 4614.604236] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 4614.605156] scsi host1: usb-storage 2-2:1.0
[ 4615.749957] scsi 1:0:0:0: Direct-Access     XYZ    USB Flash Drive  1100 PQ: 0 ANSI: 6
[ 4615.750613] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 4615.751541] sd 1:0:0:0: [sdb] 62517248 512-byte logical blocks: (32.0 GB/29.8 GiB)
[ 4615.752257] sd 1:0:0:0: [sdb] Write Protect is off
[ 4615.752267] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 4615.752902] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4615.759407] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[ 4615.956858] ntfs3: Unknown parameter 'windows_names'
[ 4618.784632] audit: type=1334 audit(1650214833.123:194): prog-id=62 op=LOAD
[ 4618.784749] audit: type=1334 audit(1650214833.123:195): prog-id=63 op=LOAD
[ 4618.784780] audit: type=1334 audit(1650214833.123:196): prog-id=64 op=LOAD
[ 4618.815838] audit: type=1130 audit(1650214833.156:197): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4622.279063] ntfs3: Unknown parameter 'windows_names'
[ 4648.866333] audit: type=1131 audit(1650214863.206:198): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 4648.873149] ntfs3: sdb: volume is dirty and "force" flag is not set!
[ 4648.945728] audit: type=1334 audit(1650214863.286:199): prog-id=0 op=UNLOAD
[ 4648.945742] audit: type=1334 audit(1650214863.286:200): prog-id=0 op=UNLOAD
[ 4648.945748] audit: type=1334 audit(1650214863.286:201): prog-id=0 op=UNLOAD
[ 4717.740682] ntfs3: sdb: volume is dirty and "force" flag is not set!

Last edited by strangechange (2022-04-17 21:38:26)

Offline

#2 2022-04-17 17:26:24

mpan
Member
Registered: 2012-08-01
Posts: 1,221
Website

Re: [SOLVED] mounting ntfs usb stick

Did you by any chance update the kernel, but did not reboot?


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2022-04-17 17:42:03

Maniaxx
Member
Registered: 2014-05-14
Posts: 743

Re: [SOLVED] mounting ntfs usb stick

strangechange wrote:

mount -t ntfs3 /dev/sdb /mnt/

Are you sure its a superblock formatted stick? Otherwise its sdb1 (not sdb).

strangechange wrote:

[ 4717.740682] ntfs3: sdb: volume is dirty and "force" flag is not set!

NTFS3 will not mount unless clean (or forced). Best way is chkdsk on real Windows.

Last edited by Maniaxx (2022-04-17 17:45:07)


sys2064

Offline

#4 2022-04-17 17:42:46

strangechange
Member
Registered: 2017-03-06
Posts: 41

Re: [SOLVED] mounting ntfs usb stick

mpan wrote:

Did you by any chance update the kernel, but did not reboot?

Probably no.
In case I did a reboot and its still not mounting.
dmesg is saying something about a force flag. Should I change the command into something like

# mount -t ntfs3 /dev/sdb /mnt/ --force

Last edited by strangechange (2022-04-17 17:44:09)

Offline

#5 2022-04-17 17:50:07

strangechange
Member
Registered: 2017-03-06
Posts: 41

Re: [SOLVED] mounting ntfs usb stick

No I don't know if it is superblock formatted.
After reboot it changed to sda, and I also have tried sda1.
What do you mean by clean? That everything matches perfectly to ntfs3 on the stick or that there is no data?

Offline

#6 2022-04-17 18:27:16

seth
Member
Registered: 2012-09-03
Posts: 52,315

Re: [SOLVED] mounting ntfs usb stick

When you mount an FS some FS will secretly flag it as open. When you then withdraw the drive from the system w/o properfly unmounting the FS, that flag will still be there and subsequent mount attempts may (in this case) test for it and act accordingly.
Windows chkdsk will check that everything else w/ the FS is still ok, in doubt create a coherent state and remove the flag.
https://wiki.archlinux.org/title/NTFS-3 … ilesystems

Offline

#7 2022-04-17 19:25:31

strangechange
Member
Registered: 2017-03-06
Posts: 41

Re: [SOLVED] mounting ntfs usb stick

seth wrote:

When you mount an FS some FS will secretly flag it as open. When you then withdraw the drive from the system w/o properfly unmounting the FS, that flag will still be there and subsequent mount attempts may (in this case) test for it and act accordingly.
Windows chkdsk will check that everything else w/ the FS is still ok, in doubt create a coherent state and remove the flag.
https://wiki.archlinux.org/title/NTFS-3 … ilesystems

Thanks, its resolved with your article and ntfsfix.

Offline

#8 2022-04-17 19:53:49

seth
Member
Registered: 2012-09-03
Posts: 52,315

Re: [SOLVED] mounting ntfs usb stick

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB