Jump to content

Ubuntu 14.04 VM Direct Share Mount?


landS

Recommended Posts

In the KVM I have the unraid share /mnt/user/CJK1/ with a mount tag as cjk1

 

When I start the VM it does not show under disks

 

When I manually edit fstab I know how to mount a network share... but how the heck do I mount the directly passed mount tag?

 

Thanks crew

Link to comment

Fantastic!  Much Obliged :)

 

Confirmed in XML Expert (no changes made while in Expert)

    <filesystem type='mount' accessmode='passthrough'>

      <source dir='/mnt/user/cjk1/'/>

      <target dir='cjk1'/>

      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>

    </filesystem>

 

terminal:

sudo -p mkdir /home/UserName/tower2/cjk1

sudo gedit /etc/fstab

 

Added to the end:

cjk1  /home/UserName/tower2/cjk1      9p      trans=virtio,version=9p2000.L,noauto,nobootwait,rw        0 0

 

terminal:

sudo gedit /etc/rc.local

 

Added to the end (before exit 0)

mount /home/UserName/tower2/cjk1

 

Restarted VM

 

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...