Topic: GParted failure copying FAT32 partition
My attempt to copy a FAT32 partition failed. I use the partition to share data between Windows and Linux on a multi-boot computer. Here is the output:
=====================================================
GParted 0.14.1 --enable-libparted-dmraid
Libparted 3.1
Copy /dev/sdb14 to /dev/sdd (start at 1.19 TiB) 00:12:23 ( ERROR )
calibrate /dev/sdb14 00:00:01 ( SUCCESS )
path: /dev/sdb14
start: 947,979,648
end: 1,055,647,214
size: 107,667,567 (51.34 GiB)
check file system on /dev/sdb14 for errors and (if possible) fix them 00:00:37 ( SUCCESS )
dosfsck -a -w -v /dev/sdb14
dosfsck 3.0.14 (23 Jan 2023)
dosfsck 3.0.14, 23 Jan 2023, FAT32, LFN
Checking we can access the last sector of the filesystem
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
68:99/8f, 69:41/5b, 70:56/73
Not automatically fixing this.
Boot sector contents:
System ID ""
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
33 reserved sectors
First FAT starts at byte 16896 (sector 33)
2 FATs, 32 bit entries
6742016 bytes per FAT (= 13168 sectors)
Root directory start at cluster 322 (arbitrary size)
Data area starts at byte 13500928 (sector 26369)
1681893 data clusters (55112269824 bytes)
63 sectors/track, 255 heads
63 hidden sectors
107667567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sdb14: 9079 files, 93331/1681893 clusters
create empty partition 00:00:02 ( SUCCESS )
path: /dev/sdd6
start: 2,554,079,232
end: 2,661,748,735
size: 107,669,504 (51.34 GiB)
set partition type on /dev/sdd6 00:00:00 ( SUCCESS )
new partition type: fat32
copy file system of /dev/sdb14 to /dev/sdd6 00:11:04 ( SUCCESS )
using internal algorithm
copy 51.34 GiB
finding optimal block size
copy 16.00 MiB using a block size of 1.00 MiB 00:00:02 ( SUCCESS )
16.00 MiB of 16.00 MiB copied
1.50937 seconds
copy 16.00 MiB using a block size of 2.00 MiB 00:00:00 ( SUCCESS )
16.00 MiB of 16.00 MiB copied
0.939042 seconds
copy 16.00 MiB using a block size of 4.00 MiB 00:00:01 ( SUCCESS )
16.00 MiB of 16.00 MiB copied
0.875008 seconds
copy 16.00 MiB using a block size of 8.00 MiB 00:00:01 ( SUCCESS )
16.00 MiB of 16.00 MiB copied
0.574895 seconds
copy 16.00 MiB using a block size of 16.00 MiB 00:00:00 ( SUCCESS )
16.00 MiB of 16.00 MiB copied
0.398392 seconds
optimal block size is 16.00 MiB
copy 51.26 GiB using a block size of 16.00 MiB 00:11:00 ( SUCCESS )
51.26 GiB of 51.26 GiB copied
51.34 GiB (55,125,794,304 B) copied
check file system on /dev/sdd6 for errors and (if possible) fix them 00:00:39 ( SUCCESS )
dosfsck -a -w -v /dev/sdd6
dosfsck 3.0.14 (23 Jan 2023)
dosfsck 3.0.14, 23 Jan 2023, FAT32, LFN
Checking we can access the last sector of the filesystem
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
68:99/8f, 69:41/5b, 70:56/73
Not automatically fixing this.
Boot sector contents:
System ID ""
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
33 reserved sectors
First FAT starts at byte 16896 (sector 33)
2 FATs, 32 bit entries
6742016 bytes per FAT (= 13168 sectors)
Root directory start at cluster 322 (arbitrary size)
Data area starts at byte 13500928 (sector 26369)
1681893 data clusters (55112269824 bytes)
63 sectors/track, 255 heads
63 hidden sectors
107667567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sdd6: 9079 files, 93331/1681893 clusters
grow file system to fill the partition 00:00:00 ( ERROR )
using libparted
libparted messages ( INFO )
Could not detect file system.
=========================================
Any ideas of why GParted fails to copy the partition would be appreciated.