.goutputstream garbage files on cifs mount

The situation: I have a cifs mount and I'm trying to manage files using nautilus and gedit.
The problem: Whenever I try to upload any file it says that the file already exists and by that ask me if I want to replace or skip.
If I choose to replace you can see that the file gets uploaded in nautilus, but then it dissapears from the file list, if you update the list it will appear again but with a hundred files named .goutputstream-XXXXXX.
If I choose skip, an empty file with the name of the file I tried to upload appears.
If I try to create a new file with nautilus a progress bar appears which says preparing, nothing happens on the progress bar and when I cancel there will be thousands of copies of "new file".
Further more... trying to dublicate a file creates the same result, progress bar and then thousands of copies of the file.
And even more... Editing a file with gedit seems fine... until second time that you try to save it. First it says that the file has already been altered (but there is no change if you reload it) and if you choose to save anyway it's fine, but the gedit says it can't create a backup file, but it does create a backup file, but it's empty and there is hundreds of garbage files named gedit-save-XXXXXX.
Using terminal and other editor (nano) creates no problem. I have no clue where to even being troubleshooting...
This is only on a cifs mount, if I use smb:// in nautilus to access the share there is no problem...
Anyone who can help?

The situation: I have a cifs mount and I'm trying to manage files using nautilus and gedit.
The problem: Whenever I try to upload any file it says that the file already exists and by that ask me if I want to replace or skip.
If I choose to replace you can see that the file gets uploaded in nautilus, but then it dissapears from the file list, if you update the list it will appear again but with a hundred files named .goutputstream-XXXXXX.
If I choose skip, an empty file with the name of the file I tried to upload appears.
If I try to create a new file with nautilus a progress bar appears which says preparing, nothing happens on the progress bar and when I cancel there will be thousands of copies of "new file".
Further more... trying to dublicate a file creates the same result, progress bar and then thousands of copies of the file.
And even more... Editing a file with gedit seems fine... until second time that you try to save it. First it says that the file has already been altered (but there is no change if you reload it) and if you choose to save anyway it's fine, but the gedit says it can't create a backup file, but it does create a backup file, but it's empty and there is hundreds of garbage files named gedit-save-XXXXXX.
Using terminal and other editor (nano) creates no problem. I have no clue where to even being troubleshooting...
This is only on a cifs mount, if I use smb:// in nautilus to access the share there is no problem...
Anyone who can help?

Similar Messages

  • Smb: versus cifs: mounts?

    What are the differences when mounting remote shares using smb: versus cifs: protocols?

    I had this problem, for those googlers here is the solution, post this into your /etc/rc.local.shutdown file:
    echo "Unmounting samba-cifs filesystems..."
    MOUNTED_CIFS_DIRS=`mount -t cifs| cut -d\ -f3`
    MOUNTED_DIRS_ARRAY=($MOUNTED_CIFS_DIRS)
    for i in ${!MOUNTED_DIRS_ARRAY[@]}
    do
    umount -l ${MOUNTED_DIRS_ARRAY[i]}
    done
    so that it looks like this:
    [jam@ikaros ~]$ cat /etc/rc.local.shutdown
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    echo "Unmounting samba-cifs filesystems..."
    MOUNTED_CIFS_DIRS=`mount -t cifs| cut -d\ -f3`
    MOUNTED_DIRS_ARRAY=($MOUNTED_CIFS_DIRS)
    for i in ${!MOUNTED_DIRS_ARRAY[@]}
    do
    umount -l ${MOUNTED_DIRS_ARRAY[i]}
    done
    [jam@ikaros ~]$
    this will unmount the cifs mounts before the network goes down. Thanks.

  • Cifs mount

    Hi frendz,
    I have this cifs mount command in linux (mounting a share disk from windows server to linux):
    # mount -t cifs -o username=admin,password=admin022390# //10.186.251.112/G$ /u02What is the equivalent command for this in SunOS?
    Thank you very much,

    Hi.
    Solaris don't have module for support mount CIFS. So no equivalent command for Solaris.
    You can use smbclient for get/put some files on CIFS share like ftp server.
    OpenSolaris support CIFS as client.
    Read guide: [http://dlc.sun.com/osol/docs/content/SSMBAG/smbclientusertaskstm.html] for configure and trubleshuting.
    Regards.

  • CIFS mounts will cause stalls on shutdown

    I've had this problem for awhile, but I've been brushing it under the rug.  I have several mount points set up so that I can access several different webspaces locally.  They are all set up so that they need to be manually mounted(I don't need them at every mount).  I have some mount problems..but thats not my main issue..talk about them laer..  My main concern is that when I try to shut down my system, it stalls upon trying to unmount these filesystems.  I am unable to umount them on my own..but not at shutdown.  I think the problem lies in the area of the order of unmounting.    I just ran across that idea, so I'll report back my findings tomorrow, but does anyone have any idea what would cause this kind of problem?
    mike

    I had this problem, for those googlers here is the solution, post this into your /etc/rc.local.shutdown file:
    echo "Unmounting samba-cifs filesystems..."
    MOUNTED_CIFS_DIRS=`mount -t cifs| cut -d\ -f3`
    MOUNTED_DIRS_ARRAY=($MOUNTED_CIFS_DIRS)
    for i in ${!MOUNTED_DIRS_ARRAY[@]}
    do
    umount -l ${MOUNTED_DIRS_ARRAY[i]}
    done
    so that it looks like this:
    [jam@ikaros ~]$ cat /etc/rc.local.shutdown
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    echo "Unmounting samba-cifs filesystems..."
    MOUNTED_CIFS_DIRS=`mount -t cifs| cut -d\ -f3`
    MOUNTED_DIRS_ARRAY=($MOUNTED_CIFS_DIRS)
    for i in ${!MOUNTED_DIRS_ARRAY[@]}
    do
    umount -l ${MOUNTED_DIRS_ARRAY[i]}
    done
    [jam@ikaros ~]$
    this will unmount the cifs mounts before the network goes down. Thanks.

  • Cp cannot preserve times when copying to a cifs mount

    Hi everyone,
    I've just hit this odd little problem and, so far, google is not being my friend
    I have this remote filesystem mounted via cifs mounted via fstab like the below:
    //10.11.12.13/remoteshare /mnt/localshare cifs noauto,guest 0 0
    When I try to use cp I get error messages
    cp: preserving times for ‘file’: Operation not permitted
    The files do copy file, they just have different time stamps. If I copy as root it works fine.
    I haven't been able to find any information via google, or the arch forums/wiki. If anyone can offer any pointers that would be great.
    Last edited by starfry (2013-01-25 15:05:44)

    starfry wrote:
    As I am interested in the answer, I don't consider it a necrobump but can't speak for others
    When you say "your user" do you mean your local user or the user on the remote share ? What if there is no user exposed on the remote share (e.g. like it's just a public share) ?
    Sorry, I mean the local user you're doing the copying from.
    The reason is the files are mounted under the root user by default, but you can give a local user ownership in the mount command.
    The remote computer may well be able to override this (I've never tried), but assuming a standard set-up.
    I mount my samba share with the "uid=skanky,gid=users" option and can mv and cp to it without permission issues.

  • Files disappearing from mounted .DMG files

    Hi, I've had this issue occur a few times in Tiger and I'd like to know if anyone else has experienced this and if there's a known workaround. Sometimes, when browsing a disk image, or, less commonly, a physical disc like a CD, files in the Finder will seem to disappear from the image/disk when clicked on. First the filenames will go, then the files themselves, and evidently those files then become unreadable in general as applications can't access them. I don't get any error messages; it's just like the filesystem on that disk eats itself away and vanishes. I can unmount the disk without any issue.
    I'm having this problem right now with any disk image I mount on my XServe -- it goes through the "Verify" step just fine, shows up on my desktop, I can browse and even open files, but inevitably within a very short period of time the above occurs, and it becomes useless. I KNOW it can't be the .dmg file that's the problem, because if I share the .dmg over Personal File Sharing and mount it from another Mac, this problem does NOT occur. It's just on the one Mac hosting the files. Any idea what this could mean, and what could solve it?
    Also, I know a lot of times a restart will cure this weird little glitches, but I would really like a solution, if you know what I mean... particularly on a server, I cannot afford to restart whenever I have a problem.

    Sounds like you have run into a very strange, and unfortunately no uncommon, bug involving file systems from either servers or FAT 32 mounted external drives. See this discussion:
    http://discussions.apple.com/thread.jspa?messageID=5310151
    Read on down away to see some replies from people who did some pretty thorough investigations of the problem.
    Francine
    Francine
    Schwieder

  • Have Mac OS 10.7.4 installed on an iMac-3.1 GHz Intel Core i5...the Finder will not find file on Windows mounted volumes...what setting should we be using...tried the same settings as our iMac 10.6.8-did not work!

    Have Mac OS 10.7.4 installed on an iMac-3.1 GHz Intel Core i5...the Finder will not find files on Windows mounted volumes...what setting should we be using...tried the same/working settings as our iMac 10.6.8...did not work for 10.7.4!

    Added note: We are tring to find files on Windows 2008 Server Standard...

  • Disk Utility crashes and dmg files won't mount

    My girlfriend's Powerbook has been acting up for a while now, and we still can't seem to get it working properly.
    One day, her Adobe programs just stopped working. Tried several things, but nothing worked and she ended up reinstalling OSX. That fixed the problem, but then she noticed she could no longer open DMG files. Accordingly, she tried to run Disk Utility but then found that it would always crash when trying to open.
    She ran Disk Utility from the install disc, but nothing turned up. She also tried looking up several methods of fixing the DMG problem (deleting various files), but nothing's worked.
    If I remember correctly, she also tried using the 10.3.9 combo updater some time ago, but that didn't help. We're actually not totally sure about that, so we're trying to reinstall the 10.3.9 combo updater, except for the fact that Apple has only made the file available as a DMG (which she obviously can't open).
    So can anyone please help us get Disk Utility to stop crashing, and get those DMG files to open/mount? I have the crash logs but they're huge, so I'm not so sure if I should post them. Thanks everyone!
    PS. I can open DMG files for her using MagicISO (I'm on a PC), but it's a bit of a pain transferring those larger files to her.
    Powerbook   Mac OS X (10.3.9)  

    What files did you try deleting? If you don't know what a file does or why you're messing around with it, you shouldn't; that's just asking for trouble.
    Let's assume for the moment that you have a corrupted preferences file. To find out, go to Users/Library/Preferences and locate the com.apple.DiskUtility.plist file and drag it to the Desktop. Now relaunch Disk Utility and see if the problem continues. If not, then use Disk Utility to Repair Permissions, and then you can Trash the file on your Desktop.
    You should also use your OS X install disc to boot the system and use Disk Utility to Repair Disk, to see if there are any problems. If it reports any errors that it can fix, keep running it until no more are reported.
    If there's an error that it cannot fix, stop using your system immediately and make a backup of everything; then get a disk utility such as DiskWarrior to see if it can fix your drive. If your drive cannot be repaired, you will need to replace the internal drive and restore from your backup (if you have one).
    Hope this helps,
    Mulder
    If my answer helped solve your problem, please consider awarding some points. Why Reward Points?
    iMac G4 700Mhz   Mac OS X (10.3.9)  

  • Cifs mount error(56): Invalid request code

    I am trying to cifs mount my Arch server (called server) to an SMB disk on a router (experia). This keeps throwing me error messages. Invalid request code.
    So I decided to test this on my Arch client (called kastje). Same issue:
    [david@kastje ~]$ sudo mount -v -t cifs //experia/testshare /mnt/temp -o username=testuser,password=testpass
    mount.cifs kernel mount options: ip=192.168.178.1,unc=\\experia\testshare,user=testuser,pass=********
    mount error(56): Invalid request code
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    However, mounting through gvfs-smb (PCmanFM) works fine, so it seems that both my client and the router are configured correctly but I am failing at using mount.cifs. But I just cannot find out what. Searching for the mount error(56) turns up some result but none are really helpful, as they do not solve the issue .
    I hope someone can point me in the right direction.

    From my fstab:
    //Server/Shares /mnt/Shares cifs guest,uid=1000,x-systemd.automount,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    //Server/Homes /home/pat/Server cifs credentials=/home/pat/.smbcredentials,x-systemd.automount,iocharset=utf8,sec=ntlm 0 0
    Does your router have a smb.conf? Or, I should be asking, is a samba server running on your router? You may find that an NFS share might work better than samba, especially if you don't have a setup like mine.

  • KDE5 - Wireless Shutdown With CIFS mounts

    I've recently started to use WiFi to connect my computer to my home network. I'm using networkmanager 1.0.0-2 & networkmanger-qt 5.9.0-1
    I have 5 CIFS mounts in my FSTAB.
    When I'm connected to my home network via ethernet cable and I issue a shutdown command my system shutsdown immediatly.
    However when I'm connected via WiFi in hangs for 3 minutes whilst trying to talk to/umount each CIFS mount. So with 5 mounts this can mean 15 minutes to shutdown.
    So apart from remembering to do a umount -a before I issue a shutdown command is there anything else I can do?

    At the moment, I don't know of anything that works. NetworkManager stopped executing pre-down and down dispatcher actions starting with ver>0.9.8, so my way of automatically unmounting doesn't work anymore. Plasma also does not run my shutdown scripts when placed into "~/.config/plasma-workspace/shutdown" as instructed here, even though it should.
    Edit: here's the related bug report for Plasma: https://bugs.kde.org/show_bug.cgi?id=338242
    Last edited by Soukyuu (2015-04-22 21:43:03)

  • Yosemite 10.10.1: Finder/CIFS mount problem: wrong folder count/folders not shown @samba shares

    Hello to all,
    we have several MacBook Pro (15" MBP Retina 2012/13"MBP Retina 2014) running. After upgrading to Yosemite 10.10.1 we had one nightmare after the other.
    Most problems could be solved with 3rd party software upgrades but there are several problems with the operating system itselve which can not really  be called a professional productive system at the moment...
    Ok., one thing after the other...here is one of our biggest problems:
    After upgrading from Mavericks or Mountain Lion to Yosemite 10.10.1 the CIFS/SMB mounts to our samba 3.x servers, running on Ubuntu Linux LTS 12.04 makes trouble. We could mount the server shares but after browsing with the Finder the beach ball occures and the Finder hangs forever. Sometimes we could not refresh the Finder, killing the process ended in a complete hang-up of the system which ended in a switch off death blow. This is not amusing because we have 30Tb of customer data there, which has to be worked out.
    We heard about the SMB3 protocol which will be used per default in Yosemite and so we decided after some testings to upgrate our Ubuntu servers to the latest LSF 14.04. release with samba 4.1.6 installed. There was no message from Apple for this SMB protocol release upgrade, never heard something related to Yosemite (Why?).
    Ok, after these server upgrades and disabling most of the Spotlight functions the performance to the CIFS shares was a little bit better as before but now we have another problem with the Finder...if you browse to the shares there are folders missing which have lots of files in it. For example there is a folder with 60 subfolders and 3562 files on the first level in it, the Finder shows 220 files and 15 folders. The Terminal shows a different count with "find . -maxdepth 1 -type d | wc -l" or "find . -maxdepth 1 -type f | wc -l" but there is also a difference to the original file and folder count. It doesn`t matter if the clients are connected via WiFi or Gigabit Ethernet. We have no access problems. We have the same behavior if we set the files and folders to 0777 permissions on the servers. The deletion of the preferences files of the users on the MacBooks does not solve the problem. If we use the "Go To Folder" option and type the path to a folder which is not shown in the Finder you get an result or not. But it is also possible that the result is not correct and there are also still files or subfolders missing.
    In my opinion this is a timeout problem and a "special SMB3 protocol interpretation" which is buggy. We have one hint found in /var/log/system.log:
    "Jan 23 14:35:49 wsosx33.clients.getcom.de KernelEventAgent[69]: tid 54485244 type 'smbfs', mounted on '/Volumes/customersdata2015', from '//x144067:@srvlxp013.servers.getcom.de/customersdata2015', not responding"
    We had no problems with Mavericks at all, we still have no problems with Windows 7 Pro/Ultimate, Windows 2008R2 (native or virtual) or Linux Mint 17/17.1 clients, neither with samba 3.x nor with our actual environment and different newer samba releases.
    We believe that this is a big bug in Yosemite, but we cannot go back to Mavericks because of incompatible TimeCapsule backups. Our workarround at the moment is that we have installed Linux Mint on our MacBooks to get 80% of our daily jobs done, rest has to be done with Windows 7 installed over virtualbox @Linux.
    We have no clue at the moment how to solve this problem, the samba logs do not give any hint. The access from other operating systems is perfect and very fast, but not with Yosemite. We checked different tips found in the internet but nothing helped.
    Does anybody has another idea to get Yosemite working or should we keep Linux Mint until Apple will provide a CIFS/SMB patch and going on with our workaround solution, which is productive at the moment ??? Our staff is not amused and wants one solution and not this workaround with two operating system. We have to decide wether we wait until Apple will get this fixed or we have to switch to Microsoft Windows (which is a No Go for me, but I will not be asked...).
    Thanks in advance
    C.

    Hi William,
    thank you for your response.
    As you can read in my post I talked about CIFS/SMB.
    It makes no difference if we mount the share over CIFS or SMB.
    Folders with lots of files will not be shown even if we use SMB3 or an older protocol.
    As mentioned I believe this is a timeout problem.
    Does anybody know how the CIFS/SMB timeout setting in Yosemite could be changed?
    Kind regards
    C.

  • Error -36 while trying to move files on SMB mounted NAS

    Hey,
    I have been experiencing an error -36 while trying to move files around on my NAS.
    I have the feeling it has something to do with insufficient privileges that are being acquired.
    When mounting in windows explorer no problems arise.
    When using the mac mounted disk in Parallels same problem.
    Mounting disk in mac as following:
    smb://login:password@ip-address/NAS-mount
    or
    smb://ip-address/NAS-mount (after which login details are prompted)
    Any help or suggestions are welcome,
    Jan

    Hey,
    I tried CIFS but that is giving me the same error -36.
    I think it must have something to do with finder permissions as windows explorer is handeling it just fine.
    Any more suggestions?
    Tried:
    cifs://login:password@ipaddress/share
    cifs://ipaddress/share

  • Can't create symbolic link on a cifs mount (on a linux VM 14.10 Ubuntu)

    I created a file share on an azure storage and mounted the share on a VM using:
    # mount –t cifs //ACCOUNT_NAME.file.core.windows.net/SHARE/mnt/DIRECTORY
    -o vers=2.1,username=ACCOUNT_NAME,password=ACCESS_KEY,dir_mode=0777,file_mode=0777
    Everything works fine except I can't create symlinks inside the share! I get the following error:
    "Operation not supported"
    cifs should support symlinks....I am using a VM with Ubuntu 14.10.Been researching this for 2 hours and no solution as of yet! All suggestions appreciated! 

    Thanks Malar,
    In my opinion, there is something wrong in the smb.conf file of the server. In order to support symbolic links, unix extensions must be disabled there. Also the sfu option needs to be enabled. I tried everything possible on the client (VM) end. The issue
    is clearly from the server
    Best,
    Karim

  • Linux CIFS mount failing to connect to new stretch cluster

    Before migrating one of our file servers to a stretch cluster, our Linux servers were able to mount shared directories. Now, they fail 50% of the time, depending on which of the two IPs is returned by DNS when the Linux server attempts to mount the shared
    directory.
    Is there a solution for providing compatibility with Linux so that stretch clusters are recognizable and get the active IP when trying to mount shared file systems?

    Hi Meliphar:
    From your second post it appears that your prolem is resolved. For future please note that this forum is dedicated to resolving issue with open specification which can be accessed by visiting
    http://microsoft.com/openspecifications and clicking on "Documents" button. your question does not seem to be related to open specifications. If you believe your question is related to open
    specifications, please provide more information about the document this question is related to.
    If your question is not resolved yet, you may want to post to a Linux forum for a better chance of an answer. If your CIFS implementation is by Samba, you can contact samba support by visiting the following page:
    https://www.samba.org/samba/support/
    It not clear which vendor's cluster you are using. If your cluster is based on windows server, you may want to post your question at the following forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winservergen
    Regards, Obaid Farooqi

  • Error (-600) drive with Logic files no longer mounting.

    Greetings fellow sufferers.
    A brief history pre my latest disaster. PSU and logic board died on me last week after 6 years of constant continuous faithful service. Bought a second hand power mac took out hard drives and RAM and replaced them with mine. Logic song files stored on second drive (identical to first drive). Everything's hunkydory.
    On tweaking some sounds on Motu Symphonic (that's another posting there)"SBOD" (spinning beachball of death) appeared and after waiting an iceage I tried to force quit Logic. Nothing doing. Error message (-600) came up. A new one on me. Mac codes shows "procNotFound No eligible process with specified process serial number" As a last resort I used the "hold the power button technique", unplug everything from the wall and reboot.
    After a second iceage (searching for local drives) the second drive (Logic songs) does not appear and in disc utility it shows second drive not mounted. The first drive is fine.
    Can any of you enlightened ones cast some wisdom in my direction?
    Ta

    Solved
    Hard drive dead as disco
    Sorry to trouble you peeps

Maybe you are looking for

  • ICal and iCloud

    Okay, this whole iCloud thing is a bit above my head right now.  I seem to be making it work, but am a bit confused, and want to make sure I am doing things correctly.  Where there is an actual question, I will place in the quote box... but, there ma

  • Account Assignment Category in PR

    Hi Experts, We have one scenario while user create PR with Account Assignment Category "K" after that release the PR and create Purchase dept create PO. Question is why system allow to remove the cost center in PR after create the PO  and how can i r

  • When I open Bridge Master Collection CS6, I get the message: There was a mistake in Bridge, therefor the cache cannot be read. Try to erase the central cache to solve the problem.

    When I open Bridge Master Collection CS6, I get the message: There was a mistake in Bridge, therefor the cache cannot be read. Try to erase the central cache to solve the problem. The solutions given by Adobe don't help me. Does anyone have another s

  • Macbook Pro Retina - Weird sound when plug in adaptor

    Hi, I have had my Macbook Pro Retina 15inch now for about a year and a half and suddenly it's making a sound whenever I plug it in. It's like the sound of a hard drive, but it's in sync with when I scroll up and down. There's no sound whenever it's u

  • Trial Download NOT WORKING

    I have been trying to download Dreamweaver for 4 days. Today (7/24/07), Adam, from Adobe Customer Service told me to click the download button. That was not helpful. My colleague from another company also cannot download Dreamweaver. On Sunday, July