Call for testers for new Garuda Assistant features

How about this:

2 Likes

I like that :100:

1 Like

@dalto just fired up my laptop and tried it on there.
it looks like if i try to delete @ then it asks for are you sure ? yes then it takes you too asking for root password, not you cannot delete mounted volume.
Also you cannot load btrfs subvolumes until you load btrfs data in general first
hope this helps

╰─λ findmnt --real 
TARGET                  SOURCE                                 FSTYPE   OPTIONS
/                       /dev/nvme0n1p4[/@]                     btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/run/timeshift/backup /dev/nvme0n1p4                         btrfs    rw,relatime,compress=zstd:3,ssd,space_cache
β”œβ”€/root                 /dev/nvme0n1p4[/@root]                 btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/boot/efi             /dev/nvme0n1p1                         vfat     rw,relatime,fmask=0077,dmask=0077,codepage=
β”œβ”€/home                 /dev/nvme0n1p4[/@home]                 btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/srv                  /dev/nvme0n1p4[/@srv]                  btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/var/cache            /dev/nvme0n1p4[/@cache]                btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/var/log              /dev/nvme0n1p4[/@log]                  btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
β”œβ”€/var/tmp              /dev/nvme0n1p4[/@tmp]                  btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
└─/var/lib/anbox/rootfs /dev/loop0                             squashfs ro,relatime
β”œβ”€/var/lib/anbox/rootfs/cache
β”‚                     /dev/nvme0n1p4[/@/var/lib/anbox/cache] btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,
└─/var/lib/anbox/rootfs/data
/dev/nvme0n1p4[/@/var/lib/anbox/data]  btrfs    rw,noatime,compress=zstd:3,ssd,space_cache,

╭─brian@brian in ~ took 2ms
╰─λ btrfs sub li /
ERROR: can't perform the search: Operation not permitted

╭─brian@brian in ~
[πŸ”΄] Γ— sudo btrfs sub li /
ID 256 gen 90096 top level 5 path @
ID 257 gen 90097 top level 5 path @home
ID 258 gen 90073 top level 5 path @root
ID 259 gen 86302 top level 5 path @srv
ID 260 gen 90092 top level 5 path @cache
ID 261 gen 90097 top level 5 path @log
ID 262 gen 88201 top level 5 path @tmp
ID 577 gen 88286 top level 5 path timeshift-btrfs/snapshots/2021-08-23_04-00-01/@
ID 578 gen 88285 top level 5 path timeshift-btrfs/snapshots/2021-08-23_06-48-18/@
ID 579 gen 88285 top level 5 path timeshift-btrfs/snapshots/2021-08-23_17-04-25/@
ID 580 gen 88285 top level 5 path timeshift-btrfs/snapshots/2021-08-24_04-00-01/@
ID 581 gen 90072 top level 5 path timeshift-btrfs/snapshots/2021-08-24_07-12-41/@
ID 582 gen 88284 top level 5 path timeshift-btrfs/snapshots/2021-08-24_21-40-10/@
ID 583 gen 88284 top level 5 path timeshift-btrfs/snapshots/2021-08-25_04-00-02/@
ID 584 gen 90071 top level 5 path timeshift-btrfs/snapshots/2021-08-25_21-07-54/@~~~

Hmm…that isn’t good. If it reaches the point where it asking for a password it is about to delete it.

Can I see a couple of more things from that machine?

findmnt / -o source,target,uuid
sudo btrfs fi show

That is because it doesn’t know which device to read the subvolumes from if you have selected a device yet.

1 Like
╭─brian@brian in ~ took 8s
╰─λ findmnt / -o source,target,uuid
SOURCE             TARGET UUID
/dev/nvme0n1p4[/@] /      254c08ed-2f9a-4d57-8d98-9b56a52c327f
1 Like
Label: none  uuid: 254c08ed-2f9a-4d57-8d98-9b56a52c327f
Total devices 1 FS bytes used 84.36GiB
devid    1 size 428.71GiB used 89.03GiB path /dev/nvme0n1p4
1 Like

Ok if that is what is intended :smiley:

1 Like

That is odd my output looks like this:

Label: none  uuid: e4405217-3101-4ebd-8f25-7cd714f75ea0
Total devices 2 FS bytes used 12.29GiB
devid    1 size 79.74GiB used 14.07GiB path /dev/sda2
devid    2 size 8.00GiB used 0.00B path /dev/sdc1

Label: none  uuid: 7ae7f073-e7c8-4ced-96f8-d02b356f83d9
Total devices 1 FS bytes used 192.00KiB
devid    1 size 8.00GiB used 536.00MiB path /dev/sdb1

Does yours not have the first line with the UUID?

Also, what is the deal with the ~~~, is that your terminal truncating the output or something else?

EDIT: nvm, I see your output is just misformatted.

1 Like

It looks like the output from findmnt --real is truncated, the options are cut off in the middle.

Realistically, it would probably be better to load the btrfs data when the application loads. The only reason I didn't is because it would cause a password prompt.

1 Like

May i help in something?

Love the diagnostic thing. Maybe save the data in garuda's private bin?

The btrfs information, in the device selecter instead of the uuid can the device name be used?

It asked me for confirmation to delete my home volume, Now i don't feel like pressing yes. So is their a failsafe after this stage or before this stage?

Those outputs are small so I think it is better to encourage them to post them directly in the forum than on privatebin. The copy for forum button adds the formatting tags for the forum.

That was my original intention but btrfs volumes can span devices so the only reliable indicator is UUID.

Right now, you will get asked for your password if it is really going to proceed. Don’t enter it if you don’t want your data to be deleted.

That being said, @TilliDie pointed out the same thing. Right now, the confirmation question is the first check. It should probably be the last check.

2 Likes

Dont know why everything in BTRFS is empty for me

IF this is of any use

╰─λ findmnt --real
TARGET        SOURCE             FSTYPE      OPTIONS
/             /dev/sda5[/@]      btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=315,subvol=/@
β”œβ”€/run/user/1000/doc
β”‚             portal             fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1001
β”œβ”€/var/tmp    /dev/sda5[/@tmp]   btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=262,subvol=/@tmp
β”œβ”€/root       /dev/sda5[/@root]  btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=258,subvol=/@root
β”œβ”€/home       /dev/sda5[/@home]  btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=257,subvol=/@home
β”œβ”€/var/log    /dev/sda5[/@log]   btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=261,subvol=/@log
β”œβ”€/boot/efi   /dev/sda1          vfat        rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
β”œβ”€/var/cache  /dev/sda5[/@cache] btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=260,subvol=/@cache
└─/srv        /dev/sda5[/@srv]   btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=259,subvol=/@srv

╭─vinay007@vinay in ~ took 4ms
╰─λ findmnt
TARGET                         SOURCE           FSTYPE      OPTIONS
/                              /dev/sda5[/@]    btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=315,subvol=/@
β”œβ”€/proc                        proc             proc        rw,nosuid,nodev,noexec,relatime
β”‚ └─/proc/sys/fs/binfmt_misc   systemd-1        autofs      rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16420
β”‚   └─/proc/sys/fs/binfmt_misc binfmt_misc      binfmt_misc rw,nosuid,nodev,noexec,relatime
β”œβ”€/sys                         sys              sysfs       rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/firmware/efi/efivars  efivarfs         efivarfs    rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/kernel/security       securityfs       securityfs  rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/fs/cgroup             cgroup2          cgroup2     rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
β”‚ β”œβ”€/sys/fs/pstore             pstore           pstore      rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/fs/bpf                none             bpf         rw,nosuid,nodev,noexec,relatime,mode=700
β”‚ β”œβ”€/sys/kernel/debug          debugfs          debugfs     rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/kernel/tracing        tracefs          tracefs     rw,nosuid,nodev,noexec,relatime
β”‚ β”œβ”€/sys/fs/fuse/connections   fusectl          fusectl     rw,nosuid,nodev,noexec,relatime
β”‚ └─/sys/kernel/config         configfs         configfs    rw,nosuid,nodev,noexec,relatime
β”œβ”€/dev                         dev              devtmpfs    rw,nosuid,relatime,size=3970492k,nr_inodes=992623,mode=755,inode64
β”‚ β”œβ”€/dev/pts                   devpts           devpts      rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
β”‚ β”œβ”€/dev/shm                   tmpfs            tmpfs       rw,nosuid,nodev,inode64
β”‚ β”œβ”€/dev/hugepages             hugetlbfs        hugetlbfs   rw,relatime,pagesize=2M
β”‚ β”œβ”€/dev/binderfs              none             binder      rw,relatime,max=1048576
β”‚ └─/dev/mqueue                mqueue           mqueue      rw,nosuid,nodev,noexec,relatime
β”œβ”€/run                         run              tmpfs       rw,nosuid,nodev,relatime,mode=755,inode64
β”‚ β”œβ”€/run/credentials/systemd-sysusers.service
β”‚ β”‚                            none             ramfs       ro,nosuid,nodev,noexec,relatime,mode=700
β”‚ └─/run/user/1000             tmpfs            tmpfs       rw,nosuid,nodev,relatime,size=799076k,nr_inodes=199769,mode=700,uid=1000,gid=1001,inod
β”‚   └─/run/user/1000/doc       portal           fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1001
β”œβ”€/var/tmp                     /dev/sda5[/@tmp] btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=262,subvol=/@tmp
β”œβ”€/root                        /dev/sda5[/@root]
β”‚                                               btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=258,subvol=/@root
β”œβ”€/home                        /dev/sda5[/@home]
β”‚                                               btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=257,subvol=/@home
β”‚ └─/home/guest                tmpfs            tmpfs       rw,nosuid,nodev,mode=750,uid=1001,gid=984,inode64
β”œβ”€/var/log                     /dev/sda5[/@log] btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=261,subvol=/@log
β”œβ”€/boot/efi                    /dev/sda1        vfat        rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,er
β”œβ”€/var/cache                   /dev/sda5[/@cache]
β”‚                                               btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=260,subvol=/@cache
β”œβ”€/srv                         /dev/sda5[/@srv] btrfs       rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=259,subvol=/@srv
└─/tmp                         tmpfs            tmpfs       rw,noatime,inode64

1 Like

@vinay007 You need to load btrfs data

3 Likes

wow im really noob

1 Like

I am going to look at the way we are handling data there and see if there is a way we can preload data without asking for a password multiple times.

I also need to change the defaults for those bars to 0 instead of 24.

3 Likes

I also show nothing in btrfs general tab, and when I go to Devices, nothing shows up there. Also the subvolumes tab is empty.

findmnt --real
TARGET             SOURCE                  FSTYPE OPTIONS
/                  /dev/nvme0n1p2[/@]      btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=446,subvol=/@
β”œβ”€/media/NASMedia  //192.168.2.9/media     cifs   rw,relatime,vers=2.1,cache=strict,username=tim,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.2.9,file_m
β”œβ”€/var/log         /dev/nvme0n1p2[/@log]   btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=260,subvol=/@log
β”œβ”€/var/tmp         /dev/nvme0n1p2[/@tmp]   btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=261,subvol=/@tmp
β”œβ”€/srv             /dev/nvme0n1p2[/@srv]   btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=258,subvol=/@srv
β”œβ”€/boot/efi        /dev/nvme0n1p1          vfat   rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
β”œβ”€/root            /dev/nvme0n1p2[/@root]  btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=257,subvol=/@root
β”œβ”€/var/cache       /dev/nvme0n1p2[/@cache] btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=259,subvol=/@cache
└─/home            /dev/nvme0n1p3          btrfs  rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/
  └─/home/tim/Data /dev/sda1               btrfs  rw,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/

The solution is probably also the same. You need to hit the load btrfs data button. :rofl:

1 Like

@dalto Ive just tested again on vm and you can delete the @ volume