# ssh://git.mdcc.cx/git/ad1810-doc.git debian/banach.txt how i've setup my disks on my new old desktop PC ------------------------------------------------ by Joost van Baal-Ilić, october 2026 I've used the Debian GNU/Linux 13 (trixie) installer partioner to create this: root@banach:~# fdisk -l /dev/sda /dev/sdb Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: Samsung SSD 850 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: gpt Disk identifier: 4C12E9A3-C0D2-42A3-9F19-688B38014D74 Device Start End Sectors Size Type /dev/sda1 97671168 976771071 879099904 419.2G Linux RAID /dev/sda2 2048 194559 192512 94M EFI System /dev/sda3 194560 97671167 97476608 46.5G Linux swap Partition table entries are not in disk order. Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: Samsung SSD 850 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: gpt Disk identifier: 3593AACB-5107-43E7-8DEC-54437A378D8B Device Start End Sectors Size Type /dev/sdb1 97671168 976771071 879099904 419.2G Linux RAID /dev/sdb2 2048 97671167 97669120 46.6G Linux filesystem Partition table entries are not in disk order. root@banach:~# cat /proc/mdstat Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sda1[0] sdb1[1] 439417856 blocks super 1.2 [2/2] [UU] unused devices: root@banach:~# root@banach:~# pvs PV VG Fmt Attr PSize PFree /dev/md0 banach lvm2 a-- <419.06g 42.81g root@banach:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 419.2G 0 part │ └─md0 9:0 0 419.1G 0 raid1 │ ├─banach-root 253:0 0 14.9G 0 lvm / │ ├─banach-var 253:1 0 7.4G 0 lvm /var │ ├─banach-audio 253:2 0 186.3G 0 lvm /srv/audio │ ├─banach-data 253:3 0 111.8G 0 lvm /srv/data │ └─banach-home 253:4 0 55.9G 0 lvm /home ├─sda2 8:2 0 94M 0 part /boot/efi └─sda3 8:3 0 46.5G 0 part [SWAP] sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 419.2G 0 part │ └─md0 9:0 0 419.1G 0 raid1 │ ├─banach-root 253:0 0 14.9G 0 lvm / │ ├─banach-var 253:1 0 7.4G 0 lvm /var │ ├─banach-audio 253:2 0 186.3G 0 lvm /srv/audio │ ├─banach-data 253:3 0 111.8G 0 lvm /srv/data │ └─banach-home 253:4 0 55.9G 0 lvm /home └─sdb2 8:18 0 46.6G 0 part root@banach:~# df -h | grep -v tmpfs Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev efivarfs 118K 50K 63K 45% /sys/firmware/efi/efivars /dev/mapper/banach-root 15G 6.7G 7.2G 48% / /dev/mapper/banach-data 110G 8.1G 96G 8% /srv/data /dev/mapper/banach-audio 183G 2.1M 173G 1% /srv/audio /dev/mapper/banach-home 55G 32G 21G 62% /home /dev/sda2 93M 9.0M 84M 10% /boot/efi /dev/mapper/banach-var 7.3G 698M 6.2G 10% /var ext4 filesystems on / home audio data and var todo : find out where my grub stuff is. nota bene : these days, lots of linux power users choose zfs (or btrfs (tnx plenae)) to deal with all of this. using grub is loosing popularity too. ymmv. PS: these days, people no longer dedicate a separate filesystem to /boot. it's generally part of / now. PPS: EFI partition of 93M might turn out to be problematic. See https://salsa.debian.org/installer-team/partman-auto/-/merge_requests/15 : minimal size according to some should be 768 MB. See also https://salsa.debian.org/installer-team/partman-auto/-/merge_requests/13#note_508565 (tnx diederik). PPPS: even more opinions: https://chrisdown.name/2018/01/02/in-defence-of-swap.html and https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html