CIFS On VPS

Apr 23, 2008

I'm trying to mount a remote samba share on my VPS using this command:

mount -t cifs //remoteserver/share /mnt -o username=user,password=pass

but I'm getting this error:

mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Does CIFS or remote SMB share mounting work on VPS servers? If it does then on what virtualization platform does it work (e.g. Xen, Virtuozzo, etc.)?

View 3 Replies


ADVERTISEMENT

Apache :: CIFS File Share To Store Images

Mar 28, 2014

I recently started building out a new network rack to provide a production web site. The new equipment stack includes a disk array providing a CIFS file share to store images to be served up by Apache.

I have had zero luck in getting Apache to properly access the imagestore from the network share. I've read more Google pages on this subject today than I can count, but I am still not having any success getting this working right.

I'll do my best to explain the configuration.

I have an ESXi host running several virtual machines. Each machine needs to be able to access the shares. Each host has multiple network interfaces, each connected to a separate subnet. The virtual machines are running Windows Server 2012 Datacenter edition.

The disk array is file mode access, with NFS and CIFS shares. It has interfaces on both subnets that each VM can reach. I have established a stand alone CIFS server, with the shares configured. They are accessible from the VMs.

I have mapped the share to a drive letter on the VM client, and it works properly from the logged in account. I have full control over files on the file system (create, modify, delete).

The VM has Apache 2.4.9 installed.

Things I've tried with no success:

-created a symlink to the CIFS mounted drive into the webroot directory
-added an alias to the CIFS mounted drive
-added the aliased directory using the <Directory> directive
-added the alias and directory directives using UNC references

I am seeing errors like "path is invalid" mostly, but when I try to add the mapped drive (f or the UNC referenced directory, the Apache service won't start.

I added a separate user for the Apache service, and added it to the group that has privileges to talk to the share, still didn't work.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved