Hi,
I have a problem to mount windows share in esx, I enabled smb client and execute the following command :
mount -t smbfs -o username=admin1 //server1/ImagesIso /vmimages/iso
but I got the error below:
Packet send failed to 192.168.2.255(137) ERRNO=Operation not permitted
2589: connection to server1 failed
SMB connection failed
should I do somethings else ?
thanks in advance for your help.
This is 100% no doubt a permissions issue.
You have to ENABLE root access and make sure the share AND the file folder has access for that mount.
And also enable the firewall on the host to allow outgoing smb connections.
This is 100% no doubt a permissions issue.
You have to ENABLE root access and make sure the share AND the file folder has access for that mount.
And also enable the firewall on the host to allow outgoing smb connections
Thanks Rparker,
enable root access to what ? how can i do that? ( I m new in this)
for the share I gived everyone full access. ( at windows level). should I do something else?
thanks
enable root access to what ? how can i do that? ( I m new in this)
Ah ok, sorry. Well what is your target? I assume NFS. Your Windows folder should be enabled for everyone or anonymous to allow r/w as appropriate. Then the share should also be enable for r/w if you need it for VM's. Root is done from NFS wizard, but it requires a nis server for root / user translations, which means you have to install it on the domain controller so it can link the two.
Then in security profile for your ESX host did you enable SMB client? If you don't it won't even let you try, because the firewall is blocking it. (That may be the whole issue)
smb client was already enabled ( throught security profile)
should go throught the domaine controller ? ( in my case, it is litle bit dificult because our domaine controller is managed in an other countries)
how can enable Root from nfs wizard?
Thanks
Is that a broadcast address or are you using VLSM?
Broadcast
so why is it broadcasting...., can't resolve the host name maybe?
the adress 192.168.2.255 is the broadcast. but even by using the ip adress I get the same error.
Have you enabled the SMBClient in the Firewall
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Tom Howarth VCP / vExpert
VMware Communities User Moderator
Blog: www.planetvm.net
Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts
If this is ESXi then there is no way to mount SMB shares. If this is ESX then this is in the wrong forum.
If you do:
ping server1
do you resolv the name?
Try to use //ServerIP/ShareName insted.
Andre
Andre, you are right
it was dns problem.
using Ip adress I can mount Windows shares without any problem.
thxs every body