kvm install 报错could not open disk imageXXX: Permission denied

centos6.6挂载ntfs分区后,在ntfs分区上建立虚拟机:

virt-install --name=centos6.5 --ram=1024 --vcpus=2 -f centos6.5.raw -s 20 -l /media/data/iso/CentOS-6.6-x86_64-bin-DVD1.iso

时报错:

ERROR    internal error process exited while connecting to monitor: char device redirected to /dev/pts/1
2015-06-01T10:46:15.600835Z qemu-kvm: -drive file=/media/data/centos6.5.raw,if=none,id=drive-virtio-disk0,format=raw,cache=none: could not open disk image /media/data/centos6.5.raw: Permission denied

提示ntfs分区拒绝访问,检查权限正常。

关闭selinux后发现虚拟机启动正常

setenforce 0

时间: 2024-10-13 00:53:45

kvm install 报错could not open disk imageXXX: Permission denied的相关文章

安装kvm虚拟机报错,解决办法

创建虚拟磁盘文件 [[email protected] ~]# qemu-img create -f qcow2 -o preallocation=metadata dev_beyond.img 8G Formatting 'dev_beyond.img', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 preallocation='metadata' 参数说明: -o preallocation=metadata 预分配

克隆kvm虚拟机报错ImportError: No module named 'requests.packages.urllib3'

2018-06-21 更新系统造成kvm克隆命令报错 virt-clone -o centos-7-update-clone -n centos-7-maven-test -f /var/lib/vmdk/jingxiang/maven-test.qcow2 报错信息 Traceback (most recent call last): File "/usr/share/virt-manager/virt-clone", line 27, in <module> impor

pip install报错Can&#39;t roll back cryptography; was not uninstalled

当使用pip install或者pip install --upgrade报错 Can't roll back cryptography; was not uninstalled 可以进行以下的尝试: sudo apt-get install libssl-dev libffi-dev 之后再继续php install pip install报错Can't roll back cryptography; was not uninstalled

python2.7.6 , setuptools pip install, 报错:UnicodeDecodeError:&#39;ascii&#39; codec can&#39;t decode byte

今天折腾了一天,安装pyspider,由于依赖包众多,而且搜索到所有信息多是在linux平台和mac平台下的安装教程.可怜我试了n多版本,一直不成功. 最后发现有人说python的版本,不能低于2.7.6,否则pycurl无法安装成功,一查我的是2.7.2. 好吧,卸载,重新安装python2.7.6. 似乎安装后,能够顺利安装pycurl了,但是easy_install 报错信息与编码相关: 在网上搜索找到解决方案:http://www.360doc.com/content/14/0508/0

Eclipse中mvn install 报错error in opening zip file

报错信息 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project wms: Compilation failure [ERROR] Failure executing javac, but could not parse the error: [ERROR] 错误: 读取C:\Users\Administrato

Xcode8 pod install 报错 “Generating Pods project Abort trap

Xcode8 pod install 报错 "Generating Pods project Abort trap 今天在写一个新项目的时候,使用cocoapods在执行 $ pod install 的时候,终端提示 Generating Pods project Abort trap: 6 解决办法: 删除所有cocoapods gems, 依次执行以下命令: sudo gem uninstall cocoapods sudo gem uninstall cocoapods-core sudo

shell 脚本执行mvn clean install 报错 --MissingProjectException

ll 脚本执行mvn clean install 报错 12月12日北京OSC源创会 —— 开源技术的年终盛典 »   [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] --------------------------------------------------

mvn install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2 错误: 找不到符号

报错信息 在Eclipse中执行mvn install时,console端显示如下报错信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project ERP: Compilation failure: Compilation failure: [ERROR] \test01\src\main\java\HStyl

mavne install 报错org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException

maven install 报错 org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: nulljava.lang.reflect.InvocationTargetException at sun.reflect.