Page 1 of 1

Copying from NTFS USB drive - Thunar freezes

Posted: Fri Oct 04, 2024 4:50 pm
by pax-eterna
Having issues with Thunar freezing at random points in a file transfer operation. Requiring a hard re-boot to unfreeze it.

Transferring files from NTFS usb drive. Already tried marking the NTFS drive as read only, however issue still remains.

Tried letting it run the transfer without touching anything else, still happens. Usually at about 60-70% of a multi gig file!!

If I let it run and the screen saver kicks in, it also freezes.

Is Dolphin or some other app better for this kind of thing?

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Fri Oct 04, 2024 4:54 pm
by CharlesV
So, make sure that your ntfs drive is checked and ok. And what size is the 'multi-gig' file? I routinely copy files 24 ~ 120gb sizes with out issue. (usually on ext4 drives, but I do use ntfs usb's and have no issues like this with thunar )

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Fri Oct 04, 2024 4:55 pm
by CharlesV
... and right here! is where I am going to say a swap file may indeed help you!

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Fri Oct 04, 2024 6:17 pm
by Gabriel_M
Try using Midnight Commander.
And disable the screen saver.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Sat Oct 05, 2024 6:55 am
by Kester
Hi pax-eterna,
Like your forum name - wish it's sentiments were followed throughout the world today.
Having issues with Thunar freezing at random points in a file transfer operation. Requiring a hard re-boot to unfreeze it.
.
Hopefully you will soon resolve this problem but when windows freeze a hard re-boot should be considered a last resort - have you tried the 'xkill' command. Open a terminal window and type xkill then click <ENTER>. If that fails to close the stuck window then it is safer to reboot your system using the 'REISUB' command when access to your normal restart procedure is impossible. To use the command hold the 'ALT' key down and press in turn the 'Print Screen' key, then 'R', 'E', 'I', 'S', 'U' and 'B'. Don't be too quick between key presses if you are a touch typist - my two finger typing speed however is ok with this command.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Mon Oct 07, 2024 4:00 pm
by pax-eterna
CharlesV wrote: Fri Oct 04, 2024 4:55 pm ... and right here! is where I am going to say a swap file may indeed help you!
thanks - hasn't been on issue on other "flavours" of linux tbh.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Mon Oct 07, 2024 4:02 pm
by pax-eterna
Kester wrote: Sat Oct 05, 2024 6:55 am Hi pax-eterna,
Like your forum name - wish it's sentiments were followed throughout the world today.
Having issues with Thunar freezing at random points in a file transfer operation. Requiring a hard re-boot to unfreeze it.
.
Hopefully you will soon resolve this problem but when windows freeze a hard re-boot should be considered a last resort - have you tried the 'xkill' command. Open a terminal window and type xkill then click <ENTER>. If that fails to close the stuck window then it is safer to reboot your system using the 'REISUB' command when access to your normal restart procedure is impossible. To use the command hold the 'ALT' key down and press in turn the 'Print Screen' key, then 'R', 'E', 'I', 'S', 'U' and 'B'. Don't be too quick between key presses if you are a touch typist - my two finger typing speed however is ok with this command.
thanks! I'll note that one ")

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Mon Oct 07, 2024 4:38 pm
by CharlesV
pax-eterna wrote: Mon Oct 07, 2024 4:00 pm
CharlesV wrote: Fri Oct 04, 2024 4:55 pm ... and right here! is where I am going to say a swap file may indeed help you!
thanks - hasn't been on issue on other "flavours" of linux tbh.
This is all about the what needs it. Some applications will just not function properly without one. I ran Mint on a 64gb machine for around a year with no swap... getting "little issues" .. until one day someone pointed it out. I added a swap and those little issues went away

Here in the forum, we have plenty of observations where having a swap resolved issues. (and sometimes ... very 'small' little things.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 08, 2024 4:12 am
by DukeComposed
pax-eterna wrote: Fri Oct 04, 2024 4:50 pm Transferring files from NTFS usb drive. Already tried marking the NTFS drive as read only, however issue still remains.

Tried letting it run the transfer without touching anything else, still happens. Usually at about 60-70% of a multi gig file!!

Is Dolphin or some other app better for this kind of thing?
When interrupting a copy is a possibility, even just between two locations on the same machine, I always prefer to use rsync with the --partial and --progress options, or -P to enable them both.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 1:45 pm
by pax-eterna
CharlesV wrote: Mon Oct 07, 2024 4:38 pm
pax-eterna wrote: Mon Oct 07, 2024 4:00 pm
CharlesV wrote: Fri Oct 04, 2024 4:55 pm ... and right here! is where I am going to say a swap file may indeed help you!
thanks - hasn't been on issue on other "flavours" of linux tbh.
This is all about the what needs it. Some applications will just not function properly without one. I ran Mint on a 64gb machine for around a year with no swap... getting "little issues" .. until one day someone pointed it out. I added a swap and those little issues went away

Here in the forum, we have plenty of observations where having a swap resolved issues. (and sometimes ... very 'small' little things.
Sorry have been away from forum for a while....is it possible to add a swap file post installation? And if so best way to do this?
thanks

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 1:50 pm
by j2mcgreg
@pax-eterna wrote:
Sorry have been away from forum for a while....is it possible to add a swap file post installation? And if so best way to do this?
thanks
Here are easy to follow instructions:
https://www.digitalocean.com/community/ ... -debian-11

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 1:53 pm
by CharlesV
No worries. Yes, very easy to do. Here are a couple of links that show how to.

https://www.digitalocean.com/community/ ... -debian-11

https://www.howtogeek.com/455981/how-to ... -on-linux/

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 2:11 pm
by pax-eterna
j2mcgreg wrote: Tue Oct 29, 2024 1:50 pm @pax-eterna wrote:
Sorry have been away from forum for a while....is it possible to add a swap file post installation? And if so best way to do this?
thanks
Here are easy to follow instructions:
https://www.digitalocean.com/community/ ... -debian-11

thank you.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 2:12 pm
by pax-eterna
CharlesV wrote: Tue Oct 29, 2024 1:53 pm No worries. Yes, very easy to do. Here are a couple of links that show how to.

https://www.digitalocean.com/community/ ... -debian-11

https://www.howtogeek.com/455981/how-to ... -on-linux/
And also thanks!

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Tue Oct 29, 2024 2:13 pm
by CharlesV
Your very welcome!

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Fri Nov 01, 2024 2:58 am
by LU344928
If I can just add, in my experience it's always better to use a file-copy utility rather than doing a copy/paste with the file manager. Grsync is reliable, and it's in the repo.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Thu Jan 02, 2025 3:18 pm
by User0x55
Was the problem ever solved or is a workaround suggested?

Unfortunately I'm having the same issues with an external NTFS drive encrypted with Bitlocker.
I need to move my data from Windows to MX Linux and twice I had to resort to REISUB to shut my PC down (once using Thunar and once using cp).
Now I'm scared to damage the system when doing this.

I may try to copy my files in small chunks, but this is quite tedious and I'm not sure it will really help.
In other forums in similar cases it was suggested to blacklist the ntfs3 driver and use ntfs-3g.
What do you guys recommend?

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Thu Jan 02, 2025 7:31 pm
by fehlix
User0x55 wrote: Thu Jan 02, 2025 3:18 pm Was the problem ever solved or is a workaround suggested?

Unfortunately I'm having the same issues with an external NTFS drive encrypted with Bitlocker.
I need to move my data from Windows to MX Linux and twice I had to resort to REISUB to shut my PC down (once using Thunar and once using cp).
Now I'm scared to damage the system when doing this.

I may try to copy my files in small chunks, but this is quite tedious and I'm not sure it will really help.
In other forums in similar cases it was suggested to blacklist the ntfs3 driver and use ntfs-3g.
What do you guys recommend?
That's worth a trial "ntfs3" b/c ntfs3 is a fairly new add lots of nice "Windows" stuff to the NTFS game.
So yes, blacklist ntfs3, you can also try temporary
with boot paramter

Code: Select all

module_blacklist=ntfs3
which should convince the kernel to not load any buildin ntfs3 driver, if that works
make it permanent by create a blacklist file.
Also note: For Data-"sharing" partitions with Windows, I do always prefer exFat.
Maybe think about it, no fancy NTFS under the hood hidden tweaks,
works fast. No journaling , fine but for "Data" that may be sufficient.
Also as I don't like the "wrong" default permission, I have exfat mount "rules" which makes it as it should be
all files read/write not executable and only folders get a execuable bit to allow navigating into.

Re: Copying from NTFS USB drive - Thunar freezes

Posted: Wed Jan 08, 2025 2:23 pm
by User0x55
Thanks for the info! :happy:

Quick update: copying data in smaller chunks did not help (the boot parameter was not set), copying still stalled after a while.
I then switched to my other drive (encrypted with Truecrypt, not Bitlocker) and set module_blacklist=ntfs3 - this worked without problems!