Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.mint    |    Looks pretty on the outside, thats it!    |    30,566 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 30,061 of 30,566    |
|    Paul to Axel    |
|    Re: cloning/copying LM disk (1/2)    |
|    30 Dec 25 05:29:17    |
      XPost: aus.computers       From: nospam@needed.invalid              On Tue, 12/30/2025 2:31 AM, Axel wrote:       >       > I wanted to clone my 500 Gb LM nvme disk to a 500 Gb mechanical drive, but       Rescuezilla reports that the target disk is too small. ??       >       > https://auslink.info/linux/rz.jpg       >       > I also get that message when trying to create an image.       >       > Foxclone also reports that the disk is too small.       >       > https://auslink.info/linux/foxclone.jpg       >       > How come? thanks,       >              First, I will post some of Pauls Demo Hardware, and put the numbers close to       yours.       These are total disk sizes. I only own one NVMe, just for demos like this.              WD5003ABYZ-011FA0 500,107,862,016 contains /dev/sdb? partitions       Samsung 970 EVO Plus 500GB 500,107,862,016 contains /dev/nvme0n1p?       partitions              ******* Begin Felix details              Final partition /dev/nvme0n1p2 500,106,788,864 <<=== a partition       "envelope" problem???       Destination drive 500,106,780,160 <<=== too small ? Need to       show me the details...              You'll need to gather more info, to decide what to do next.               A partition can be 1TB in size and have a 500GB file system inside. This is       "wasteful".               A partition can be 500GB in size and have a 1TB file system. The file       system "hangs        off the end" and this could/would be fatal, there could easily be damage.               A filesystem is normally "slightly smaller" than the partition size. A tiny       bit of white space        lives on the end of the filesystem. This is not really all that wasteful.       Fractional waste.        No notations are shown for this very slight difference internally for a       partition.              These are examples of envelope problems.              Both Windows and Linux make these mistakes. Linux tends to do this slightly       more       "visibly", doing one step in partition preparation before the other, during       resize operations.       A "failure" in the middle of an operation, leaves one of the above       "situations".       The Gparted details area, shows separate steps for partition handling.              There are typically no tools that say "I notice you have an envelope problem,       let       me fix this for you". Sometimes, you may get an error notation on the gparted       screen,       that it knows something is amiss.              *******              This just shows you how you can get a text printout of       your storage devices and precise byte values for the items.               sudo apt install disktype               sudo disktype /dev/sda # dumps some info for my SATA drive        sudo disktype /dev/nvme0n1 # dumps some info for my NVMe drive              bullwinkle@FLOTILLA:~$ sudo disktype /dev/nvme0n1              --- /dev/nvme0n1       Block device, size 465.8 GiB (500107862016 bytes) <=== total       drive size here       DOS/MBR partition map       Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)        Type 0xEE (EFI GPT protective)       GPT partition map, 128 entries        Disk size 465.8 GiB (500107862016 bytes, 976773168 sectors)        Disk GUID FAA8052D-D088-9446-A6E1-B15544E4D408       Partition 1: 100 MiB (104857600 bytes, 204800 sectors from 2048)        Type EFI System (FAT) (GUID 28732AC1-1FF8-D211-BA4B-00A0C93EC93B)        Partition Name "EFI system partition"        Partition GUID A78EC35F-0313-584D-8131-E7F305AB8CBA        FAT32 file system (hints score 4 of 5)        Volume size 96 MiB (100663296 bytes, 98304 clusters of 1 KiB)       Partition 2: 16 MiB (16777216 bytes, 32768 sectors from 206848)        Type MS Reserved (GUID 16E3C9E3-5C0B-B84D-817D-F92DF00215AE)        Partition Name "Microsoft reserved partition"        Partition GUID 424FE61B-9BF9-7A4C-A4BD-B9427F655534        Blank disk/medium       Partition 3: 82.08 GiB (88128618496 bytes, 172126208 sectors from 239616)        Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)        Partition Name "Basic data partition"        Partition GUID 80DBB40E-068F-5647-AB85-81AF5354DFF5        NTFS file system        Volume size 82.08 GiB (88128617984 bytes, 172126207 sectors)       Partition 4: 835 MiB (875560960 bytes, 1710080 sectors from 172365824)        Type Unknown (GUID A4BB94DE-D106-404D-A16A-BFD50179D6AC)        Partition Name ""        Partition GUID C8829DB7-BE7B-4148-90DF-ADC92FE39548        NTFS file system        Volume size 835.0 MiB (875560448 bytes, 1710079 sectors)       Partition 5: 977 MiB (1024458752 bytes, 2000896 sectors from 174077952)        Type Linux Swap (GUID 6DFD5706-ABA4-C443-84E5-0933C84B4F4F) <===       Paul notices some        Partition Name ""        naughty activity needs        Partition GUID 1AA2EE74-36EB-B24D-9656-214ECF74D5FE        to be fixed :-/ Anyway...        Linux swap, version 2, subversion 1, 4 KiB pages, little-endian        It should be like        Swap size 977.0 MiB (1024450560 bytes, 250110 pages of 4 KiB)        Partition 4.       Partition 6: unused              bullwinkle@FLOTILLA:~$ sudo disktype /dev/sdb              --- /dev/sdb       Block device, size 465.8 GiB (500107862016 bytes) <=== total       drive size here       DOS/MBR partition map       Partition 1: 465.8 GiB (500107861504 bytes, 976773167 sectors from 1)        Type 0xEE (EFI GPT protective)       GPT partition map, 128 entries        Disk size 465.8 GiB (500107862016 bytes, 976773168 sectors)        Disk GUID 9248B517-FDF8-AF4A-94EF-01DA6DC27F59       Partition 1: 476 MiB (499122176 bytes, 974848 sectors from 2048)        Type EFI System (FAT) (GUID 28732AC1-1FF8-D211-BA4B-00A0C93EC93B)        Partition Name ""        Partition GUID 6A077AE2-32EA-394A-91CA-4C9C43DB461A        GRUB boot loader, unknown compat version 0        FAT32 file system (hints score 5 of 5)        Volume size 475.1 MiB (498130944 bytes, 121614 clusters of 4 KiB)       Partition 2: 1.907 GiB (2047868928 bytes, 3999744 sectors from 976896) <===       an intentional swap...        Type Linux Swap (GUID 6DFD5706-ABA4-C443-84E5-0933C84B4F4F)        No surprise here.        Partition Name ""        Partition GUID 62972AB2-3976-1145-8A29-9B7EF56AD1AB        Linux swap, version 2, subversion 1, 4 KiB pages, little-endian        Swap size 1.907 GiB (2047860736 bytes, 499966 pages of 4 KiB)       Partition 3: 190.7 GiB (204800524288 bytes, 400001024 sectors from 4976640)        Type Unknown (GUID AF3DC60F-8384-7247-8E79-3D69D8477DE4)        Partition Name ""        Partition GUID DF0F1722-DCCA-A340-A42E-95906218245D        Ext4 file system        UUID 3FD653C0-C199-4033-A4FD-2BB25E6EE55B (DCE, v4)        Last mounted at "/"        Volume size 190.7 GiB (204800524288 bytes, 50000128 blocks of 4 KiB)       Partition 4: 181.6 GiB (194977464320 bytes, 380815360 sectors from 404977664)        Type Unknown (GUID AF3DC60F-8384-7247-8E79-3D69D8477DE4)        Partition Name "DEVUAN"        Partition GUID D88B9340-57E5-1147-8EA5-5970739BF95E        Ext4 file system        Volume name "DEVUAN"        UUID CC66CAE3-FC94-4B7B-841B-2789C71C4149 (DCE, v4)        Last mounted at "/"        Volume size 181.6 GiB (194977464320 bytes, 47601920 blocks of 4 KiB)       Partition 5: unused                     [continued in next message]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca