On 03/11/2020 15:31, Istvan Gabor wrote:
But between logical partitions cfdisk inserts 2048 empty sectors. Eg sdb4 starts at sector 176162816 but sdb5 starts at 176164864. There are 2048 unused sectors between the two. Similarly, sdb5 ends at 218107903 but sdb6 starts at 218109952. Again there are 2048 unused sectors between the two.
DAMNITALLTOHELL! I keep telling myself that the next time I will format the whole disk as LVM now that it is possible to set up Linux to boot into a LVM 'partition' (logical volume). I'm already using a LV as a second swap area. I suppose on the one partition to rule them all' principles you can also apply BtrFS to handle boot, root and the rest on the 'one file system to rule them all' principle. Anyway, if this isn't going to be your primary disk then you can do the "suck it and see" approach to learning about LVM or BtrFS using this SSD. I'm presently locked in to a small boot partition Device Start End Sectors Size Type /dev/sda1 34 3906250 3906217 1.9G EFI System /dev/sda2 3907584 15624191 11716608 5.6G Microsoft basic data /dev/sda3 15624192 1953523711 1937899520 924.1G Linux LVM main:/dev/disk/by-label # ls -l BOOT ROOT4 SWAP HOME TMP lrwxrwxrwx 1 root root 10 Nov 3 21:32 BOOT -> ../../sda1 lrwxrwxrwx 1 root root 11 Nov 1 17:39 HOME -> ../../dm-11 lrwxrwxrwx 1 root root 10 Nov 1 17:39 ROOT4 -> ../../dm-0 lrwxrwxrwx 1 root root 10 Nov 3 21:32 SWAP -> ../../sda2 lrwxrwxrwx 1 root root 10 Nov 1 17:39 TMP -> ../../dm-8 Oh, yes, i know the arguments against using LVM for root/boot viz debug crashed system. Yes, "it used to be but we changed all that". It depends on your boot loader. heck, I recall repairing AIX long ago when LVM was termed 'the veritas file management system'. See also: https://cromwell-intl.com/open-source/lvm-rescue-boot.html Anyway, that's really a historical artefact from when you couldn't boot into LVM with Linux. -- “Reality is so complex, we must move away from dogma, whether it’s conspiracy theories or free-market,” -- James Glattfelder. http://jth.ch/jbg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org