Extend luks partition without lvm

Hi I installed garuda in my 512GB nvme in my hp victus alongside of windows 10.

I checked the encrypt the system option in the install.

lsblk 

nvme0n1                                       259:0    0 476.9G  0 disk
├─nvme0n1p1                                   259:1    0   100M  0 part  /boot/efi
├─nvme0n1p2                                   259:2    0    16M  0 part
├─nvme0n1p3                                   259:3    0 292.4G  0 part
├─nvme0n1p4                                   259:4    0  86.8G  0 part
│ └─luks-6496f81f-c9c0-40a4-af0c-78786cc5b81d 254:0    0  86.8G  0 crypt /var/tmp
│                                                                        /var/log
│                                                                        /var/cache
│                                                                        /srv
│                                                                        /root
│                                                                        /home
│                                                                        /
└─nvme0n1p5                                   259:5    0  97.7G  0 part
  └─bd                                        254:1    0  97.6G  0 crypt /home/wl/bd

Then I got 4 partition

  1. EFI
  2. Microsoft reserve probably
  3. C drive main windows partion
  4. Garuda

then i ran out of space in the main drive of garuda
so I shrink windwos drive and created a new partion but my garuda root and home partion is still fulll therefore I cant install any apps from pacman.

So is there anyway to extentd luks partion withouth lvm(idk anything about lvm I dont even know that it is setup in my system,)

Typically a Btrfs system will not use LVM. It is either impractical or impossible, I’m actually not actually sure which.

Did you save a lot of files to the drive, or is something else happening? Please post the output of:

lsblk -o name,size,fstype,fssize,fsused,fsuse%,mountpoints

Creating a new partition is not an action that will solve this issue on its own, you will have to take an additional action such as moving some files or even mount points. First though, is a separate partition what you want or do you want to make the existing partition larger?

1 Like

Less problematic is to encrypt only what requires encryption.
But that is not the topic, it would be nice if you would follow the template and supply your garuda-inxi.

2 Likes

inxi

System:
  Host: wl Kernel: 5.18.16-zen1-1-zen arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.25.4 Distro: Garuda Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Laptop 16-e0xxx v: N/A
    serial: <superuser required>
  Mobo: HP model: 88EB v: 80.72 serial: <superuser required> UEFI: AMI
    v: F.14 date: 03/14/2022
Battery:
  ID-1: BAT0 charge: 70.0 Wh (99.9%) condition: 70.1/70.1 Wh (100.0%)
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1471 min/max: 1200/4280 cores: 1: 3699 2: 1396 3: 1197
    4: 1196 5: 1395 6: 1396 7: 1197 8: 1389 9: 1197 10: 1196 11: 1197 12: 1197
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: N/A
  Device-2: AMD Cezanne driver: amdgpu v: kernel
  Device-3: Quanta HP Wide Vision HD Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3 driver: X:
    loaded: modesetting gpu: amdgpu resolution: 1920x1080~144Hz
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.46 5.18.16-zen1-1-zen)
    v: 4.6 Mesa 22.1.4
Audio:
  Device-1: NVIDIA driver: snd_hda_intel
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_rn_pci_acp3x
  Device-4: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.18.16-zen1-1-zen running: yes
  Sound Server-2: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: down mac: a8:b1:3b:74:c1:b8
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    driver: rtw89_8852ae
  IF: wlo1 state: up mac: 4c:d5:77:e2:21:8b
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb
  Report: bt-adapter ID: hci0 state: up address: 4C:D5:77:E2:21:8C
Drives:
  Local Storage: total: 476.94 GiB used: 114.1 GiB (23.9%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC711 HFS512GDE9X073N
    size: 476.94 GiB
Partition:
  ID-1: / size: 86.81 GiB used: 84.33 GiB (97.1%) fs: btrfs dev: /dev/dm-0
  ID-2: /boot/efi size: 96 MiB used: 51.5 MiB (53.7%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 86.81 GiB used: 84.33 GiB (97.1%) fs: btrfs
    dev: /dev/dm-0
  ID-4: /var/log size: 86.81 GiB used: 84.33 GiB (97.1%) fs: btrfs
    dev: /dev/dm-0
  ID-5: /var/tmp size: 86.81 GiB used: 84.33 GiB (97.1%) fs: btrfs
    dev: /dev/dm-0
Swap:
  ID-1: swap-1 type: zram size: 14.97 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.9 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): fan-1: 2390 fan-2: 2582
Info:
  Processes: 318 Uptime: 3m Memory: 14.97 GiB used: 1.95 GiB (13.0%)
  Shell: Zsh inxi: 3.3.20
NAME             SIZE FSTYPE      FSSIZE FSUSED FSUSE% MOUNTPOINTS
zram0             15G                                  [SWAP]
nvme0n1        476.9G
├─nvme0n1p1      100M vfat           96M  51.5M    54% /boot/efi
├─nvme0n1p2       16M
├─nvme0n1p3    292.4G
├─nvme0n1p4     86.8G crypto_LUKS
│ └─luks-6496f81f-c9c0-40a4-af0c-78786cc5b81d
│               86.8G btrfs                            /var/tmp
└─nvme0n1p5     97.7G crypto_LUKS
  └─bd          97.6G ext4         95.5G  29.7G    31% /home/wl/bd

Your post has been edited to add code formatting. You can add this yourself when you post terminal output by adding three tildes (~) before and after the text
~~~
like this.
~~~

Hmm, this does not look right. There should be more mount points for the subvolumes, and the filesystem information you requested is all missing. I don’t even see / anywhere. Is this drive mounted correctly?

Can you post

lsblk -f

and

cat /etc/fstab
1 Like