Hi
Lappy with ~250 GB SSD, 8 GB RAM, & oS TW on it only for ~ 1 1/2 months [ie, new to it, & me]. As per subject line, i still feel i’m on my training wheels with TW, & am hence trying to learn lots, fast.
Here’s blkid for starters:
linux-763v:~> **sudo blkid**
[sudo] password for root:
/dev/sda1: PARTLABEL="primary" PARTUUID="snipped"
/dev/sda2: UUID="snipped" TYPE="vfat" PARTLABEL="primary" PARTUUID="snipped"
/dev/sda3: LABEL="root" UUID="snipped" UUID_SUB="snipped" TYPE="btrfs" PTTY
PE="dos" PARTLABEL="primary" PARTUUID="snipped"
/dev/sda4: UUID="snipped" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="snipped"
/dev/sda5: UUID="snipped" TYPE="crypto_LUKS" PARTLABEL="primary" PARTUUID="snipped"
/dev/mapper/cr_ata-SAMSUNG_SSD_PM810_2.5__256GB_S0N4NEAZB01960-part4: UUID="snipped" TYPE="swap"
/dev/mapper/cr_ata-SAMSUNG_SSD_PM810_2.5__256GB_S0N4NEAZB01960-part5: UUID="snipped" TYPE="ext4"
linux-763v:~>
I’ve already edited /etc/sysctl.conf to add:
# Sharply reduce swap inclination
vm.swappiness=1
# Improve cache management
vm.vfs_cache_pressure=50
…& so finally here’s my fstab:
/dev/mapper/cr_ata-SAMSUNG_SSD_PM810_2.5__256GB_S0N4NEAZB01960-part4 swap swap defaults 0 0UUID=snipped / btrfs noatime 0 0
UUID=snipped /boot/grub2/i386-pc btrfs noatime,subvol=@/boot/grub2/i386-pc 0 0
UUID=snipped /boot/grub2/x86_64-efi btrfs noatime,subvol=@/boot/grub2/x86_64-efi 0 0
UUID=snipped /opt btrfs noatime,subvol=@/opt 0 0
UUID=snipped /srv btrfs noatime,subvol=@/srv 0 0
UUID=snipped /usr/local btrfs noatime,subvol=@/usr/local 0 0
UUID=snipped /var/cache btrfs noatime,subvol=@/var/cache 0 0
UUID=snipped /var/crash btrfs noatime,subvol=@/var/crash 0 0
UUID=snipped /var/lib/libvirt/images btrfs noatime,subvol=@/var/lib/libvirt/images 0 0
UUID=snipped /var/lib/machines btrfs noatime,subvol=@/var/lib/machines 0 0
UUID=snipped /var/lib/mailman btrfs noatime,subvol=@/var/lib/mailman 0 0
UUID=snipped /var/lib/mariadb btrfs noatime,subvol=@/var/lib/mariadb 0 0
UUID=snipped /var/lib/mysql btrfs noatime,subvol=@/var/lib/mysql 0 0
UUID=snipped /var/lib/named btrfs noatime,subvol=@/var/lib/named 0 0
UUID=snipped /var/lib/pgsql btrfs noatime,subvol=@/var/lib/pgsql 0 0
UUID=snipped /var/log btrfs noatime,subvol=@/var/log 0 0
UUID=snipped /var/opt btrfs noatime,subvol=@/var/opt 0 0
UUID=snipped /var/spool btrfs noatime,subvol=@/var/spool 0 0
UUID=snipped /var/tmp btrfs noatime,subvol=@/var/tmp 0 0
UUID=snipped /.snapshots btrfs noatime,subvol=@/.snapshots 0 0
UUID=snipped /boot/efi vfat noatime,umask=0002,utf8=true 0 0
/dev/mapper/cr_ata-SAMSUNG_SSD_PM810_2.5__256GB_S0N4NEAZB01960-part5 /home ext4 noatime,acl,nofail 0 2
#tmpfs /tmp tmpfs noatime,size=25% 0 0
tmpfs /tmp tmpfs noatime,size=256m 0 0
Whilst i’d greatly value all comments on that file, i do have these specific questions:
- How can i create the label "home
" for my /home partition? YaST Partitioner wouldn’t even give me the option, & though KDE Partition Manager did, it then ignored the change i made. In contrast, YaST happily let me add label “root” to /. 1. Are the current /tmp tmpfs
settings ok / should they be improved? I note that my Tower’s Maui [32 GB RAM, & i run [i]substantially more programs simultaneously on Tower compared to Lappy] line is more complex:
tmpfs /tmp tmpfs defaults,noatime,size=2G,mode=1777 0 0
Thank you in anticipation.