OpenSUSE Network :: Unmount Of CIFS Hangs Or Restart Or Shutdown
Dec 30, 2009
I have a SMB share being mounted during boot using a /etc/fstab entry.All that seems to work fine, but on shutdown or reboot I found that the system hangs for a variable period trying to unmount the share. It appears from the log that the unmount is happening after the network connections are closed.Is there someway around this, or is there some other way I should be mounting the share so that it is closes successfully at restart or shutdown?
View 1 Replies
ADVERTISEMENT
Mar 21, 2010
I edited fstab file and added my hdd partitions to it. just wondering should i manually unmount my partitions everytime i shutdown or restart.
View 4 Replies
View Related
May 20, 2011
Completely new Gateway dx4850-45, installed 11.04 64 bit.
Symptoms:
- Both restart and shutdown hangs, have to hold the power button to kill it.
- Once the screen saver kicks in it hangs,
- Try to reinstall using 11.04 and 9.10 and they both hang. On the screen there is briefly some ascii text talking about "... found 2 index files ..."
View 2 Replies
View Related
Nov 26, 2009
I'm running openSUSE 11.2 Gnome Desktop Environment. Whenever I try to either shutdown or restart my machine as a "normal user", I've been logged off instead! When I try to re-login the screen (xorg) freezes. I don't know how to debug this problem. The problem could be related to hal or d-bus or policykit or X-org..... simply I don't know. N.B. I can shutdown and restart my machine only as "super-user" (root).
View 9 Replies
View Related
Jan 26, 2011
I had my netbook which is an Acer AspireOne lock up on me once earlier today and after doing a hard shutdown *holding the power button* and booting it back up I noticed that I could no longer reboot the machine from KDE's graphical shutdown button. Basically I click it and it pops up with the 30 second count down and then nothing. However I can run as root,
Code:
Shutdown -r now
and it will comply and reboot. I did notice that rngd was returning an exit status 1 and after some research decided to uninstall it with no change to anything. I decided to attempt and see if it was just a KDE issue as many problems have been, but when I attempted to log into Gnome I got a very nice white screen with one black line where the taskbar should be. Whether they are related or just coincidence I don't know.
I've ran my google researching skills into the ground on this one and I'm tired and a bit grumpy because I haven't been sleeping so it'd be awesome if I could get a heads up, because to my knowledge it's not reporting any errors it just seems to hang without sending the shutdown signals.
View 1 Replies
View Related
Jul 23, 2010
Logout, Suspend and hibernate works as it should in my gnome-shell desktop.But Shutdown/Restart does not - I just get back to my kdm login screen again...how do I enable this ?
View 5 Replies
View Related
Dec 15, 2009
Pressing the shutdown or restart buttons in XFCE simply logs me out and leaves the system running. I did some Googling and it was suggested that by default users don't have permission to shutdown. (not sure how this is a XFCE specific problem in that case but moving on...)
I've taken the following advice:
For a "desktop" system that wants to protect itself from casual attacks (and "puzzled penguins"), but still grant the user control of their system, run the following as "root":
USER=<your_userid>
polkit-auth --show-obtainable | while read OPT; do
polkit-auth --user $USER --grant $OPT
done
Where <your_userid> is the name of your unprivileged account. I wasn't entirely sure how to run it, so I stuck it into a shell script and ran that with the sudo command. Needless to say it hasn't worked. Is there an easy "sure fire" way to fix this problem, hitting the shutdown button repeatedly to test really grates on you after a while. BTW, Pressing the power button on the front of the system shuts it down okay.
View 5 Replies
View Related
Aug 9, 2011
recently I installed opensuse 11.4 in my Dell optiplex 790 desktop. everything works well. however, when I tried to restart or shutdown my computer . the computer logoff and then "freeze" at opensuse window. I have to turn off the power button forcely and turn on the computer again.
My computer configuration:
DELL Optiplex 790
Intel i5 3.1G with HD intel graphic card
Bios revision A05
Memory 8G
View 9 Replies
View Related
Feb 27, 2009
the (almost) last message I see is"shutting down (remotefs) network nterfaceIf I then press Ctrl-Alt-Del the system goes on until:shutting down (localfs)network interface: eth0... and that's it - further go on possible,by any means.No complete shutdown possible.Until present I did at least get nojournal replay at the next startup
View 9 Replies
View Related
Aug 21, 2011
I have opensuse 11.4 (Gnome + KDE) installed. The problem is with Gnome. When in KDE, everything works fine. But in gnome, when I shutdown/restart, it merely logs off the session. Then I have to shutdown it from the menu in the login screen.
View 2 Replies
View Related
Apr 2, 2011
Q: How can I allow my users to mount a cifs share without an entry in fstab in OpenSuse 11.4?
I have an answer myself. Until OpenSuse 11.2 I could mount my samba shares by making mount.cifs and umount.cifs setuid root. Today I installed OpenSuse 11.4. Unfortunately mount.cifs isn't anymore allowed to be setuid due to security concerns. Security is not an issue in my case, so I copied the mount.cifs and umount.cifs from 11.2 to make it work again:
1. Download cifs-mount-3.4.2-1.1.3.1.x86_64.rpm from this repository (I use 64 bit):
"http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/"
2. Extract the files mount.cifs and umount.cifs from the rpm and copy them to /sbin
3. Make them setuid root:
Code:
linux-y5qw:~ # chmod u+s /sbin/mount.cifs
linux-y5qw:~ # chmod u+s /sbin/umount.cifs
4. Mount your cifs shares as a normal user:
Code:
martin@linux-y5qw:~> /sbin/mount.cifs //192.168.2.2/data /home/martin/data/ -ousername=martin
Password:
View 1 Replies
View Related
Jan 30, 2010
Question 1.I have strange problem in OpenSUSE 11.2I have /etc/fstab entry:
//server/projects /server/projects cifscredentials=/root/.credentials,dir_mode=0777,file_mode=0777,_netdev 0 0
service network running
[code]....
View 1 Replies
View Related
Jun 6, 2011
1. 11.4 x64.
2. Solaris SMB server.
3. Gigabit LAN
4. mounted shares from that server (fstab entries)
write speed: 80-90-100 MB/s read speed extremely slow: 3-4-5 MB/s (really funny - our administrator shoked, but i'm not fun, i need fast lan for work)But when i reboot to windows 7 - i have 60-70-80 MB/s in both directions. Read and Write - nice.What happened? kernel updated and all last updates is applied (exclude kopete-because i use old kopete with animated tray icon).I have to tried many tunes like: "noatime" "directio" and also in /etc/modprobe.d - put conf file with: options cifs CIFSMaxBufSize=130048
View 9 Replies
View Related
Aug 23, 2011
I mount the share on my Windows server with following command:
Code:
mount -t cifs -o username=Administrator,password='mypassword',rw,dir_mode=0777,file_mode=0777,nobrl,uid=1000,gid=100 //10.8.0.1/users /mnt/
In my 11.3 computer it works well. I opening, copying files like I do in local filesystem. At the same time it's not working well on my 11.4 computer: the share mounts without errors, I see all files, can copy them from server to local computer. But when I'm trying to make copies to server, sometimes I receive messages like "Error writing file ...". Not always, but in the most part of my attempts. find the part of my /var/log/messages file:
Code:
Aug 23 17:35:55 linux-393i kernel: [ 3522.419904] CIFS VFS: Unexpected SMB signature
I use following kernel: 2.6.37.6-0.7-desktop
View 9 Replies
View Related
Aug 20, 2009
I used command as followings. nothing special. mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password It works well after mounted. But mounting itself takes 1-2 minutes terribly. After mounted successfully, file transfer speed looks to be normal.
View 9 Replies
View Related
Jul 15, 2010
i'm trying to setup a permanent CIFS share from my nas, but it keeps prompting for a password dispite GUEST access set on the share.FStab is as follows:
Code:
//192.168.0.253/media/ /mnt/nas1_media/ cifs guest,_netdev 0 0
if i do
[code]....
View 5 Replies
View Related
Mar 28, 2011
When trying to "Leave" the system (either via the small button on the lower right of the taskbar or by right clicking on the Desktop and selecting "Leave") the logout / shutdown / restart screen comes up. I have the "Logout" desktop effect activated, which is supposed to desaturated the background when the Leave screen appears. However, instead of simply greying out the background, the image on the desktop and the rest of the screen also gets slightly distorted, with seemingly random distortion effects cropping up all over the place (e.g. horizontal lines or large blurs).
These distortions are different every time the Leave screen comes up. The Leave screen itself is displayed fine, and apart from the dodgy background I have no other issues with the whole process (the system shuts down or restarts properly according to my choice). I am using the Radeon drivers, and all other desktop effects I have on (Magic lamb, cover switch, present windows, etc) work fine and without a hitch. It's only the Logout effect that seems to glitch. Are the distortions intentionally created by the effect in order to emphasize the focus on the Leave screen?
View 2 Replies
View Related
May 24, 2011
I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.
Here's an example of two:
//IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0
//IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users
I can execute a command
Code:
sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.
View 5 Replies
View Related
Jan 26, 2010
We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:
Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:
[code].....
View 2 Replies
View Related
Jul 9, 2011
I succeed in uTorrent server's install as a daemon in Opensuse 11.4 and it works great. I've already change my fstab file to add a network drive to be mount on startup localize in /mnt/freebox/. This is also working great. The issue is during the startup, utorrent starts before fstab and thus the network drive is unmount.
In my utorrent init.d daemon script, I ask for $Network starts in first time: Code: Required-Start: $network Is there any possibilities to order the startup and ask to fstab to start before uTorrent Daemon?
View 4 Replies
View Related
Nov 18, 2010
I need to mount a windows share on my OpenSUSE 11.3. I get it using the mount.cifs command (by itself or using cifstab), but only root can rw file. I try the uid/gid parameters (also using forceuid) and the file_mode/dir_mode parameters, but I get the same behavior: all files and directory with rwxr-xr-x permissions and root/root (user/group). I read the whole section FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS in man mount.cifs but nothing works.
View 9 Replies
View Related
Mar 21, 2011
Q: How do I mount a CIFS share so that my user stevej has all rights to it?
Summary: I can mount the share as root.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej
Using Dolphin in Super-User mode, I can copy files and directories from the share to itself with no errors. Using Dolphin in Normal-user mode. I get the failure "Could not change permissions for...". The file is copied, but its owner,timestamp and permissions are wrong. If a subdirectory is involved, the copy aborts.
Using Windows XP I can copy files and directories from the share to itself with no errors.
Testing: If I mount with uid and gid, then my normal user can not access the share.
mount.cifs //10.x.x.x/Data /home/stevej/Synology/Data/ --verbose -o user=stevej uid=stevej gid=users
[code]...
Synology DS211 - There are 2 users on it. One of which is stevej and the other is julie. Rights RWX are applied to the users and the group called users. All files have stevej as the owner and users as the group with RWX Opensuse 11.4 - There are 2 pc's. One is run as stevej. The other pc runs as julie Windows 2000 - Runs as stevej and maps to the share as stevej.
Works as expected Windows XP - Runs as julie and maps the the share as julie. Works as expected Ultimately, I want the shares to automount at boot, or login and give the user full access. I have been to Swerdna's page and done as much as I can, but still no luck.
View 4 Replies
View Related
Jul 26, 2011
I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?
View 2 Replies
View Related
Oct 1, 2010
i don't understand this, why do you have to mount a usb or cd to use them? its such a hassle, in windows the usb/cd just works, but in linux you have to mount it, why? when ever i shutdown in linux, i am using ubuntu it says my drive didn't unmount on shutdown and it might damage my files?
View 2 Replies
View Related
Jul 10, 2010
I have a network share mounted with cifs which does not work as expected. It should automount at boot and dismount at shutdown. It does not automount at boot, but "# mount -a" will mount it in the gui after booting finishes. This I can live with, but at shutdown or reboot, the cifs share hangs for about 30 seconds before dying. My /etc/fstab entry code...
I saw a bug report about the cifs umount issue, but can't find it at the moment. I did notice that it was a very old bug. If I remember to do "# umount /media/data-srv" before rebooting, all is fine, but I seem to constantly forget and then stew as the system hangs for an extra 30-45 seconds. I've tried several things to automate it including shutdown scripts added to /etc/init.d/ and elsewhere, but nothing seems to work. Anyone have this issue and find a work-around?
View 3 Replies
View Related
Jan 3, 2010
Am in the process of upgrading from an ancient OpenSuSE release (7.2) to 11.2. One thing I have been unable to do that worked fine under 7.2 is remotely mounting a compact flash drive from an XP machine. Worked fine for many moons on 7.2:
# mount -t cifs -o rw //xpbox/'cf (H)' /cf0
I get:
mount error(12): Cannot allocate memory
Other cifs mounts of hard disks work fine.
I found a posting that says this means the memory allocation error is from the XP side. It says to fiddle with the XP registry, specifically IRPStackSize. I was not confident this fix would work since there should not be anything significantly more consuming with 11.2 compared to 7.2, and indeed, I got the same error after changing the parameter to 18 and rebooting the XP machine. Any ideas? I have some suspicion that the space and parenthesis in the share name might be fouling up someone. XP forces the share name to this for some reason.
View 1 Replies
View Related
Aug 4, 2011
I recently built a computer for a friend that is only going to be used to run a network share.
The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.
If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.
I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.
View 2 Replies
View Related
Nov 17, 2015
I'm using Debian 8.2 from a very recent download of the latest NetInst (less than 2 weeks). I'm sort of new to Linux - More accurately, I've used Unix and Linux extensively in the past, so most of my knowledge is dated. In particular, the whole systemd / systemctl paradigm is completely new to me.
Problem: I've added an entry to /etc/fstab to mount a NAS drive as CIFS. When I do a system shutdown or reboot, the system hangs for 90 seconds trying to unmount the NAS. If I manually umount the NAS prior to shutdown / reboot everything works fine.
I've done a fair amount of investigation and web searches, but haven't found a fix yet. Apparently several people were encountering similar problems about a year back, and it seems pretty clear that the root cause what ordering of steps in the shutdown process, e.g., WLAN being turned off before unmounting filesystems. This seems to have been resolved for most users (no one is discussing it any more), but I'm now running into the same issue. Ugh.
I tried to add a shell script to /etc/rc0.d to umount the NAS first in the shutdown process. This had no effect. I assume this is because the new systemd / systemctl paradigm supplants the old /etc/rc model of runlevel control, though it is rather baffling (to me, at least) as to why /etc/rc* still exists if the system is no longer using it...?
Here's some things I'd like to try, but how to proceed:
1. In the new systemd / systemctl paradigm, how do I examine and change the ordering of steps in the shutdown process? I've seen a lot of documentation on systemd, but nothing tells me how to do what I used to be able to do with /etc/rc with a simple rename of a symlink. If I knew how to look at the order of shutdown and change that ordering, I'm fairly certain I could identify and resolve this issue.
2. Is there some other way to mount my CIFS NAS other than editing /etc/fstab? Is it possible that my manual edit to /etc/fstab is the cause of this issue? My research into systemd indicates that it IS supposed to be compatible with /etc/fstab. I have not yet found documentation describing how to mount a filesystem at boot WITHOUT editing /etc/fstab ...
View 8 Replies
View Related
Dec 9, 2010
When I change something in network setings using yast (for example hostname) it failes to restart the network. I have to start knetworkmanager manually from the terminal. Does anyone get the same type of behaviour ? I'm attaching the relevant yast log.I'm using 11.3 KDE 4.5.4 2.6.34.7-0.5-desktop kernel.
Code:
2010-12-08 07:06:17 <1> opensusetest(6010) [YCP] network/runtime.ycp:28 Running SuSEconfig ...
[code]....
View 9 Replies
View Related
May 20, 2011
I installed 11.04 via live install, and was connected to my home network/Internet. After the install finished and I restarted my pc, my network was not available nor internet connection. In the network manager I cannot access the "wired network" tab.
View 4 Replies
View Related