0
votes
1answer
335 views

What's the best way to mount a file share for a CentOS-based webserver?

I use CentOS with Apache and PHP5 to make web development servers. Files (html, php, js, etc...) are located on a network file share (SMB) : So, basically, developpers work on Windows workstations ...
2
votes
0answers
1k views

Linux samba server: cifs_mount failed w/return code = -12

Server: RHEL 5.9 / smbd 3.0.33 - Clients: various, though all were using current mount.cifs (5.2) I already solved this problem, but it was such a nightmare to hunt down these error codes I felt like ...
0
votes
1answer
3k views

Mounting NAS drive with cifs using credentials file through fstab does not work

I can mount the drive in the following way, no problem there: mount -t cifs //nas/home /mnt/nas -o username=username,password=pass\!word,uid=1000,gid=100,rw,suid However if I try to mount it via ...
1
vote
1answer
72 views

UNC mounting from web application

I've got a problem with long-term UNC mounts from my web application cluster (Arch Linux to various Windows versions) timing out so am looking into short-term (on demand) mount/unmount cycles via ...
2
votes
2answers
4k views

How to mount a windows administrative share on linux via SMB

I'm currently trying to mount a windows shared drive under linux. The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I've been able to login ...
3
votes
2answers
5k views

Secure way to mount a password protected cifs share in mac

I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines. Actually, I already have a working perl script, ...
0
votes
2answers
4k views

Issue with mount.cifs in Ubuntu [while accessing Windows samba share using a localServerUser]

I am having a hard time figuring out an issue while trying to mount a windows share in Ubuntu 10.04. Issue: The problem is I am not able to mount a windows share using a serverLocalUser present in ...
0
votes
2answers
960 views

Is there a flag I can pass to either `df` or `mount` to make them display results for only locally-mounted filesystems?

I'm getting mighty tired of having to manually egrep out NFS- and SMB-mounted filesystems whenever I am checking on the condition of locally-mounted filesystems. So, my question is thus: is there some ...
0
votes
1answer
4k views

Mac OS X automount not mounting fstab entries correctly

I'm trying to automount a Windows SMB share on Mac OS X. The first thing I tried was to put entries only in /etc/fstab: $ dgrant$ cat /etc/fstab //darrengrant@d-grant/share /pc/share smbfs ...
1
vote
2answers
3k views

permanent NAS-mount in Ubuntu - wrong fs type, bad option, bad superblock

My network drive shows up in the file browser, just like my external usb-harddrive. Moving, running and editing files works. Hovering over it shows smb://lacie-2big/nasdisk . BUT, when I want to save ...
1
vote
1answer
641 views

Mount samba filesystem into RHEL 5.5

How can I mount windows share file system into RHEL? I'm not a sysadmin, but I got this task assigned :( I've tried this solution mount -t smbfs -o username=samba,password=samba ...
0
votes
1answer
123 views

Windows share mounted on Linux fails after some time

I have a Windows share mounted on a Linux server (RHEL4) using a mount command like this: mount -t smbfs //server_ip/foldername /servername/foldername -o username=USERNAME,password=PASSWORD -o ...
0
votes
1answer
489 views

Red Hat Linux - Publicly available CIFS mount

I have mounted a Windows file system on a Dell server running RHEL 2.6.18-164.11.1.el5 using a software called Sharity. The filesystem is accessible just fine to the userid that ran the mount command ...
2
votes
1answer
1k views

Write to windows share mounted in Ubuntu

I used to mount a windows share in Ubuntu server, with an entry in fstab: //data/SharedFolder /media/SharedFolder/ smbfs user,defaults,credentials=/root/.creds,uid=root,gid=root 0 0 /root/.creds is ...
4
votes
1answer
1k views

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 ...
2
votes
0answers
292 views

Why do I have to remount an smb share if I want to recreate a directory?

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share): rm -rf some-directory mkdir some-directory ls -a some-directory some-directory is ...
1
vote
1answer
1k views

How to use noatime with smbfs

I am using the mount command on a Linux server to access a Windows server using smbfs. Can I use noatime to prevent read operations (such as cp on Linux) from changing the last-accessed time on files ...