Disks and subvolume

Hi all, my laptom has two dds:

on first one I've created /boot/efi + root
on second hard disk I've created /home

file system btrf

It's normal that in btrfs-assistant I don't see subvolume home?

this is just for know if all is ok

Rgs.

Rob.

Missing garuda-inxi :slight_smile:

Do you use Garuda Linux?

Why you post a picture?

sudo btrfs subvolume list /
lsblk

If you change the defaults, you should know why @home doesn't appear, right?

1 Like

Thank you for your reply

System:
  Kernel: 5.19.7-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=ebebbf38-3a1b-453b-b0f4-2ecd10e72e70
    rw [email protected] quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0 Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: GL753VD v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: GL753VD v: 1.0 serial: <superuser required> UEFI: American Megatrends
    v: GL753VD.308 date: 04/29/2019
Battery:
  ID-1: BAT0 charge: 34.3 Wh (99.4%) condition: 34.5/48.2 Wh (71.6%) volts: 16.2 min: 14.4
    model: Simplo SDI ICR18650 type: Li-ion serial: <filter> status: not charging cycles: 33
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M315/M235 serial: <filter> charge: 5%
    (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake gen: core 7 built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB desc: d-4x32
    KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1550 high: 1600 min/max: 800/3800 scaling: driver: intel_pstate
    governor: powersave cores: 1: 1600 2: 1200 3: 1600 4: 1600 5: 1600 6: 1600 7: 1600 8: 1600
    bogomips: 44798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK driver: nouveau v: kernel
    non-free: 515.xx+ status: current (as of 2022-07) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-11:5
    chip-ID: 13d3:5666 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3 compositor: gnome-shell driver:
    X: loaded: modesetting,nouveau alternate: fbdev,intel,nv,vesa gpu: i915 display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: LG Display 0x04e8 built: 2015 res: 1920x1080 hz: 60 dpi: 128
    gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel CM238 HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:a171 class-ID: 0403
  Sound Server-1: ALSA v: k5.19.7-zen2-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.57 running: yes
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 8086:095a class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411
 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-9:4
    chip-ID: 8087:0a2a class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 1.14 TiB used: 89.73 GiB (7.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: A020
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q
    scheme: GPT
Partition:
  ID-1: / raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 931.51 GiB size: 931.51 GiB (100.00%) used: 54.49 GiB (5.8%) fs: btrfs
    dev: /dev/sdb1 maj-min: 8:17
  ID-4: /var/log raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.51 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 50.0 C pch: 52.0 C mobo: N/A gpu: nouveau temp: 42.0 C
  Fan Speeds (RPM): cpu: 2000
Info:
  Processes: 326 Uptime: 3h 2m wakeups: 9 Memory: 15.51 GiB used: 3.68 GiB (23.7%) Init: systemd
  v: 251 default: graphical tool: systemctl Compilers: gcc: 12.2.0 Packages: 1459 pacman: 1438
  lib: 376 flatpak: 21 Client: shell wrapper v: 5.1.16-release inxi: 3.3.20
Garuda (2.6.7-1):
  System install date:     2022-09-11
  Last full system update: 2022-09-11
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:            
sudo btrfs subvolume list /
[sudo] password di robertocannito:        
ID 256 gen 695 top level 5 path @
ID 257 gen 506 top level 5 path @root
ID 258 gen 36 top level 5 path @srv
ID 259 gen 693 top level 5 path @cache
ID 260 gen 691 top level 5 path @log
ID 261 gen 695 top level 5 path @tmp
ID 262 gen 526 top level 256 path .snapshots
ID 295 gen 462 top level 262 path .snapshots/33/snapshot
ID 296 gen 463 top level 262 path .snapshots/34/snapshot
ID 297 gen 466 top level 262 path .snapshots/35/snapshot
ID 298 gen 467 top level 262 path .snapshots/36/snapshot
ID 299 gen 475 top level 262 path .snapshots/37/snapshot
ID 300 gen 476 top level 262 path .snapshots/38/snapshot
ID 301 gen 482 top level 262 path .snapshots/39/snapshot
ID 302 gen 483 top level 262 path .snapshots/40/snapshot
ID 303 gen 492 top level 262 path .snapshots/41/snapshot
ID 304 gen 493 top level 262 path .snapshots/42/snapshot
 lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238,5G  0 disk 
├─sda1   8:1    0   300M  0 part /boot/efi
└─sda2   8:2    0 238,2G  0 part /var/cache
sdb      8:16   0 931,5G  0 disk 
└─sdb1   8:17   0 931,5G  0 part /home
sr0     11:0    1  1024M  0 rom  
zram0  254:0    0  15,5G  0 disk [SWAP]

Sincerly I didn't know, I'm new to Garuda, is this necessary or is ok?
Eventually is this a problem and how I can fix it?

Must I create also a config for home with:
snapper -c home create-config /home
?

Creating subvolumes on specific directories is made in order to prevent them from being snapshotted. If /home is on a seperate partition, it will not be a part of the OS partition so creating a /home subvolume will be unnecessary.

Must I create also a config for home with:
snapper -c home create-config /home

Usually this is not necessary.

Creating subvolumes on specific directories is made in order to prevent them from being snapshotted. If /home is on a seperate partition, it will not be a part of the OS partition so creating a /home subvolume will be unnecessary.

So what do you suggest?
Could you tell me step by step what I must do?

With /home on a separate disk, I believe this is correct and I think you will have to create a subvolume for it first as well since it is a different partition.

The step-by-step guide is here: Snapper - ArchWiki

3 Likes

I'm not able to create subvolume on hdb, there's an already partition and I think that I've made a big trouble, I don't know what I've made but hdb has been fused with hda... ish..
force to use gparder from live distro for create again the two disks..

I don't know how to do, if somebody may explaine me and follow me step by step this should be great.. otherwise never mind

if easy also starting from a new installation

Agent-whoogle-02-sgs-250

1 Like

Well... from your inxi:

Drives:
  Local Storage: total: 1.14 TiB used: 89.73 GiB (7.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: 1100 MTFDDAV256TBN size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: A020
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 4B6Q
    scheme: GPT
Partition:
  ID-1: / raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 931.51 GiB size: 931.51 GiB (100.00%) used: 54.49 GiB (5.8%) fs: btrfs
    dev: /dev/sdb1 maj-min: 8:17
  ID-4: /var/log raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 238.18 GiB size: 238.18 GiB (100.00%) used: 13.52 GiB (5.7%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2

Is it very neccessary for you to have your /home on the bigger ssd?

Otherwise you could just reinstall including /home in your sda and the "problem" is gone.

Then again: Why is it a problem in general? Is it very neccessary for you to be able to use snapper on your /home partition? Because usually it's used to set the system back after fucking up and /home usually does not get fucked up... ever.

Where exactly do you think you have made an error?

If this is still a question for you I'd answer it - again, as others already did - with no, and suggest moving on.

If you're unwilling to move on from it, use the link @BluishHumility gave and put in the work. :wink:

Whatever you are attempting to communicate here is unclear. If your disk layout has changed, explain what happened and show:

lsblk -f

and

sudo parted -l
3 Likes