Hi.
I just finished a new build to replace my current build. After installing
cockpit, and checking Storage, i noticed some warnings about the disks. It
claims that /root, /home and /var are not mounted. I think they are. I just
wonder if I am doing something wrong or weird here and I'd appreciate a
second look.
Here is my fdisk
root@pepewin2:~# fdisk -l
Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: CT250MX500SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: BC00B518-F1B2-4E9B-9974-1D9612A26EF6
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M EFI System
/dev/sda2 2050048 6244351 4194304 2G Linux extended boot
/dev/sda3 6244352 488396799 482152448 229.9G Linux filesystem
Disk /dev/nvme0n1: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: CT4000P3PSSD8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/zram0: 8 GiB, 8589934592 bytes, 2097152 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Here is my fstab
root@pepewin2:~# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sat Jun 1 00:44:00 2024
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=f487ad1f-706e-48ae-bf48-6250db089806 / btrfs
subvol=root,compress=zstd:1 0 0
UUID=bdbee4ec-ad70-4099-bd9b-ae5fade659d7 /boot ext4
defaults 1 2
UUID=6685-48C2 /boot/efi vfat
umask=0077,shortname=winnt 0 2
UUID=14b53d5c-55ac-476b-86eb-d775f3d27a28 /home btrfs
subvol=home 0 0
UUID=14b53d5c-55ac-476b-86eb-d775f3d27a28 /var btrfs
subvol=var 0 0
Here are my subvols
root@pepewin2:~# btrfs subvol list /
ID 258 gen 1645 top level 5 path root
root@pepewin2:~# btrfs subvol list /home
ID 256 gen 15289 top level 5 path home
ID 257 gen 15289 top level 5 path var
root@pepewin2:~# btrfs subvol list /var
ID 256 gen 15289 top level 5 path home
ID 257 gen 15289 top level 5 path var
root@pepewin2:~# cat /etc/fstab
and here is what mount says...
root@pepewin2:~# mount
/dev/sda3 on / type btrfs
(rw,relatime,seclabel,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/root)
devtmpfs on /dev type devtmpfs
(rw,nosuid,seclabel,size=4096k,nr_inodes=4066606,mode=755,inode64)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel,inode64)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
securityfs on /sys/kernel/security type securityfs
(rw,nosuid,nodev,noexec,relatime)
cgroup2 on /sys/fs/cgroup type cgroup2
(rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore
(rw,nosuid,nodev,noexec,relatime,seclabel)
efivarfs on /sys/firmware/efi/efivars type efivarfs
(rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
configfs on /sys/kernel/config type configfs
(rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,seclabel,size=6522228k,nr_inodes=819200,mode=755,inode64)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,nosuid,noexec,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10692)
hugetlbfs on /dev/hugepages type hugetlbfs
(rw,nosuid,nodev,relatime,seclabel,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime,seclabel)
debugfs on /sys/kernel/debug type debugfs
(rw,nosuid,nodev,noexec,relatime,seclabel)
tracefs on /sys/kernel/tracing type tracefs
(rw,nosuid,nodev,noexec,relatime,seclabel)
fusectl on /sys/fs/fuse/connections type fusectl
(rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1 on /var type btrfs
(rw,relatime,seclabel,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/var)
/dev/nvme0n1 on /home type btrfs
(rw,relatime,seclabel,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/home)
tmpfs on /tmp type tmpfs
(rw,nosuid,nodev,seclabel,nr_inodes=1048576,inode64)
/dev/sda2 on /boot type ext4 (rw,relatime,seclabel)
/dev/sda1 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,nosuid,nodev,noexec,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs
(rw,nosuid,nodev,relatime,seclabel,size=3261112k,nr_inodes=815278,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
And here is the output of Cockpit
Storage
IDTypeLocationSize
nvme0n1 - CT4000P3PSSD8 (2402E88D0974)
btrfs filesystem
4.00 TB
/
btrfs subvolume (not mounted)
home
btrfs subvolume /home (not mounted)
var
btrfs subvolume /var (not mounted)
sda - CT250MX500SSD1 (2249E6914388)
GPT partitions
250 GB
sda1
vfat filesystem (EFI system partition) /boot/efi
0.020 / 1.0 GB
sda2
ext4 filesystem /boot
0.66 / 2.0 GB
sda3
btrfs filesystem
247 GB
/
btrfs subvolume (not mounted)
root
btrfs subvolume/ (not mounted)
Is there something am I not doing that I should have done?
Thanks
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.