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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 3 Nov 2009 08:52:42 -0500
From:	Theodore Tso <tytso@....edu>
To:	Greg Freemyer <greg.freemyer@...il.com>
Cc:	Ted Augustine <taugustine@...hpathways.com>,
	Alexey Fisher <bug-track@...her-privat.net>,
	linux-ext4@...r.kernel.org
Subject: Re: xt4 - True Readonly mount [WAS - Re: [Bug 14354] Bad
	corruption with 2.6.32-rc1 and upwards]

On Mon, Nov 02, 2009 at 04:59:18PM -0500, Greg Freemyer wrote:
> Queisce application (databases, etc. have utils to do this.)
> 
> Queisce filesystem (xfs_freeze -f can be done from userspace. is there
> a ext4 util?)
> 
> issue raid array command to create snapshot.
> 
> release filesystem (xfs_freeze -u)
> 
> release the app (util provided by app).
> 
> Mount the snapshot readonly (true readonly with zero writes to the
> block device).
> 
> Backup the readonly snapshot (to tape, etc.).

This works today using ext4.  The freeze ioctl quiesces the filesystem
and leaves the journal in clean state, so there is no need for a
journal replay.  I take snapshots using LVM all the time.  It's
slightly more work if you are using a hardware raid array since you
can't use a single integrated "lvcreate --snapshot" command, but
should Just Work today.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ