About disk partitioning

Hello there. I have recently installed SLED SP1 on my laptop. Everything has been running flawlessly, but I cannot understand the way my SSD is partitioned. I have a 256 GB SSD, of which only a small part is devoted to my files, whereas the majority called XFS remains empty. Why is this happening? As you may have guessed, I chose the suggested partitioning during the installation. Thanks in advance.

Comments

  • malcolmlewismalcolmlewis Knowledge Partner

    Hi
    Can you show the output from;

    lsblk
    mount
    
  • NikosNikos New or Quiet Member

    Unfortunately, I have been away from home and will not have access to my laptop till Thursday. I will check what you suggested then. Thanks for your immediate response anyway.

  • NikosNikos New or Quiet Member

    Hello again. Here is the output you asked for:
    nikos@linux-kry5:~> lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 500M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 40G 0 part /boot/grub2/i386-pc
    ├─nvme0n1p3 259:3 0 190.3G 0 part /home
    └─nvme0n1p4 259:4 0 7.7G 0 part [SWAP]
    nikos@linux-kry5:~> mount
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    devtmpfs on /dev type devtmpfs (rw,nosuid,size=3885624k,nr_inodes=971406,mode=755)
    securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
    cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
    pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    /dev/nvme0n1p2 on / type btrfs (rw,relatime,ssd,space_cache,subvolid=267,subvol=/@/.snapshots/1/snapshot)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14997)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    /dev/nvme0n1p2 on /opt type btrfs (rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/opt)
    /dev/nvme0n1p2 on /root type btrfs (rw,relatime,ssd,space_cache,subvolid=262,subvol=/@/root)
    /dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/nvme0n1p2 on /.snapshots type btrfs (rw,relatime,ssd,space_cache,subvolid=266,subvol=/@/.snapshots)
    /dev/nvme0n1p2 on /boot/grub2/x86_64-efi type btrfs (rw,relatime,ssd,space_cache,subvolid=264,subvol=/@/boot/grub2/x86_64-efi)
    /dev/nvme0n1p3 on /home type xfs (rw,relatime,attr2,inode64,noquota)
    /dev/nvme0n1p2 on /tmp type btrfs (rw,relatime,ssd,space_cache,subvolid=260,subvol=/@/tmp)
    /dev/nvme0n1p2 on /usr/local type btrfs (rw,relatime,ssd,space_cache,subvolid=259,subvol=/@/usr/local)
    /dev/nvme0n1p2 on /srv type btrfs (rw,relatime,ssd,space_cache,subvolid=261,subvol=/@/srv)
    /dev/nvme0n1p2 on /var type btrfs (rw,relatime,ssd,space_cache,subvolid=258,subvol=/@/var)
    /dev/nvme0n1p2 on /boot/grub2/i386-pc type btrfs (rw,relatime,ssd,space_cache,subvolid=265,subvol=/@/boot/grub2/i386-pc)
    tmpfs on /run/user/463 type tmpfs (rw,nosuid,nodev,relatime,size=780800k,mode=700,uid=463,gid=465)
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=780800k,mode=700,uid=1000,gid=100)
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
    nikos@linux-kry5:~>
    Thanks in advance.

  • malcolmlewismalcolmlewis Knowledge Partner

    Hi
    So it didn't allocate all disk space during install (likely selected system defaults?), you could extend /home (p3) or just create a p5 and give it a mount point like sat stuff?

  • NikosNikos New or Quiet Member

    Thanks. I'm also considering choosing MBR instead of UEFI for the imminent installation of SP2, so I'll keep everything in the same partition.

  • malcolmlewismalcolmlewis Knowledge Partner

    Hi
    I would stick with UEFI, I have SP2 running here fine with UEFI and it's the way going forward. If secure boot is an issue, just disable and use the normal efi file rather than shim.

  • NikosNikos New or Quiet Member

    OK, I'll follow your advice.

Sign In or Register to comment.