You are not logged in.
ah, how would i go about that using dd? i'm not super confident with the command
Offline
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
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
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
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
Any idea what else might have unmounted the drive at that point?
Offline
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
What happened before the cache sync failure?
I'm starting to suspect the hardware is at fault
Easy check:
Does the drive (and cable) act stable on a different host or w/ a live system like https://grml.org/?
Offline
Nothing was in dmesg or journalctl last boot before it, at least not that i could find with grep. It will probably happen again this boot, i'll try look a bit more.
again, it's perfectly fine on windows. can't test it on another linux host as i don't have access to one at the minute.
Last edited by levalithan (Today 10:17:40)
Offline