VMware Cloud Community
Carlos201110141
Contributor
Contributor

Fix Permission Problem

I've got a ESXi 4.1.0 host that is having a permission problem starting a particular VM and when I look at the permissions on the host via ESXi, it's clear why:

[CODE]# cd /vmfs/volumes/
/vmfs/volumes # ls -l
drwxr-xr-x    1 root     root                  8 Jan  1  1970 33c2837c-0ad18c1b-77da-28258a5ce025
drwxr-xr-x    1 1001     1000               4096 Feb 27 17:35 384379a2-a8d5119e
drwxr-xr-x    1 root     root                  8 Jan  1  1970 3c3693e8-f77a642a-1910-5c6bdcb26d3a
drwxr-xr-x    1 root     root                  8 Jan  1  1970 4e53381b-9103d38c-71da-002128504c7f
drwxr-xr-t    1 root     root               1260 Sep 30  2011 4e53381b-d0ad6ed0-3d8b-002128504c7f
drwxr-xr-x    1 1001     1000               4096 Apr 20 19:56 9121f54b-8dae98a8
lrwxr-xr-x    1 root     root                 35 May 21 11:41 Hypervisor1 -> e110fa70-23496802-fef5-5172f32f4cfe
lrwxr-xr-x    1 root     root                 35 May 21 11:41 Hypervisor2 -> 33c2837c-0ad18c1b-77da-28258a5ce025
lrwxr-xr-x    1 root     root                 35 May 21 11:41 Hypervisor3 -> 3c3693e8-f77a642a-1910-5c6bdcb26d3a
drwxr-xr-x    1 1001     1000               4096 Apr 25 11:25 bf5a608d-8c672d1a

/vmfs/volumes # chown root:root bf5a608d-8c672d1a/
chown: bf5a608d-8c672d1a/: Operation not permitted[/CODE]

As you can see two items listed have incorrect ownership & when the Vsphere client attempts to connect, we get a permission problem. For some reason I can't just use 'chmod -R' as I get an 'Operation Not Permitted' error...

Please help!

0 Kudos
2 Replies
gesturgis
Enthusiast
Enthusiast

By chance, is this an NFS mounted file system?

0 Kudos
john23
Commander
Commander

Its looks a nas volume..

-first unmount it and provide the permission to the share from the target(nfs server) end,then mount the volume

-Client (esx) can not change the permssion.

Thanks -A Read my blogs: www.openwriteup.com
0 Kudos