Mounting folder from one VM on another?

33 views
Skip to first unread message

wordsw...@gmail.com

unread,
Apr 26, 2017, 5:13:52 PM4/26/17
to qubes-users
I'm looking for a solution similar to qvm-copy-to-vm, but without all the copying.

I'd like to mount /home/user/foo from Secure appvm at /home/user/foo on Personal appvm. The folder would be mounted as read only.

Rather than copy the files and waste space, I'd like to just have them accessible.

Is this possible?

wordsw...@gmail.com

unread,
Apr 26, 2017, 5:30:14 PM4/26/17
to qubes-users

Never mind... this is done by mounting the image of the Secure appvm in the Personal appvm

In dom0:

qvm-block -A --ro Personal dom0:/var/lib/qubes/appvms/Secure/private.img
qvm-run -p Personal 'sudo mkdir /media/Secure'
qvm-run -p Personal 'sudo mount /dev/xvdi /media/Secure'

Unman

unread,
Apr 26, 2017, 6:36:35 PM4/26/17
to wordsw...@gmail.com, qubes-users
Obviously you could use samba or sshfs to share the files. sshfs in
particular would take very little set-up , other than enablng ssh
between the two qubes, and this is well explained in the docs on the
firewall page.

unman
Reply all
Reply to author
Forward
0 new messages