mounting a device twice
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 Kryptografische Unterschrift
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20130724/8f2764b8/attachment.bin>
Dilger
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
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>