Why does drive image show different start partition free size?
0
votes
1
answer
120
views
I made an image of /dev/sdc. The free space before the first partition isn't reporting the same byte sizes, but why?
The start position is reported as
1024B
on the drive and 16384B
on the image?
# parted /dev/sdc u b p free
Model: ASMT 2105 (scsi)
Disk /dev/sdc: 500107862016B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1024B 1048575B 1047552B Free Space
1 1048576B 500107862015B 500106813440B primary btrfs
# parted d1/drive1.sdc.img u b p free
Model: (file)
Disk /mnt/4/d1/drive1.sdc.img: 500107862016B
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
16384B 1048575B 1032192B Free Space
1 1048576B 500107862015B 500106813440B primary btrfs
Edit: I created the image like so
# pv /dev/sdc > d1/drive1.sdc.img
Edit2: After running md5sum on both, they show same hash
# dd if=/dev/sdc | md5sum; pv d1/drive1.sdc.img | md5sum
Asked by Rucent88
(1910 rep)
Jul 31, 2021, 07:46 AM
Last activity: Jul 31, 2021, 07:31 PM
Last activity: Jul 31, 2021, 07:31 PM