You are not logged in.

#26 Yesterday 21:12:53

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 31

Re: External NTFS HDD Power Issues / Disconnects

ah, how would i go about that using dd? i'm not super confident with the command

Offline

#27 Yesterday 21:27:40

seth
Member
Registered: 2012-09-03
Posts: 58,652

Re: External NTFS HDD Power Issues / Disconnects

cd /path/to/disk/art/lotsofpictures
for name in *; do dd if="$name" iflag=sync,nocache of=/dev/null &; done

This reads all files there and "copies" them into /dev/null
The ampersand will fire off all dd jobs in parallel, that should take the wind out of the bus.

Offline

#28 Yesterday 22:00:57

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 31

Re: External NTFS HDD Power Issues / Disconnects

was about to try this and the disk just disconnected on it's own. nothing even really triggered it this time.

Nov 20 21:56:42 tower kernel: sd 5:0:0:0: [sdb] Synchronizing SCSI cache
Nov 20 21:56:42 tower kernel: sd 5:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Nov 20 21:56:42 tower ntfs-3g[27738]: Unmounting /dev/sdb2 (SLAB)
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to sync device /dev/sdb2: Input/output error
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to fsync device /dev/sdb2: Input/output error
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to close volume /dev/sdb2: Device or resource busy

at this point i have given up, i think it's just busted. a replacement from amazon is on the way, i will likely just format it to ext4 and use it as storage for my games, and other important stuff will go on a usb with NTFS. unless we can figure something out by tomorrow but i doubt it.

Offline

#29 Yesterday 22:09:09

seth
Member
Registered: 2012-09-03
Posts: 58,652

Re: External NTFS HDD Power Issues / Disconnects

the disk just disconnected on it's own. nothing even really triggered it this time.

The journal also shows a (failing) umount? Do you use x-systemd.idle-timeout ?

Does the drive (and cable) act stable on a different host or w/ a live system like https://grml.org/?

unless we can figure something out by tomorrow but i doubt it

We can stil figure what's wrong - I still don't think the filesystem will help you here.

Offline

#30 Yesterday 22:10:17

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 31

Re: External NTFS HDD Power Issues / Disconnects

I believe it works fine on windows, but haven't tested it much. I'm not sure if i use idle-timeout but i could try disabling it.

Offline

#31 Yesterday 22:50:09

seth
Member
Registered: 2012-09-03
Posts: 58,652

Re: External NTFS HDD Power Issues / Disconnects

Any idea what else might have unmounted the drive at that point?

Offline

#32 Yesterday 23:47:57

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 31

Re: External NTFS HDD Power Issues / Disconnects

My only guess is maybe it tries to unmount the drive when it fails the sync, but beyond that I have no idea. I'm starting to suspect the hardware is at fault

Offline

Board footer

Powered by FluxBB