I have external NTFS disks of 1TB, which I use to keep a backup of my data. This disk is plugged into the PC once a month or so. I noticed that my Ubuntu freezes while copying 300 GB of data from this disk. I checked the disk on Windows 11 for errors and did the disk defragmentation. The disk basically works fine on Windows 11. Below is Ubuntu OS information:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
$ uname -a
Linux asus 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Below is the disk mounted on Ubuntu:
$ sudo fdisk -l
...
...
...
Disk /dev/sdb: 931.51 GiB, 1000204883968 bytes, 1953525164 sectors
Disk model: External USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcd281382
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 1953521663 1953519616 931.5G 7 HPFS/NTFS/exFAT
I tried scanning the disk on Ubuntu, but NTFS seems unsupported. Please see below:
$ sudo smartctl -a /dev/sdb1
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-31-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TOSHIBA
Product: External USB 3.0
Revision: 0101
Compliance: SPC-4
User Capacity: 1,000,204,883,968 bytes [1.00 TB]
Logical block size: 512 bytes
Device type: disk
Local Time is: Tue May 28 20:35:47 2024 JST
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Read defect list: asked for grown list but didn't get it
Error Counter logging not supported
Device does not support Self Test logging
The ntfsfix
did not work as shown below:
$ ntfsfix /dev/sdb1
Refusing to operate on read-write mounted device /dev/sdb1.
Please note that the same behavior (freezing Ubuntu) is seen with another NTFS disk of 2 TB capacity. Surprisingly, both disks work smoothly on Windows 11. By the way, this is a dual-boot PC, and Windows fast boot and hibernation are turned off on Windows 11.
Unfortunately, when Ubuntu freezes, I have no choice but to forcefully reboot the PC, which causes data loss. Is there a way to debug the issue further?