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] [day] [month] [year] [list]
Message-ID: <4BC4DCE1.3050600@nuclearwinter.com>
Date:	Tue, 13 Apr 2010 16:06:41 -0500
From:	Larkin Lowrey <llowrey@...learwinter.com>
To:	tytso@....edu
CC:	linux-ext4@...r.kernel.org
Subject: Re: Q wrt LVM snapshot of ext4 w/ external journal

On 4/13/2010 2:22 PM, tytso@....edu wrote:
> It's safe to mount the LVM2 snapshot only if you use the mount option
> noload.  This will prevent it from using the journal, which is good,
> since the journal is in use by the original file system.  :-)
>
>   
I was able to verify that mounting with noload worked as advertised.
Thank you. The exact message was "mounted filesystem without journal".
> Hopefully, mounting the snapshot without using noload _should_ fail,
> since the journal is already in use, but I'm not sure we have that
> check in place, so I don't recommend trying it on a production file
> system.
I also verified that mounting w/o noload causes the mount operation to
fail. The message was "failed to claim external journal device".

When I unmounted the original fs so that the journal device was not in
use and then tried to mount the snapshot w/o noload, the mounted
snapshot was able to claim the journal. Of course I would never do that
on purpose but I wanted to see what would happen. I believe this falls
under the "don't do that or bad things will happen" category.

Thank you very much for your response to my query.

--Larkin
--
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