| Summary: | Updated btrfs-progs 5.9 for kernel 5.9 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | ouaurelien, sysadmin-bugs, tarazed25 |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | btrfs-progs-5.7-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
David Walser
2020-10-28 14:59:10 CET
Starting to test this for mga7, x64. Waiting for mirror to sync before updating. Meanwhile installed a logical volume on a laptop partition to show that btrfs-5.7 works OK on this system. # vgcreate qab /dev/sda8 Physical volume "/dev/sda8" successfully created. Volume group "qab" successfully created # lvcreate -L +8G -n qab_1 qab Logical volume "qab_1" created. # pvs && vgs && lvs PV VG Fmt Attr PSize PFree /dev/sda8 qab lvm2 a-- <34.11g <26.11g VG #PV #LV #SN Attr VSize VFree qab 1 1 0 wz--n- <34.11g <26.11g LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert qab_1 qab -wi-a----- 8.00g So far so good - back later. CC:
(none) =>
tarazed25 Meanwhile, created a file system on the new volume. Symbolic links are used instead of the /dev/sda* notation. # mkfs.btrfs /dev/qab/qab_1 btrfs-progs v5.7 See http://btrfs.wiki.kernel.org for more information. Label: (null) UUID: 622bce1f-83e9-44ee-9545-fd4cb056abce Node size: 16384 Sector size: 4096 Filesystem size: 8.00GiB Block group profiles: Data: single 8.00MiB Metadata: DUP 256.00MiB System: DUP 8.00MiB SSD detected: no Incompat features: extref, skinny-metadata Runtime features: Checksum: crc32c Number of devices: 1 Devices: ID SIZE PATH 1 8.00GiB /dev/qab/qab_1 Updated the four packages - kernel 5.7.19-desktop-3.mga7 in use. Created another logical volume on the sda8 partition. # lvcreate -L +8G -n qab_2 qab Logical volume "qab_2" created. # pvs && vgs && lvs PV VG Fmt Attr PSize PFree /dev/sda8 qab lvm2 a-- <34.11g <18.11g VG #PV #LV #SN Attr VSize VFree qab 1 2 0 wz--n- <34.11g <18.11g LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert qab_1 qab -wi-a----- 8.00g qab_2 qab -wi-a----- 8.00g # mkfs.btrfs /dev/qab/qab_2 btrfs-progs v5.9 See http://btrfs.wiki.kernel.org for more information. Label: (null) UUID: 0ee53175-45ed-4eaa-8461-9895f4492e8f Node size: 16384 Sector size: 4096 Filesystem size: 8.00GiB Block group profiles: Data: single 8.00MiB Metadata: DUP 256.00MiB System: DUP 8.00MiB SSD detected: no Incompat features: extref, skinny-metadata Runtime features: Checksum: crc32c Number of devices: 1 Devices: ID SIZE PATH 1 8.00GiB /dev/qab/qab_2 Created mount points. # mkdir /mnt/qab1 /mnt/qab2 # mount /dev/qab/qab_1 /mnt/qab1 # mount /dev/qab/qab_2 /mnt/qab2 # df -h /dev/mapper/qab-qab_1 8.0G 3.6M 7.5G 1% /mnt/qab1 /dev/mapper/qab-qab_2 8.0G 3.5M 7.5G 1% /mnt/qab2 # cd /mnt/qab2 # mkdir suky # cd ~user # cp -r Music /mnt/qab2/suky/ <ran out of space here> # du -hs /mnt/qab2/suky 7.5G /mnt/qab2/suky Transferred ownership of suky to user and played a music track with vlc. That worked OK. # btrfs device stats /mnt/qab2 [/dev/mapper/qab-qab_2].write_io_errs 0 [/dev/mapper/qab-qab_2].read_io_errs 0 [/dev/mapper/qab-qab_2].flush_io_errs 0 [/dev/mapper/qab-qab_2].corruption_errs 0 [/dev/mapper/qab-qab_2].generation_errs 0 # btrfs filesystem df /mnt/qab2 Data, single: total=7.48GiB, used=7.48GiB System, DUP: total=8.00MiB, used=16.00KiB Metadata, DUP: total=256.00MiB, used=8.47MiB GlobalReserve, single: total=7.88MiB, used=0.00B # btrfs filesystem show --all-devices Label: none uuid: 622bce1f-83e9-44ee-9545-fd4cb056abce Total devices 1 FS bytes used 192.00KiB devid 1 size 8.00GiB used 536.00MiB path /dev/mapper/qab-qab_1 Label: none uuid: 0ee53175-45ed-4eaa-8461-9895f4492e8f Total devices 1 FS bytes used 7.49GiB devid 1 size 8.00GiB used 8.00GiB path /dev/mapper/qab-qab_2 # btrfsck --force /dev/mapper/qab-qab_2 Opening filesystem to check... WARNING: filesystem mounted, continuing because of --force Checking filesystem on /dev/mapper/qab-qab_2 UUID: 0ee53175-45ed-4eaa-8461-9895f4492e8f [1/7] checking root items [2/7] checking extents [3/7] checking free space cache [4/7] checking fs roots [5/7] checking only csums items (without verifying data) [6/7] checking root refs [7/7] checking quota groups skipped (not enabled on this FS) found 8044134400 bytes used, no error found total csum bytes: 7846144 total tree bytes: 8896512 total fs tree bytes: 573440 total extent tree bytes: 131072 btree space waste bytes: 419234 file data blocks allocated: 8035237888 referenced 8035237888 This is as far as it goes for a non-user. At this basic level the package seems to be OK.
Len Lawrence
2020-10-28 22:58:44 CET
Whiteboard:
(none) =>
MGA7-64-OK btrfs volume as / Applying update to a M7 x86_64. Subsequent reboot is OK. Testing to make a btrfs to an USB drive is OK. fsck this volume is OK. fsck / is OK too. Writing a file, copy a directory is OK. Validating. Advisory pushed to SVN. CC:
(none) =>
ouaurelien, sysadmin-bugs An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0224.html Status:
NEW =>
RESOLVED |