TurnKey Linux Virtual Appliance Library

Mounting external eSata drive on OpenVZ Turnkey appliance

I'm trying to mount an external drive on one of my appliances but the appliance doesn't see the drive. My appliance is running as an OpenVZ container in the Proxmox VE. If I connect via ssh to the appliance and I do 'fdisk -l' I get nothing. If I connect via ssh to the VE then I see the drive as /dev/dm-2 .

How can I have access to an external drive from within the appliance? In principle most VMs are able to "see" external drives that are connected to the computer. Is there anything special that I have to do? Thanks.

 

Josep M.

Jeremy's picture

Sorry for delayed response

I am just going back through my old emails and found a few that 'fell through the cracks' so to speak. OVZ is quite a different technology to other VM type scenarios and I have not used removable drives with it before so I can't offer a lot of guidance. I have had experience forwarding internal drives/folders to OVZ containers (under Proxmox) and had it working very successfully but I'm not sure how great that'd be for removable type storage (I mounted the folder with the OVZ container turned off and then booted it up - and leave it connected all the time). And as by default PVE doesn't automount external devices you'll need to manually do that for starters (or configure it to automount - PVE is based on Debian so shouldn't be too hard).

So rambling aside, bottom line is that this is a question probably best asked over on the Proxmox forums, although the OVZ forums may also provide some insights. Actually, maybe a good idea to search the forums and the relevant wikis first... (PVE wiki, OVZ wiki).

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)