Názor k článku Linuxové jádro 5.12 přinese rychlejší Btrfs a podporu Ryzenů 5000 od Peter Lištiak - Vyskúšal som a budem sledovať ako sa to...

  • Článek je starý, nové názory již nelze přidávat.
  • 20. 2. 2021 13:47

    Peter Lištiak

    Vyskúšal som a budem sledovať ako sa to správa. Tiež mi napadlo, či nie je problém v nesprávnom rozdelení na subvolumes a následnými snapshotmi. Momentálne mám iba dve subvolume - @ pre / a @home pre /home. Snapshoty vytvára automaticky timeshift, hlavne pri práci s apt (timeshift-autosnap-apt). Možno je problém v tom, že na tých snapshotoch sú data, ktoré sa často menia (cache a pod.) a po ich zmene/vymazaní musí btrfs veľa upratovať. Mohli by ste mi poslať rozdelenie subvolume u vás? V /etc/fstab mám toto:

    UUID=e9dc761d-68e1-455a-ad6b-26537b2e0f9b /               btrfs   defaults,subvol=@,ssd,noatime,space_cache,commit=120,compress=zstd 0       1
    UUID=e9dc761d-68e1-455a-ad6b-26537b2e0f9b /home           btrfs   defaults,subvol=@home,ssd,noatime,space_cache,commit=120,compress=zstd 0       2

    A snapshoty vyzerajú takto:

    root@desktopwork:~# btrfs subvolume list /
    ID 256 gen 21253 top level 5 path @
    ID 257 gen 21253 top level 5 path @home
    ID 280 gen 20596 top level 5 path timeshift-btrfs/snapshots/2020-12-15_19-33-30/@
    ID 281 gen 2089 top level 5 path timeshift-btrfs/snapshots/2020-12-15_19-33-30/@home
    ID 500 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-01-16_15-00-01/@
    ID 501 gen 11339 top level 5 path timeshift-btrfs/snapshots/2021-01-16_15-00-01/@home
    ID 603 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-05_11-00-01/@
    ID 604 gen 17192 top level 5 path timeshift-btrfs/snapshots/2021-02-05_11-00-01/@home
    ID 633 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-12_12-00-02/@
    ID 634 gen 19097 top level 5 path timeshift-btrfs/snapshots/2021-02-12_12-00-02/@home
    ID 643 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-15_10-00-01/@
    ID 644 gen 19494 top level 5 path timeshift-btrfs/snapshots/2021-02-15_10-00-01/@home
    ID 647 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-16_13-00-01/@
    ID 648 gen 19871 top level 5 path timeshift-btrfs/snapshots/2021-02-16_13-00-01/@home
    ID 651 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-16_15-00-01/@
    ID 652 gen 19942 top level 5 path timeshift-btrfs/snapshots/2021-02-16_15-00-01/@home
    ID 653 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-17_14-00-01/@
    ID 654 gen 20072 top level 5 path timeshift-btrfs/snapshots/2021-02-17_14-00-01/@home
    ID 663 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-18_14-00-02/@
    ID 664 gen 20332 top level 5 path timeshift-btrfs/snapshots/2021-02-18_14-00-02/@home
    ID 669 gen 20596 top level 5 path timeshift-btrfs/snapshots/2021-02-19_15-00-01/@
    ID 670 gen 20566 top level 5 path timeshift-btrfs/snapshots/2021-02-19_15-00-01/@home
    ID 675 gen 20601 top level 5 path timeshift-btrfs/snapshots/2021-02-19_15-40-18/@
    ID 677 gen 21165 top level 257 path @home/.snapshots
    ID 678 gen 21170 top level 5 path timeshift-btrfs/snapshots/2021-02-20_11-09-15/@
    ID 679 gen 21170 top level 5 path timeshift-btrfs/snapshots/2021-02-20_11-09-15/@home
    ID 680 gen 21177 top level 5 path timeshift-btrfs/snapshots/2021-02-20_11-17-25/@
    ID 681 gen 21177 top level 5 path timeshift-btrfs/snapshots/2021-02-20_11-17-25/@home
    ID 682 gen 21220 top level 5 path timeshift-btrfs/snapshots/2021-02-20_12-31-59/@
    ID 683 gen 21220 top level 5 path timeshift-btrfs/snapshots/2021-02-20_12-31-59/@home