You are not logged in.

#1 2024-06-23 11:19:53

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

How can I solve this issue with ntfs?

I was cded into the directory in the usb drive, then I pulled it out. Now I can't mount it. I'm having this output:

Incomplete multi-sector transfer: magic: 0x58444e49  size: 4096  usa_ofs: 40  usa_count: 5  data: 52046  usn: 52045: Input/output error
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
Failed to mount '/dev/sdb1': No such file or directory

Offline

#2 2024-06-23 11:31:20

hrsvrn
Member
Registered: 2024-06-23
Posts: 2

Re: How can I solve this issue with ntfs?

pacman -Sy ntfs-3g
I also faced this issue and this fixed it

Offline

#3 2024-06-23 11:37:36

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How can I solve this issue with ntfs?

hrsvrn wrote:

pacman -Sy ntfs-3g
I also faced this issue and this fixed it

Didn't help.

aljustiet@thinkpad ~> sudo pacman -Sy ntfs-3g
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: ntfs-3g-2022.10.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) ntfs-3g-2022.10.3-1

Total Installed Size:  1.59 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                            [###############################] 100%
(1/1) checking package integrity                          [###############################] 100%
(1/1) loading package files                               [###############################] 100%
(1/1) checking for file conflicts                         [###############################] 100%
(1/1) checking available disk space                       [###############################] 100%
:: Processing package changes...
(1/1) reinstalling ntfs-3g                                [###############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
aljustiet@thinkpad ~> sudo mount /dev/sda1 /mnt/sda1
Incomplete multi-sector transfer: magic: 0x58444e49  size: 4096  usa_ofs: 40  usa_count: 5  data: 52046  usn: 52045: Input/output error
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
Failed to mount '/dev/sda1': No such file or directory

Offline

#4 2024-06-23 11:51:04

hrsvrn
Member
Registered: 2024-06-23
Posts: 2

Re: How can I solve this issue with ntfs?

try ntfsfix /dev/yourdrivenamegoeshere?

Last edited by hrsvrn (2024-06-23 11:51:37)

Offline

#5 2024-06-23 12:00:45

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How can I solve this issue with ntfs?

hrsvrn wrote:

try ntfsfix /dev/yourdrivenamegoeshere?

I tried that, it didn't help.

Offline

#6 2024-06-23 12:02:37

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How can I solve this issue with ntfs?

hrsvrn wrote:

try ntfsfix /dev/yourdrivenamegoeshere?

Here:

aljustiet@thinkpad ~ [1]> sudo ntfsfix /dev/sda1
Mounting volume... Incomplete multi-sector transfer: magic: 0x58444e49  size: 4096  usa_ofs: 40  usa_count: 5  data: 52046  usn: 52045: Input/output error
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Incomplete multi-sector transfer: magic: 0x58444e49  size: 4096  usa_ofs: 40  usa_count: 5  data: 52046  usn: 52045: Input/output error
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
Remount failed: No such file or directory
aljustiet@thinkpad ~ [1]> sudo mount /dev/sda1 /mnt/sda1
Incomplete multi-sector transfer: magic: 0x58444e49  size: 4096  usa_ofs: 40  usa_count: 5  data: 52046  usn: 52045: Input/output error
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
Failed to mount '/dev/sda1': No such file or directory

Offline

#7 2024-06-23 13:13:40

seth
Member
Registered: 2012-09-03
Posts: 61,021

Re: How can I solve this issue with ntfs?

https://wiki.archlinux.org/title/NTFS-3 … ilesystems
For acutally corrupted NTFS filesystems please use chkdsk on windows - there's no good linux tool for this - however

Failed to mount '/dev/sda1': No such file or directory

the device node doesn't even exist and there're IO errors.
=> https://wiki.archlinux.org/title/SMART

Offline

#8 2024-06-23 20:17:11

cryptearth
Member
Registered: 2024-02-03
Posts: 1,256

Re: How can I solve this issue with ntfs?

don't use NTFS for exchange data with linux - use exFAT
to fix a ntfs: use windows!: chkdsk /F /X /R /B

Offline

#9 2024-06-24 08:10:47

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How can I solve this issue with ntfs?

cryptearth wrote:

don't use NTFS for exchange data with linux - use exFAT
to fix a ntfs: use windows!: chkdsk /F /X /R /B

I get this output when I run the

chkdsk D: /F /X /R /B

,

The type of the file system is NTFS. Unable to determine volume version and state. CHKDSK aborted.

Offline

#10 2024-06-24 08:26:36

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: How can I solve this issue with ntfs?

sfc /scannow

Open with diskmgmt.msc and check if the HDD is corrupted

Offline

#11 2024-06-24 14:30:43

seth
Member
Registered: 2012-09-03
Posts: 61,021

Re: How can I solve this issue with ntfs?

Or alternatively

seth wrote:

node doesn't even exist and there're IO errors.
=> https://wiki.archlinux.org/title/SMART

It might also be a bus error, though.

Offline

#12 2024-06-24 14:40:42

cryptearth
Member
Registered: 2024-02-03
Posts: 1,256

Re: How can I solve this issue with ntfs?

aljustiet wrote:
cryptearth wrote:

don't use NTFS for exchange data with linux - use exFAT
to fix a ntfs: use windows!: chkdsk /F /X /R /B

I get this output when I run the

chkdsk D: /F /X /R /B

,

The type of the file system is NTFS. Unable to determine volume version and state. CHKDSK aborted.

I double checked with MSDN and these are the correct parameters. What Windows have you tried this with? Did you use CMD or Powershell? Have you run the prompt elevated as Administrator? never encountered this error message
maybe give this a shot: https://answers.microsoft.com/en-us/win … 26933c6ac5

Offline

#13 2024-06-26 11:15:22

aljustiet
Member
Registered: 2024-02-09
Posts: 83
Website

Re: How can I solve this issue with ntfs?

cryptearth wrote:
aljustiet wrote:
cryptearth wrote:

don't use NTFS for exchange data with linux - use exFAT
to fix a ntfs: use windows!: chkdsk /F /X /R /B

I get this output when I run the

chkdsk D: /F /X /R /B

,

The type of the file system is NTFS. Unable to determine volume version and state. CHKDSK aborted.

I double checked with MSDN and these are the correct parameters. What Windows have you tried this with? Did you use CMD or Powershell? Have you run the prompt elevated as Administrator? never encountered this error message
maybe give this a shot: https://answers.microsoft.com/en-us/win … 26933c6ac5

Before I had the sda1 partition, but now it doesn't detect it. Luckily I backed up the sda with the

sudo dd if=/dev/sda of=recovery status=progress

. Should I dd the backup to the usb stick?

Offline

#14 2024-06-26 14:07:30

seth
Member
Registered: 2012-09-03
Posts: 61,021

Re: How can I solve this issue with ntfs?

"usb stick"?
Does it support SMART reporting?

You've IO errors and the device disappears - there's a good chance that the thing is simply dead.

Offline

Board footer

Powered by FluxBB