lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170722002643.GD4211@magnolia>
Date:   Fri, 21 Jul 2017 17:26:43 -0700
From:   "Darrick J. Wong" <darrick.wong@...cle.com>
To:     "Theodore Ts'o" <tytso@....edu>
Cc:     linux-ext4 <linux-ext4@...r.kernel.org>
Subject: [RFC] online scrub for ext4

Hi all,

On this week's conference call, we discussed polishing e2croncheck into
something resembling a workable package, and I mentioned that some time
ago I'd adapted the script into a more general utility.  I've cleaned up
the scripts somewhat, so we can use them as a basis for discussion.

The first mail contains the base script to create the lvm snapshot, fsck
the snapshot, remove the snapshot, and fstrim the original filesystem.
It also contains a udev script to discourage it from making symlinks in
/dev/disk.

The second mail contains a script to identify eligible lvs containing
ext4 filesystms and call the actual invoker script.

The third mail contains systemd units to manage invocation and
containment of the scripts.

Note that despite my earlier outline, I don't actually have a boot time
script that cleans out any leftover fsck snapshots, though it wouldn't
be difficult to write.

Note also the lack of distro installer/partitioner support -- your ext4
filesystems /must/ be managed by lvm, and you /must/ have at least 256M
free in each volume group.  There's no daemon to watch for snapshots
filling up in order to kill the fsck and snapshot.

--D

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ