jfontana's picture

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.

Forum: 
Jeremy Davis's picture

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).

Add new comment