Skip to contentSkip to conversation

mounting a device twice

Lustre-devel Michael Kluge 2 participants 3 messages Jul 24, 2013 – Jul 25, 2013

lore
Share & tools
lore
#1 lore raw

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

Quoted 11 lines · Michael Kluge

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

_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-devel

#2 lore raw

Hi Andreas,

thanks for the information.

Michael

Quoted 14 lines · Andreas

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

Quoted 6 lines · Michael Kluge

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>