• btrfs

    From Michael Dukelsky@2:5020/1042 to All on Thu Feb 15 13:54:18 2024
    Привет, All!

    Раньше уже были созданы subvolumes. Создаю новый subvolume

    # btrfs subvolume create /srv/images
    Create subvolume '/srv/images'

    # btrfs subvolume list / | grep srv
    ID 345 gen 13181 top level 268 path srv/images

    # ls -l /srv
    total 0
    drwxr-xr-x. 1 root root 0 фев 15 13:22 images

    Вписываю созданное в /etc/fstab
    [...]
    LABEL=rootvol /opt btrfs subvol=opt,compress=zstd:1,nodev 0 0 LABEL=rootvol /var/cache btrfs subvol=var/cache,compress=zstd:1 0 0 LABEL=rootvol /var/crash btrfs subvol=var/crash,compress=zstd:1 0 0 LABEL=rootvol /var/lib/sddm btrfs subvol=var/lib/sddm,compress=zstd:1 0 0 LABEL=rootvol /srv/images btrfs subvol=srv/images,compress=zstd:1,nodev,nosuid,noexec 0 0
    [...]

    Теперь
    # systemctl daemon-reload
    # mount -va
    [...]
    /opt : already mounted
    /var/cache : already mounted
    /var/crash : already mounted
    /var/lib/sddm : already mounted
    mount: /srv/images: mount(2) system call failed: No such file or directory.
    dmesg(1) may have more information after failed mount system call.
    [...]

    Что я делаю не так?

    Желаю успехов, All!
    За сим откланиваюсь, Michael.

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: ==<<.f1042.ru.>>== (2:5020/1042)