Networking :: Where Does CIFS Log Failed Mounts

Jun 22, 2011

I`m using cifs to mount a windows 2008 server share. I`m mounting it read only and using an rsync script which works quiet nice.

Recently I couldnt mount the windows share anymore, i didnt know the account iam using would go inactive if i never logged in.

Just where does cifs write a log if it can`t mount a windows share? If I knew where it is it would also be easier to find the reason if it doesn`t work.

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Cifs Share Mounts But Cannot See Files?

Mar 10, 2010

I have a Buffalo Drivestation (model HD-CELU2, 1tb) attached to my network.From my ubuntu desktop I can go to the menu, select "connect to server", put in the ip and share info, and it mounts perfectly.I can open the share and browse eadwrite, but when I try to mount it from a terminal or within fstab, it will still mount, but I cannot see any files that are on the drive. I have about 12gb of data on it, but like I said when I mount it using "mount -t cifs 192.x.x.x/share blah blah blah" I do not see any of the files.If I do a df I can see that the drive has files on it based on the free space available, but if I do an ls nothing shows.

View 7 Replies View Related

CentOS 5 Networking :: CIFS Mounts Hang When Pushing Data / Resolve This?

Apr 9, 2009

Ive seen this a hundred times while searching google but I can't seem to get any of the fixes suggested to work for me.

Here are the specs code...

I have other servers on the same network with the same software/hardware that never loses its mount to the windows share, and nightly backups are run through those mounts. So why does the mount on this machine fail when we do a push? The only conclusion that I can come to is there is some sort of time out on the windows server that causes this. The other servers that have this same type mount use their share every night, where as the share on this server gets used once or twice a week. Once the mount hangs I can not unmount it, I have to reboot the server. Once the server is rebooted the push works fine. But then the next week when a push is tried it hangs. What else can I check?

UPDATE: I've also tried NFS mounts and autofs mounts and they hang as well

I enabled logging by echo 1 > cifsFYI and this is what I see in var/log/message code...

Ive removed the actual file names for security concerns. Any one have ideas as to why this is happening? The only other thing I can think of to try is to swap out the NIC but it's at a remote location so I can't do that right now.

View 5 Replies View Related

Ubuntu Networking :: NFS Mounts Cause A Hang On Reboot Of The Mounts Are Lost

Nov 24, 2010

I have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.

Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.

These are the lines in my fstab

I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.

View 2 Replies View Related

Ubuntu :: CIFS VFS: Cifs_mount Failed W/return Code = -101

May 2, 2011

Having problems auto mounting a CIFS share.

These are the errors I get from the kern.log:

And here is the fstab entry:

I can mount the share manually...I am I missing something?

View 5 Replies View Related

General :: CIFS VFS: Cifs_mount Failed W/return Code = -11?

Apr 26, 2010

i am using Centos 5, i am trying to mount win2k3 server on centos machine.i am getting the following error.CIFS VFS: cifs_mount failed w/return code = -11

View 2 Replies View Related

Ubuntu :: Lucid Startup Error 101 - CIFS VFS Mount Failed

May 1, 2010

I upgraded my Karmic OS to Lucid the day after it became available and have been having some troubles - I am having trouble starting the OS. Brief history: I have real troubles with the ATI graphics and spent a while trying (finally successfully) to remove fglrx and associated dependencies. I then rebooted ready to install new drivers. I now get the following error on startup:

CIFS VFS Error connecting to socket - aborting connection
CIFS VFS cifs_mount failed w/return code (-101)

For the last couple of weeks or so, I have noticed CFS errors on shutdown which has meant that I have needed to physically press the off button to turn the machine off, but since I could still operate I left that problem on the back burner "for when I have more time". Don't know if the two problems are related. Anyway, I am currently in the situation where I cannot start Ubuntu at all unless I use the install CD and try the LIVE distro.

My fstab file looks like this:
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda6 swap swap defaults 0 0

(My PC Has a 1 TB drive and a 500 gig drive. The 1 TB drive has dual boot Vista (came preinstalled and I have a couple of games for it - else, yuk) and Linux. The 500 gig drive is a data drive). I'd rather not reinstall from scratch though may have to? I don't know of any way to repair-install the OS - maybe that would be possible too?

View 9 Replies View Related

Fedora Networking :: 13 - NFS Mounts Fail ?

Jun 13, 2010

I have upgraded three machines to Fedora 13.

On all of them any attempt to mount an nfs drive fails with:

Code:

This happens immediately - within a few tenths of a second at most. It happens whether I use mount -a(mounts are listed in the fstab file) or a full mount command. It happens on both 32-bit and 64-bit installs.

Nothing appears in the messages log file on either the server or the client machine.

It was working in Fedora 12.

Iptables and ip6tables are both disabled. nfsd is running.

Hosts.allow and hosts.deny both exist on the client, but are empty. They contain nothing but comment lines.

I can ping the server and run ssh shells to it. I can open Web pages in Firefox.

The server is CentOS 5.4.

View 3 Replies View Related

Networking :: Specifying The Source Address For SMB Mounts

Jan 11, 2010

Is there way that you can specify the source address to use when mounting a remote share? I'm trying to test an application, and I need to be able to script a job that connects to a remote SMB server using different local IP addresses on the system. It would have 1 main address, and several aliases in the same subnet. The script would mount the remote server, transfer a file, then unmount, change IP, and repeat.

View 2 Replies View Related

Ubuntu Networking :: NFS Randomly Mounts On Boot

Jul 10, 2010

Here is my entry in the fstab:

192.168.1.11:/mnt/array1/Our_NAS media/Our40NAS nfs auto,_ne
tdev,rw,hard,users,intr 0 0

Upon reboot, sometimes it would mount automatically and sometimes it would not. I have not discovered any specific pattern. It is very random. Sometimes it would go many reboots without mounting and on the next it would mount it. I tried putting timeo paramter, played with the parameters, but still have the same issue. My laptop is connected to a wireless network. When I do mount -a or if I go to Places everything mounts great. It just simply will not mount all the time automatically upon boot, and after wireless connection is established.

View 6 Replies View Related

Ubuntu Networking :: NFS Mounts As Read-only File System

Dec 15, 2010

I am trying ti set up a NFS server using the guide on [URL] However, the NFS mounts on the client side as a read-only file system, so I cannot modify nothing. Here is my /etc/export file on the server side:

Code:
/home/acrocephalus/ 192.168.1.35 (rw,async,no_root_squash)
and this is my /etc/fstab file relevant line on the client side
Code:
192.168.1.33:/home/acrocephalus/ /home/acrocephalus/AcrocephalusServer/ nfs rsize=8192,wsize=8192,timeo=14,intr
Then, I mount the system using the command
Code:
sudo mount /home/acrocephalus/AcrocephalusServer/
.

how to mount the NFS with full read-write permissions?

View 3 Replies View Related

Networking :: After Server Crash Nfs No Longer Mounts At Boot

Jan 31, 2010

My Debian Lenny server crashed today for some inexplicable reason, and now one of my machines refuses to mount NFS shares on bootup. Manual mounting works fine. It's just one machine; the others are still mounting normally.

View 2 Replies View Related

Networking :: Make NFS Mounts Easy To Find For OpenSuSE 11.2 Users?

Oct 29, 2010

Our organization uses OpenSuSE servers (NFS/LDAP/SAMBA/more...) and are in the works migrating all the workstations for users to SuSE from Windows as well.

I like how in windows the mapped network drives are all listed in My Computer. OpenSuSE has a similar "My Computer" that lists current drives, and general PC info (in KDE, which is what we use in the office). Is there a way to list mounted drives in here, so that users can easily find the network drives? I'm open to alternatives to listing it in SuSE's sysinfo page, as long as it doesn't mean telling my old school windows users, "oh yeah, all your network drives are in /mnt/shares/...they wont have a CLUE what that means. It HAS to be easy for them to navigate to.

My attached image is just a screen shot of SuSE's "My Computer" so you can see where I would ideally like to put the shares.

View 1 Replies View Related

Ubuntu Networking :: Unable To Mount CIFS

Jul 14, 2010

I am getting an error when I try to mount a CIFS file-system via terminal:

cifs_mount failed w/return code = -22

If I Places > Connect to server, it will open just fine. The share is also accessible from all the other computers on the network.

Google search brought me here to an archived thread which gave a different error number (!)

Desktop is Ubuntu 10,4LTS/Gnome; fresh install with no additional packages installed (so it's possible I am missing something but not sure what!)

View 1 Replies View Related

Ubuntu Networking :: IRC Channels - Benefits Of NFS Over CIFS?

May 14, 2011

I was asking around in some IRC channels earlier trying to develop some thoughts on how NFS is better than CIFS. I set up a FreeNAS file server, and that's where all of my data now resides on a pair of raided drives. That way my main desktop, which is kind of a power hog gaming rig, can be powered off since I pretty much live on my laptop now. Anyway, I began to tinker with CIFS and NFS. Since some family members in the household use Windows, I definitely need CIFS. But I wanted to bounce back to NFS too and check it out.

While I do think it's nice I don't have to worry about authentication to the NAS box when using NFS, it's still a little scary. Being that it's more of a trust method instead of actual authentication, truthfully all a user needs to get into your data is the path to your NFS share and a matching UID. I mean, am I wrong by saying this? Sure, it may seem like NFS is convenient, but this angle of it is a little scary. I just don't feel like that screams "secure."

On the flip side, you have CIFS, which uses a user authentication level. So I hit my little shortcut to my NAS and it asks me who I am. I log in and bam, I have connection. I can browse other folders on the share, etc. This is convenient because I do have a "public" share on here with a generic user. That way if friends come over and want to transfer something to me, I have them drop it in the public share and I later transfer it accordingly. Since there is a user level authentication, this to me seems a little more secure.

Speed wise I was a little concerned, as some users have said NFS is faster than CIFS. Well, they might be right. But I did a few bench tests here on my laptop, using the same exact share except one with CIFS one with NFS. I stayed in the exact same location and transferred the same 300mb file in each instance.

NFS - 1.7mb/s
CIFS - 1.5/mb/s

Not exactly enough to warrant a huge argument over, so I leave that argument along the road to be forgot about since it doesn't really have any bearing on this situation. I like things about both NFS and CIFS. I just want to know why is it "not optimal" to use a full blown CIFS setup even if you're using 100% Linux systems.

View 4 Replies View Related

Fedora Networking :: Mounting Windows Share With Cifs?

Feb 10, 2009

Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?

View 3 Replies View Related

Fedora Networking :: Windows CIFS Shares At Startup

Jun 3, 2011

After booting, the sda5 and sda8 mounts work fine, but the Windows shares haven't been mounted. If I enter the command: mount -a everything works fine. I don't know if this a timing issue, or something to do with the new systemd stuff, but it has happened in previous Fedora releases from time to time.

View 1 Replies View Related

Ubuntu Networking :: CIFS VFS No Response For Cmd 50 Using 9.10 Karmic Koala

Feb 2, 2010

I was also having a problem with the Shutdown / Reboot sequence taking ages due to using WiFi, WPA2 and mounting SMB shares. I wasted about 4 hours digging around before I finally realised that the solution involved Upstart. 1. Open a terminal and enter:

Code: sudo gedit /etc/init/network-manager.conf 2. Just below the description line add the following:

Code:
pre-stop script
/etc/init.d/umountnfs.sh
end script

3. Save the script and attempt a restart. I don't know if this will work for everyone, or even what version of Upstart you need for it to work, but it cuts my shutdown time from about 2 mins to about 30 seconds.

Note: This has been working for me about 90% of the time. Occasionally though I see that the script ends prematurely due to the TERM signal and I end up with the 2 minute wait again. I've added the following to the /etc/init/network-manager.conf file:

[Code]...

View 9 Replies View Related

Ubuntu Networking :: Only Root Can Write To Cifs Mount?

Feb 18, 2010

I'm trying to talk the studio I work at into switching one of the departments to linux. (likely kubuntu). So I'm trialling it, but having issues mounting windows shares.It's working great; all except that only Root can write to the mount. I've tried a few different things with fstab, no go.Below is my fstab so far, and you can see the mountpoints.

Code:
# /etc/fstab: static file system information.
#

[code]....

View 2 Replies View Related

Ubuntu Networking :: Fstab Setup For Cifs Mounting?

Aug 12, 2010

Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:

//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0

The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.

Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.

View 5 Replies View Related

Ubuntu Networking :: Mount Cifs With Charset Errors

Nov 18, 2010

I've been mounting our windows network by opening nautilus and typing in the address bar:

smb://<servername>/share

and I am prompted to log in, all is fine.

however, I need to use some apps where I need to pick the folder from a file list, which I can't get to work with the above connection.

I then created the following line in my fstab file:

Code:
//<servername>/<share> /mnt/fileserver cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

This appears to mount correctly, however there are some filenames on the server with the bullet character() in their name, and by mounting via fstab, the bullet shows as a question mark, but mounting from nautilus shows the bullet.

Anyway I can mount with fstab, and have all characters show properly in the filename?

View 1 Replies View Related

Ubuntu Networking :: CIFS Complete Directory Listings?

Mar 30, 2011

I currently have some windows (Win7 Ultimate 64-bit) shares automounted to my linux laptop whenever I am on my home wireless network. I have this functionality set up using autofs/CIFS and it works well, except for one issue: The directory listings for the mounted windows shares are incomplete, i.e. when listing the directories on the linux machine, it only lists a fraction of what is available in the actual share. One directory returns 28 of 51 files present, for example, and another 33 of 60. NOTE: None of the files on the windows shares are 'hidden' or in any way shared differently than the others.

View 1 Replies View Related

Networking :: Unable To Mount Cifs Shares As User?

Oct 4, 2010

this subject seems to have been touched a hundred times, but after following all the advice google could provide, i'm still unable to mount cifs shares as user, here's the fstab line

<server> <mountpoint> cifs rw,noauto,credentials=/etc/gattonauth,uid=1000,gid=1000,dir_mode=0770 0 0
i've chowned the mountpoint to the user,
ive tried
chmod +s /sbin/mount.cifs /sbin/mount.cifs
suggested by http://www.linuxquestions.org/questi...-lenny-711337/

View 9 Replies View Related

Networking :: Mounting Cifs As User - Permissions With SUID Bit?

Jan 11, 2010

I have looked at a LOT of forum posts and other sites trying to solve this problem but I have had no luck. I've seen the following:[URL].. I have an entry in my fstab that lets root mount a samba share on a Windows Server 2003 machine and gives users full read/write access to the share. The fstab entry looks like:

Code:
//servername.net/share /mnt/share cifs rw,user,umask=000,username=someuser,noauto,file_mode=0777,dir_mode=0777 0 0
However, when a normal user tries to mount the share they get one of two errors:
1. If I have /sbin/mount.cifs set to 777
Code:
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
2. If I have /sbin/mount.cifs set to +s

Code: mount error: permission denied or not superuser and mount.cifs not installed SUID Does anyone have any suggestions as to how I would go about getting a user able to mount this samba share?

View 1 Replies View Related

Networking :: Way To Connect To A Cifs Share, And Only Being Prompted For One Password?

Jan 12, 2011

Trying to figure out if there is a way to connect to a cifs share, and only being prompted for one password? ie using the following:

sudo mount -t cifs //goanna/neddy -o username=neddy,iocharset=utf8,file_mode=0777,dir_mode=0777 /mnt/neddy
prompts twice for a password (sudo & the share password). Is there anyway to "catch" the sudo password for the connect? (Long shot!

View 1 Replies View Related

Fedora Networking :: Unable To Mount Specific Directory Via CIFS?

Aug 19, 2011

I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:

Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source

[code]...

View 3 Replies View Related

Ubuntu Networking :: How To Test Cifs Is Actually Mounted In Script File

Mar 12, 2010

I would like to be able to test that a network mounted cifs(samba) share is actually mounted in a script file to do backups. I want to do this so that when my automatic backups run they actually go to the remote location or fail. Currently, if there is a network problem that prevents the network share from mounting, the files simply get copied to the folder (e.g. /media/backupmount) and end up filling up my small local hard drive.

View 3 Replies View Related

Ubuntu Networking :: Slow Transfer To Mounted CIFS Share?

May 2, 2010

I have a Hitachi SimpleNET adapter (entry-level NAS device) on a Seagate FreeAgent 1TB external HDD (formatted ext3). The NAS device is connected over 100MB/s ethernet to a Netgear Wireless G router. All other devices connect using Wireless G. The NAS runs embedded Linux on an ARM processor and it runs vsftpd and Samba for file transfers.

If I transfer a large file using an FTP client the transfer maxes out at around 2.5MB/s. For my purposes that's good enough, especially considering the Wireless G bottleneck. If I transfer a file from a Windows 7 client (using samba) I get around 2.2MB/s. I know the CIFS protocol has more overhead than FTP and the difference in speed isn't that noticeable.Any combination of Ubuntu and Samba results in me getting less than 1MB/s. I've tried mounting it through Nautilus (GVFS) and /etc/fstab. FTP from this same Ubuntu client gets around 2.5MB/s.

I don't have root access on the SimpleNET to change the smb.conf. I've made a few adjustments to the mount options with no success. how to either speed up 10.04 as a Samba client or mount a folder on an FTP server locally? I've tried both curlftpfs and FUSEFTP. With curlftpfs any write operation results in an I/O error and it crashes intermittently. With FUSEFTP I never got that far and couldn't even browse the folder.

View 2 Replies View Related

Networking :: Export A Raw Device Through NFS/CIFS To Be Mounted At Remote Location?

Nov 17, 2010

Can we export a raw device through NFS/CIFS to be mounted at remote location?

View 2 Replies View Related

Fedora Networking :: Open Office Freezes When Saving Over Mount.cifs To Win 7?

Jan 8, 2011

My Open Office freezes when I try to save over a network to Win 7 Home Premium. I'm running fedora 14 with win 7 mount via mount.cifs. I have full rw access to windows via dolphin. Does anyone have a solution?UPDATE:this is an official bug.[URL]if anyone has a work around,but every work around I've seen in forums don't work.

View 3 Replies View Related







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