fstab cifs mount problem
location: ubuntuforums.com - date: September 4, 2012
As a newbie who's recently taken the step back into the Linux world after several years absence I've been delving into the world of home Samba and Windows networking.
I've been following this excellent guide (and related threads) in my efforts to learn how to mount windows (and samba) shares in Lubuntu 12.04:
I can successfully mount my windows 7 share using this command:
sudo mount -t cifs //MATSLUND-HP/Users/Mats\ Lund /home/mats/MATSLUND-HP -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
However, my attempt of trying get this share to mount automatically upon boot by adding the following entry to /etc/fstab has failed:
//MATSLUND-HP/Users/Mats\ Lund /home/mats/MATSLUND-HP cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
(gives error "[mntent]: line 15 in /etc/fstab is bad").
Any ideas or pointers?
Problem with mounting CIFS from /etc/fstab
location: linuxquestions.com - date: June 2, 2008
I have the following entry in the /etc/fstab, because I want to automatically mount windows share at boot:
unable to mount cifs (windows) partition through fstab
location: linuxquestions.com - date: April 27, 2010
I have mounted window shared partition to my RHEL 5.4 server through following command
Fedora 7 and using cifs in fstab?
location: linuxquestions.com - date: June 3, 2007
Due to a dead harddrive, I'm rebuilding my linux machine a new drive and Fedora 7. Unfortunately, I cannot get my windows shared directories to mount correctly.
From FC5, my fstab had this line:
//192.168.0.101/n /mnt/p4/c smbfs credentials=/root/.smbpassword,dmask=777,fmask=777 0 0
After reading the various posts it seems that cifs has issues, but I finally set my fstab file with this line:
//192.168.0.101/n /mnt/p4/n cifs credentials=/root/.smbpassword,dir_mode=0777,file_mode=0777 0 0
Everything "looks" good (directory and file rights), but in reality I cannot write to any file.
In the many combinations I've tried (now lost count of) to access the shared drive, I usually end up with file rights of "rwxrwSrwt".
What am I doing wrong?
Can't mount Windows 7 share with fstab, working with "mount t cifs"
location: ubuntuforums.com - date: August 31, 2011
I am referring to the post below, which was asked by me in the "Mount samba shares with utf8 encoding using cifs"-Guide about a weak ego. Since I didn't get any help there, I would like to ask this question again here:
Originally Posted by Katsche
I am new to Linux, but think that this will be a love story...
I am running Ubuntu Server Linux 64Bit (11.04) in VirtualBox (4.1.0) and would like to connect to a share on the Windows 7 64Bit host. I already did this with the following command, sadly I am not able to mount this drive automatically by adding it to fstab. Find my fstab entry and the error message below, too.
When I enter this, I am asked for the Windows password. After entering the password the mount works completely fine:
sudo mount -t cifs //MW7XM76LYPUH0D/Users/nachname.vorname /media/splunk -o username="dir/nachname.vorname",uid=0,gid=0,nls=utf8
This somehow is giving
cifs in fstab and lethargic shutdown/reboot
location: linuxquestions.com - date: January 19, 2008
I have two problems that seem to be related. I was having them before and hoped that a fresh install of 10.3 would clear them up, but it didn't.
For professional reasons I had to rearrange my HDD's and partitions to hold 2 versions of Windows along with Suse. This was my chance to iron out a lot of little bugs the computer was having. I've squashed most of them, but not these two!
I have three lines like this in my fstab:
[SOLVED] CIFS Samba fstab auto mount "Not a Directory" on file save
location: ubuntuforums.com - date: November 6, 2008
Firstly I would like to thank anyone who reads and replies to this thread, all help is greatly appreciated.
The problem I am experiencing is a strange one and there is about two references to it on a Google search and I have to admit they wern't very useful.
Essentially I have an Ubuntu file server with cifs sharing a few directories, a couple of which I have entries in my fstab to mount automatically on boot. The entries in the fstab were set up with the guide of this thread.
I have implemented this method of automatically unmounting the shares as I was having issues with the machine hanging at shutdown. This information is just for completion as I do not believe it has any impact on this problem.
And finally... the problem. The shares appear to mount correctly and I can copy files to them and open files and read them. However when I come to open a file in gedit, edit it and save it back to the share I get an error message. The message reads:
Mounting windows share via cifs (fstab entry) error 13 opening credentials file
location: linuxquestions.com - date: December 4, 2006
The following command works via terminal.
mount -t cifs //windowsxpbox/windows\ share /media/mount\ point/ -o credentials=/home/user1/.cifscredentials
The above .cifscredentials file has the following permissions: -rwxr--r-- 1 root root
Below is the entry format of said credentials file:
[An empty line or space is here]
The following is the fstab entry for the above windowsxp share:
//windowsxpbox/windows\040share /media/mount\040point cifs credentials=/home/user1/.cifscredentials 0 0
Upon rebooting, I receive error 13 opening credentials file
Note: Adding auto, in front of the credentials=... column does not resolve error 13.
What am I overlooking in the fstab entry or permissions?
Access FreeNAS share as CIFS vs SMBFS
location: ubuntuforums.com - date: July 15, 2013
I've installed a couple of new 12.04.2 VMs recently and I'm having a strange problem accessing my NAS.
The new installs use CIFS instead of SMBFS to access the share, and the problem manifests as this in the syslog of the new builds;
CIFS VFS: Autodisabling the use of server inode numbers on \\server\share. This server doesn't seem to support them properly. Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message.
The relevant line in fstab now reads;
//server/share cifs username=uname,password=pword
Where before it read;
//server/share smbfs username=uname,password=pword,uid=1000,iocharset=utf8,codepage=unicode 0 0
The VMs are running under VMWare ESXi 5.1.0 and the share is hosted off a FreeNAS 8.3.0 server.
I would use NFS, except I have a couple of Windows boxes accessing the same share and don't want to mix the permissions, etc.
Any ideas what I might b
13.04 2 issues: Google Chrome install and problem mounting a CIFS share
location: ubuntuforums.com - date: April 26, 2013
A fresh install of 13.04 (64) went almost painless:
2 issues so far:
There is a dependency issue with Google-Chrome-stable; it depends on libudev0 (>= 147). Instruction for a fix can be found here:
Mounting a cifs share on my Nas failed (error 95). Seems one has to add the option: -sec=ntlm
Page: 1 2 3 4 5 6 7 8 9 10