All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Kluge <michael.kluge@tu-dresden.de>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] mounting a device twice
Date: Thu, 25 Jul 2013 07:13:19 +0200	[thread overview]
Message-ID: <51F0B3EF.8000205@tu-dresden.de> (raw)
In-Reply-To: <AB42A35A-B204-4A5C-BB9E-5471BA85BACC@intel.com>

Hi Andreas,

thanks for the information.


Michael

On 25.07.2013 04:39, Dilger, Andreas wrote:
> You can do this because the kernel is not actually mounting the block device twice. Lustre is mounting the block device internally as type ldiskfs and the second mount will be like a bind mount of the same filesystem root tree.
>
> I do this on my local filesystem for quick debugging, but it isn't strictly safe on an active filesystem because modifications can render the Lustre and on disk state inconsistent.
>
> Cheers, Andreas
>
> On 2013-07-24, at 11:27, "Michael Kluge" <michael.kluge@tu-dresden.de> wrote:
>
>> Hi list,
>>
>> can I mount a device mounted as lustre a second time as ldiskfs or would MMP protect me from doing this?
>>
>>
>> Regards, Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4859 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20130725/4f5e9b56/attachment.bin>

      reply	other threads:[~2013-07-25  5:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 17:26 [Lustre-devel] mounting a device twice Michael Kluge
2013-07-25  2:39 ` Dilger, Andreas
2013-07-25  5:13   ` Michael Kluge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F0B3EF.8000205@tu-dresden.de \
    --to=michael.kluge@tu-dresden.de \
    --cc=lustre-devel@lists.lustre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.