Ubuntu Networking :: Samba Share Requires Unmount/Remount After Restart
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
ADVERTISEMENT
May 12, 2011
When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:
Code:
root@cmp:~# mount.cifs //svr1.sd.domain.net/htdocs /tmp/mnttst/ -o 'user=uname,domain=DOM' -v
[code]....
View 3 Replies
View Related
Feb 2, 2011
I'm running a fedora 14 file server with samba for a windows network. When I reboot my file server my samba share is no longer available. After a long search I found that if i run nmbd as root, the share is accessible again. I guess I can run nmbd everytime I reboot but I think something is wrong with my setup and it's one of those things that if I just ignore it will come back and bite me from behind
View 6 Replies
View Related
May 17, 2011
I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?
View 13 Replies
View Related
Oct 21, 2010
I am having occasional internet connection problems on startup. 1 out of 5 times that I start my computer, I will have absolutely no internet connectivity, can't ping my router, obtain ip. nothing. Tried re-establishing connection with no luck. Status light on my router displays a slow flash. I restart, problem solved. Not so much a major problem, but irritating at times
View 1 Replies
View Related
Sep 18, 2009
I have a SMB share, mounted on a Centos 5 server from a local Win 2003 server, that I cannot unmount (I have to reboot to successfully unmount it)
centos 5 version is 2.6.18-128.7.1.el5
samba version is: 3.0.33-3.7.el5_3.1
That share is mounted by a script called every night to perform an rsync backup to another remote Centos 5 server:
/bin/mount -t cifs -o ro,credentials=/etc/samba smbmount.credentials,uid='ad_domainuser',gid='ad_domaingroup' //win2003server/share /mnt/arch/ >> $LOGFILE 2>&1
And it is (should be...) unmounted at the end of the script: /bin/umount /mnt/arch/
When the script tries to unmount the share, this error is returned: unmount error 16 = Device or resource busy Refer to the umount.cifs(8) manual page (man 8 umount.cifs)
When I try to manually unmount the share from console (even after serveral hours), no error is given but the share does not unmount.
View 3 Replies
View Related
Jul 3, 2011
I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.
View 2 Replies
View Related
Apr 26, 2011
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
setsebool -P samba_domain_controller on
Trying to connect to samba locally gives me this:
Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[code]....
View 6 Replies
View Related
Oct 25, 2010
a few times a day I have to run sudo service smbd restart on my primary server to get samba working again.y working i mean being able to see the server in the workgroup and being able to type smb://phoenix/ and have a result. please help me troubleshoot this.env: server: 10.10 x64, clients: 10.10 32 & 64, 10.04, winxp all affected the same waylast time it occurred within 2 hours after a reboot. here's the config. I've been commenting out lines that I wasn't sure of in an attempt to troubleshoot this.
Code:
1 [global]
2 ; General server settings
[code]....
View 2 Replies
View Related
Jan 11, 2010
I have been having a small problem since I upgraded from Jaunty to Karmic, whenever I shutdown or restart, root password is required due to multiple users being logged-in.
I have run ck-list-sessions, however I can not trace where (or what) session 5 is.
Code:
Since I have MythTV installed and there was a similar bug, I tried the following solution without any success: [url].
View 2 Replies
View Related
Apr 30, 2011
[URL]
Basically, when I do a reboot or shutdown and then the system tries to start I get a blank screen thus I have to hit the reset button and then I'm showed a grub menu (not sure why I have it set to autoboot) and then I can boot properly.
View 9 Replies
View Related
Jan 20, 2011
running Ubuntu 10.10, generally with no probs. After the upgrade to 10.10, and several updates, I still have a problem. Namely when ever I re-boot, which now more often than I'd like, due to a machine failure. It starts, but accross the network can't "see" tux, pop to root term, and
Quote:
root@tux:~# stop smbd
smbd stop/waiting
root@tux:~# start smbd
smbd start/running, process 3682
and that fixes it. Whats wrong with the startup script?
View 2 Replies
View Related
Feb 21, 2010
My Ubuntu 9.10 works well with the network through samba, but only if I first run -
sudo service samba restart
Then all is fine. I don't understand this. How can I avoid having to do this? Or alternatively where can I best put this command so that it will be run on boot-up.
View 2 Replies
View Related
Mar 18, 2010
I just installed openSUSE 11.2 KDE via LiveCD on my desktop computer and have been loving it. The problem is that it will randomly freeze and requires a restart. I've tried booting up in safe-mode, but it still does it. Also, when it does, the screen flickers and flashes in and out before it freezes. And before anyone asks, yes, I have my NVIDIA drivers.
View 9 Replies
View Related
May 11, 2011
Any time i try to start my computer from a cold state (off for 1+ hours), the first time i start it, it hangs and requires a SYSREQ reboot to restart it. When it hangs, all the window decorations disappear and the background vanishes. The main menu opens, but click on things does nothing. clicking shutdown only brings up the normal shutdown window with the text replaced with squares.
Thought it was my hdd (i/o errors and for some reason the HDD remounts r/o at this point), but e2fsck shows no issue.
Thought it may be an IRQ conflict, so i enabled MSI on all my PCI Devices.
Thought it was the 'green' aspect of my WD Drive, so i set the spindown time to 5 hours using hdparm config file. startup messages printed to screen confirm it is working.
Also, due to the numerous hard resets, the system is detecting a 'previous i/o error to the superblock'. Should recovering the SB from a backup be beneficial?
View 1 Replies
View Related
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
View Related
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
Jan 8, 2010
We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!
Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:
[Code]...
View 4 Replies
View Related
Dec 20, 2009
I have an NFS4 and Kerberos server on the same machine running a CentOS Plus 5.4 kernel (due the Redhat NFS kernel bug). On shutdown the command to mountd produces a [FAILED] response and the NFS share refuses to unmount, complaining that it is busy. This occurs even if no client machines have been started. i.e. with all machines stopped, start the server only (no clients) then shutdown the server - produces the same result.
Immediately after the server has been started, query the nfs daemon:
# service nfs status
produces normal output, except for:
# rpc.mountd is stopped
View 2 Replies
View Related
Jan 22, 2011
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
View 4 Replies
View Related
Sep 10, 2009
I have a problem with samba machine disappearing after I restart smb or the server where samba is running. Lets say I name my samba server ABC and set it up via system-config-samba utils. I follow basic steps and fill out everything according to most guides that are available for fedora. After that everything works great, I can connect to samba server ABC form any machine through smb://ABC (mac) or \ABC (win), however as soon as I restart smb services or my server (subsequently restarting the smb service ...) I no longer can connect to it via samba server name ABC, I can only do smb://SambaServerIP or \SambaServerIP (have to put numerical internal ip to connect)
My smb.conf:
# cat /etc/samba/smb.conf
[global]
[code]....
View 1 Replies
View Related
Feb 15, 2010
I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.
View 7 Replies
View Related
Feb 22, 2010
Im running opensuse 11.2 on Linux 2.6.31.5-0.1 64Bit, KDE 4.3.1 with 4GB RAM, Intel duo core processor with Intel graphics card. I initially had opensuse 11.1, which i removed and installed 11.2. Initially everything.Then came the problem, the system starts up fine but then after a few hours freezes, monitor powers off and it wont accept commands from the keyboard or mouse. Meanwhile the lights (caps lock, numeric and scroll) on the keyboard blink. The power light is still on and i can hear the hard disk turning.
I have to forcefully turn the power off and restart but can freeze again after random periods.I do lengthy and demanding computations and its common for the PC to run for weeks without turning it off.
View 7 Replies
View Related
Mar 4, 2010
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
View 8 Replies
View Related
Jun 6, 2010
When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.
The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.
I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.
View 1 Replies
View Related
Jul 26, 2010
I have mounted a samba share on my desktop from a remote server (with smb4k). There I created a symlink to "/". When I open the symlink with konqueror it opens the right one (the root directory of the server), but when i open this link with the shell (cd rootfs/), then it opens my local root directory (of my host)... Is it possible to open the right link with the shell?
View 1 Replies
View Related
Sep 15, 2010
Ubuntu 10.04 with Windows OS as Virtualbox, using Samba I connected to another computer which shows up mounted as:
Code:
smb://scott/premier9/
Now in Virtualbox Shared folders it doesn't show up so I can't share it?
Screen shots below...
How can I See it in Virtualbox?
View 1 Replies
View Related
Nov 16, 2010
My desktop is now dual boot, Xubuntu 10.10 has been added to WinXP. The attached parallel printer works fine with either OS. When running XP I can share the printer with my two XP laptops without problem. I cannot share it when the desktop is running Xubuntu. Neither laptop can see the printer. However, if I open the desktop Samba config application, change any parameter, retype in the original parameter, both laptops can see and connect to the shared printer - until I reboot the desktop
View 9 Replies
View Related
Jan 7, 2011
I've installed ubuntu 10.10 and shared with samba a folder of the disk with no problem I tryed to share 2 different usb disk and I got problems!
With windows I can see the shares, but not browse and all the setting in smb.conf are the same for the folder in the hard drive and the USB disk
View 3 Replies
View Related
May 3, 2011
I have a samba-share that mounts on my desktop. But how do I find it from applications?
When I browse from application is not visible in the desktop folder.
PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.
View 1 Replies
View Related