[lxc-users] What are the options for connecting to storage?

McDonagh, Ed Ed.McDonagh at rmh.nhs.uk
Wed Nov 16 16:42:12 UTC 2016


Hi

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.

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.

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?

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!

Any help, suggestions or advice would be very welcome.

Kind regards

Ed

Ed McDonagh
Head of Scientific Computing (Diagnostic Radiology)
Joint Department of Physics
The Royal Marsden NHS Foundation Trust
Tel 020 7808 2512
Fax 020 7808 2522
[Description: cid:452082411 at 17082012-1926]


#########################################################################
Attention:
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). 

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.

Website: http://www.royalmarsden.nhs.uk
#########################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161116/dd73348e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4543 bytes
Desc: image001.jpg
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161116/dd73348e/attachment.jpg>


More information about the lxc-users mailing list