Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> KVM: Is it possible (and how) to use NTFS storage?
zvika
 Posted: Dec 27 2013, 07:54 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 2867
Joined: 26-December 13









Hi.
I'm trying to create a new VM with virt-manager, using an external HD formatted as NTFS.
However, I'm getting "The emulator may not have search permissions for the path" warnings during settings phase, and this error:
Error starting domain: internal error process exited while connecting to monitor: char device redirected to /dev/pts/3
qemu-kvm: -drive file=/media/HaramatyBook_/Linux/KVM_VM/SL-64-x86_64-2013-03-18-Install-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /media/HaramatyBook_/Linux/KVM_VM/SL-64-x86_64-2013-03-18-Install-DVD.iso: Permission denied

When trying to run the machine.
If it matters, I'm using root account for this.

Googling suggested it to be SELinux problem, so I set it to permissive:
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: permissive
Policy version: 24
Policy from config file: targeted

Any ideas how can I succeed using my NTFS drive?
Thanks
PMEmail Poster
^
zvika
 Posted: Dec 29 2013, 08:57 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 2867
Joined: 26-December 13









It's possible smile.gif

Posted question here:
http://unix.stackexchange.com/questions/106909/can-and-how-kvm-use-ntfs-storage/106990#106990

but found the solution here:
http://askubuntu.com/questions/113733/how-do-i-correctly-mount-a-ntfs-partition-in-etc-fstab

Just add 'permissions' to the mount command, and everything works.
PMEmail Poster
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll