Re: xt4 - True Readonly mount [WAS - Re: [Bug 14354] Bad corruption with 2.6.32-rc1 and upwards]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux