[Users] (potential bug) After I create a virtual disk I am unable to start a VM - Permissions issue ? The node seems to have no write access to the directory on the NFS server...
Douglas Landgraf
dougsland at redhat.com
Thu Mar 29 20:46:25 UTC 2012
Hello Morgan,
On 03/29/2012 05:54 AM, Morgan Cox wrote:
> Again it got cut off ???
>
> I've never really understood how to get a mailing list thread to
> follow a reply correctly either...
>
>
> From advise in IRC I changed
>
> # nfs_mount_options = soft,nosharecache
>
> to
>
> nfs_mount_options = soft,nosharecache,vers=3
>
> - then re attached the node - it now shows as nfs3 using the mount
> command and has the correct UID/GID i.e
>
> ls -al /rhev/data-center/b2b2e054-66b2-11e1-bda3-1728f784de9e/2f7ee7bc-09b3-42ba-af91-40d79293e360/images/7e2f025e-5676-4592-84fd-7c9661f5ee2e/
> total 2097168
> drwxr-xr-x. 2 vdsm kvm 4096 Mar 28 15:23 .
> drwxr-xr-x. 3 vdsm kvm 4096 Mar 28 15:23 ..
> -rw-rw----. 1 vdsm kvm 2147483648 Mar 28 15:23
> e4aa8bf8-0cb8-4f1c-84cf-b83909f7206b
> -rw-r--r--. 1 vdsm kvm 320 Mar 28 15:23
> e4aa8bf8-0cb8-4f1c-84cf-b83909f7206b.meta
>
> It still doesn't work...
>
I have installed debian squezee to test and make it work, here my steps:
# groupadd kvm -g 36
# useradd vdsm -u 36 -g kvm
# mkdir /storage
# chmod 0755 /storage
# chown 36:36 /storage/
# cat /etc/exports
/storage *(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
# /etc/init.d/nfs-kernel-server restart
Please, let me know if it resolves your case.
Thanks
--
Cheers
Douglas
More information about the Users
mailing list