I am a firm believer in reading the fine manual and my setup has been running without a hitch for a while now but I just wanted to check with the more experienced that I did everything correctly because sometimes I'm overwhelmed by the amount of things I don't know about Linux.
There's some things I'm not sure about like whether I left enough storage for over provisioning (or whether that's fully necessary). To setup my system I followed the doc,
https://wiki.debian.org/SSDOptimization
https://wiki.debian.org/fstab
Also what is the official deal with swap. I have 16GB of ram so I know from a memory perspective that's more than necessary but do I need virtual memory for programming in C?
Here is my /etc/fstab:
Code: Select all
brian@debian:~$ nano /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=ca18d8b0-4e4d-4a67-a7b0-635e4939d040 / ext4 relatime,errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=FE23-26D5 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda1 during installation
UUID=99d48a0b-6526-4e04-b5b2-1875627c4a20 /home ext4 defaults,relatime 0 2
# swap was on /dev/sda2 during installation
UUID=0d809cfd-4de3-4779-808c-857ea563cbda none swap sw 0 0
Code: Select all
brian@debian:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 465.7G 0 part /home
├─sda2 8:2 0 14.9G 0 part [SWAP]
└─sda3 8:3 0 390.6G 0 part
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 500M 0 part /boot/efi
├─nvme0n1p2 259:2 0 128M 0 part
├─nvme0n1p3 259:3 0 124.7G 0 part
├─nvme0n1p4 259:4 0 839M 0 part
├─nvme0n1p5 259:5 0 13.6G 0 part
├─nvme0n1p6 259:6 0 1.1G 0 part
└─nvme0n1p7 259:7 0 93.1G 0 part /
Code: Select all
brian@debian:~$ blkid
/dev/nvme0n1: PTUUID="0e1899c9-10ee-46f3-af9a-00c8d4cd329a" PTTYPE="gpt"
/dev/nvme0n1p1: LABEL="ESP" UUID="FE23-26D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6d4b5f27-3262-4691-a308-d49810e4ce9d"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="2912c7bc-c2a6-4b26-af05-f2bcb112bd94"
/dev/nvme0n1p3: UUID="8E287A78287A5EE1" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="75fd58ad-842e-4a03-ad63-f6d46bf145ae"
/dev/nvme0n1p4: UUID="C60884DB0884CC3D" TYPE="ntfs" PARTUUID="dde02da8-715d-481a-a95f-330a914f596b"
/dev/nvme0n1p5: LABEL="Image" UUID="F430C8E030C8AB46" TYPE="ntfs" PARTUUID="12e7bd73-c060-49c5-b190-68d2798c6d1c"
/dev/nvme0n1p6: LABEL="DELLSUPPORT" UUID="3C5C21C95C217F30" TYPE="ntfs" PARTUUID="7c08d8d5-9886-44d3-8589-4da233b1de0a"
/dev/nvme0n1p7: UUID="ca18d8b0-4e4d-4a67-a7b0-635e4939d040" TYPE="ext4" PARTUUID="31099fb9-ae66-446f-93fc-70dd118861d2"
/dev/sda1: UUID="99d48a0b-6526-4e04-b5b2-1875627c4a20" TYPE="ext4" PARTUUID="e613bb21-9a99-4f26-8653-833a9b2010d0"
/dev/sda2: UUID="0d809cfd-4de3-4779-808c-857ea563cbda" TYPE="swap" PARTUUID="47b87bb4-15e5-4235-829c-0238d35c19be"
/dev/sda3: LABEL="Data" UUID="B2EE168CEE1648CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ca9bb2d2-b6ed-4f3e-ad88-183695dc41aa"