| Summary: | Update request: nilfs-utils | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dimitri Jakov <mitya> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | herman.viaene, lewyssmith, sysadmin-bugs |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-32-OK MGA6-64-OK | ||
| Source RPM: | nilfs-utils-2.2.7-1.mga6 | CVE: | |
| Status comment: | |||
|
Description
Dimitri Jakov
2017-12-18 17:26:53 CET
Reassigning to QA Team nilfs-utils-2.2.7-1.mga6 Assignee:
bugsquad =>
qa-bugs MGA6-32 on Dell Latitude D600 MATE No installation issues I have no such filesystem, but could do: $ lscp -h Usage: lscp [OPTION]... [DEVICE] -a, --all show all checkpoints -b, --show-block-count show block count -g, --show-increment show increment count -r, --reverse reverse order -s, --snapshot list only snapshots -i, --index cp/ss index -n, --lines lines -h, --help display this help and exit -V, --version display version and exit $ lscp -V lscp (nilfs-utils 2.2.7) $ lssu /dev/sda1 lssu: cannot open NILFS on /dev/sda1: No such file or directory Seems all correct behavior. Whiteboard:
(none) =>
MGA6-32-OK We are unlikely to be able to test this in present circumstances: unless we find a real user, it would entail creating & using a nilfs2 filesystem. This page gives a handy "Using NILFS" resumé with explicit commands: https://nilfs.sourceforge.io/en/about_nilfs.html May yet try it. CC:
(none) =>
lewyssmith Testing M6/64
There is a host of associated programs, all with man pages:
/sbin/mkfs.nilfs2
/sbin/mount.nilfs2
/sbin/nilfs_cleanerd
/sbin/umount.nilfs2
/usr/bin/chcp
/usr/bin/dumpseg
/usr/bin/lscp
/usr/bin/lssu
/usr/bin/mkcp
/usr/bin/rmcp
/usr/sbin/nilfs-clean
/usr/sbin/nilfs-resize
/usr/sbin/nilfs-tune
lscp lists checkpoints.
mkcp makes a checkpoint.
mkcp -s makes a snapshot.
chcp changes an existing checkpoint to a snapshot or vice versa.
rmcp invalidates specified checkpoint(s).
BEFORE update: nilfs-utils-2.2.1-4.mga6
AFTER update: nilfs-utils-2.2.7-1.mga6
# mkdir /mnt/tmp
# chmod a+w /mnt/tmp/
# mkfs -t nilfs2 /dev/sda10
WARNING: Device /dev/sda10 appears to contain an existing nilfs2 superblock.
WARNING: All data will be lost after format!
DO YOU REALLY WANT TO FORMAT DEVICE /dev/sda10?
Continue? [y/N] y
mkfs.nilfs2 (nilfs-utils 2.2.7)
Start writing file system initial data to the device
Blocksize:4096 Device:/dev/sda10 Device Size:20971520000
File system initialization succeeded !!
# mount -t nilfs2 /dev/sda10 /mnt/tmp
Copied a big mixed directory to /mnt/tmp/ . Viewed various files, edited a few, confirmed that the changes 'stuck'. Did a big unzip. Deleted some files.
$ lscp /dev/sda10
CNO DATE TIME MODE FLG BLKCNT ICNT
1 2017-12-26 20:57:43 cp - 4 2
...
20 2017-12-26 21:12:28 cp - 73492 856
$ lssu /dev/sda10
SEGNUM DATE TIME STAT NBLOCKS
0 2017-12-26 21:01:29 -d- 2047
...
38 2017-12-26 21:12:28 ad- 172
39 ---------- --:--:-- ad- 0
# mkcp /dev/sda10
# nilfs-clean /dev/sda10
# mkcp -s /dev/sda10
No O/P to any of these.
Did not persue checkpoint|snapshot generation, mounting, conversion, deletion.
Looks functional. OKing & validating. Advisory done.Whiteboard:
MGA6-32-OK =>
MGA6-32-OK MGA6-64-OK An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0136.html Resolution:
(none) =>
FIXED |