<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Georgia;
panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks Ron. Thinking my requirements through again, I’ve decided to scrap the iSCSI mount and use NFS/CIFS instead. So following your pointer I have NFS mounted
in the host, and then bind-mounted that to the container. I’ve yet to see how that migrates, but one bridge at a time!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks again.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> lxc-users [mailto:lxc-users-bounces@lists.linuxcontainers.org]
<b>On Behalf Of </b>Ron Kelley<br>
<b>Sent:</b> 16 November 2016 19:49<br>
<b>To:</b> LXC users mailing-list<br>
<b>Subject:</b> Re: [lxc-users] What are the options for connecting to storage?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What about using a bind-mount? Mount your iscsi volume to the LXD server and bind-mount it into the container. A quick URL: <a href="https://github.com/lxc/lxd/issues/2005">https://github.com/lxc/lxd/issues/2005</a><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Nov 16, 2016, at 11:42 AM, McDonagh, Ed <<a href="mailto:Ed.McDonagh@rmh.nhs.uk">Ed.McDonagh@rmh.nhs.uk</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I need to create a container that has access to a couple of TB to store image files (mostly 8MB upwards). My instinct is to create an iSCSI target on my Synology server and
connect from the container to get a new disk that I can use for the storage.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I understand that the guest has to be privileged to do any sort of connection to storage, however it seems that the iSCSI node in the container doesn’t work.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">What are my options? Do I need to use a SMB connection to the Synology server? Or is NFS better? Is there a way to connect using iSCSI?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">If it makes any difference, I have two identical servers that I am running LXD on, and want to be able to move the containers between them for maintenance etc. Ideally live,
but not essential. And that doesn’t seem to work anyway with lxd 2.0, so kind of a moot point!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Any help, suggestions or advice would be very welcome.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Kind regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Ed<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Georgia","serif";color:#00A0CD">Ed McDonagh</span></b><span class="apple-converted-space"><span style="color:#1F497D"> </span></span><span style="color:#1F497D"><br>
</span><b><span style="font-size:10.0pt;font-family:"Georgia","serif";color:#1F497D">Head of Scientific Computing (Diagnostic Radiology)<br>
Joint Department of Physics</span></b><span class="apple-converted-space"><span style="color:#1F497D"> </span></span><span style="color:#1F497D"><br>
</span><b><span style="font-size:10.0pt;font-family:"Georgia","serif";color:#1F497D">The Royal Marsden NHS Foundation Trust<br>
</span></b><span style="font-size:10.0pt;font-family:"Georgia","serif";color:#1F497D">Tel 020 7808 2512<br>
Fax 020 7808 2522</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><image001.jpg></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><strong><span style="font-size:9.0pt;font-family:Consolas;color:#400040">Attention:</span></strong><span class="apple-converted-space"><b><span style="font-size:9.0pt;font-family:Consolas;color:#400040"> </span></b></span><span style="font-size:9.0pt;font-family:Consolas;color:#400040"><br>
<strong><span style="font-family:Consolas">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary, confidential and/or privileged information and should not be copied, disclosed, distributed, retained
or used by any other party. If you are not an intended recipient please notify the sender immediately and delete this e-mail (including attachments and copies).</span></strong><span class="apple-converted-space"><b> </b></span><b><br>
<strong><span style="font-family:Consolas">The statements and opinions expressed in this e-mail are those of the author and do not necessarily reflect those of the Royal Marsden NHS Foundation Trust. The Trust does not take any responsibility for the statements
and opinions of the author.</span></strong><span class="apple-converted-space"> </span><br>
<strong><span style="font-family:Consolas">Website:</span></strong></b></span><span class="apple-converted-space"><b><span style="font-size:9.0pt;font-family:Consolas;color:red"> </span></b></span><strong><span style="font-size:9.0pt;font-family:Consolas;color:red"><a href="http://www.royalmarsden.nhs.uk/"><span style="color:purple">http://www.royalmarsden.nhs.uk</span></a></span></strong><strong><span style="font-size:9.0pt;font-family:Consolas;color:red"><o:p></o:p></span></strong></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Consolas">_______________________________________________<br>
lxc-users mailing list<br>
</span><a href="mailto:lxc-users@lists.linuxcontainers.org"><span style="font-size:9.0pt;font-family:Consolas;color:purple">lxc-users@lists.linuxcontainers.org</span></a><span style="font-size:9.0pt;font-family:Consolas"><br>
</span><a href="http://lists.linuxcontainers.org/listinfo/lxc-users"><span style="font-size:9.0pt;font-family:Consolas;color:purple">http://lists.linuxcontainers.org/listinfo/lxc-users</span></a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<P>
<HR>
<FONT color=#400040><STRONG>Attention: </STRONG><BR></FONT><STRONG><FONT
color=#ff0000><FONT color=#400040>This e-mail and any attachment is for
authorised use by the intended recipient(s) only. It may contain proprietary,
confidential and/or privileged information and should not be copied, disclosed,
distributed, retained or used by any other party. If you are not an intended
recipient please notify the sender immediately and delete this e-mail (including
attachments and copies). <BR>The statements and opinions expressed in this
e-mail are those of the author and do not necessarily reflect those of the Royal
Marsden NHS Foundation Trust. The Trust does not take any responsibility for the
statements and opinions of the author. <BR>Website:</FONT> <A
href="http://www.royalmarsden.nhs.uk">http://www.royalmarsden.nhs.uk</A><BR></P></FONT></STRONG>
<HR>
<P></P>
<P></P>
</body>
</html>