Ubuntu :: Everything Freeze When Cifs Or Smbfs Drive Becomes Unreachable

Aug 9, 2011

I have Ubuntu machine with cifs share mounted at boot via /etc/fstab

fstab entry looks like this:
/kain/buksica /media/buksica smbfs owner,_netdev,gid=xxxx,uid=xxxxx 0 0

When my coleague shuts down his windblows machine my Ubuntu box freezes.. I cannot even open my home folder.

Is there any way kernel can detect that this share is down and silently umount it or in some other way keep stable.

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: Unreachable /etc/fstab Cifs/smbfs Mount Halts Boot?

Jan 16, 2011

I have the following two lines at the bottom of my /etc/fstab

Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.

If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console

So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution

View 3 Replies View Related

Ubuntu :: GEdit Won't Save On Mounted Network Drive (cifs)

Jun 28, 2010

I have a line in the fstab file which automatically mounts a network drive every time I start up Ubuntu. I browse to a text file on the network drive and open it using gEdit and make changes to it. Then, when I hit the save button, a bright red warning appears:

Could not save the file [path here] gedit cannot handle file: locations in write mode. check that you typed the location correctly and try again. This also happens if I do save as. Then, after this error appears, the file actually disappears (gets deleted) from the network drive and in order to save it, I have to select save as again and type in the original filename. The line in my fstab file is:

//files.example.com/username /media/Network-Drive cifs uid=myname,umask=000,credentials=[cred file here],domain=mydomain 0 0

I'm not sure if this has something to do with the file permissions or gEdit itself or using cifs to mount. When I use the "ls -l" command on the file, I get

-rwxr-xr-x 1 myname root 7402 2010-06-28 01:14 textfile.do

which should be fine since the user has all permissions.

View 3 Replies View Related

Debian Configuration :: Mount Network Drive With CIFS

May 6, 2015

So after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.

I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address

Here is what I'm trying to enter into my terminal (with important bits removed for security of course)

mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs

View 14 Replies View Related

General :: Cifs Mount On A Windows XP Removable Drive?

Mar 16, 2011

I have 2 USB drives connected to an XP machine that I rotate twice a month for backups. On my CentOS box, I have that drive mounted at /home/backup using cifs.

Because the drive is mounted on the Linux box, Windows XP complains when I try to "Safely Remove Hardware". As a result, I have to "umount /home/backup", then "Safely Remove Hardware". After connecting the new drive, I then have to "mount /home/backup" in order to use it again on the Linux box.

Now, this question may be a Windows XP question, but I was wondering if there is anything I can do on the Linux box first. Is there anything that can be done on either end, so that I won't have to "umount /home/backup" first?

View 2 Replies View Related

OpenSUSE Network :: Mount CIFS Drive With Multiple Credentials Files?

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

Ubuntu :: Can't Get Smbfs To Automount At Boot

Oct 1, 2010

I'm trying to get some of my NAS storage to mount on my xubuntu 10.04 box at boot time. I have it in fstab, and when I run

$sudo mount -a

it mounts just fine. However, I have to run that manually, I can't get it to just mount at boot time. Here's the entry from my fstab: [URL] So like I said, manually running mount -a works fine, I just can't get it to do it automatically at boot time. I feel like the auto option should take care of that, and that's what I've read around here, but it's just not working.

View 2 Replies View Related

Ubuntu :: Can't Read/write Mounted Smbfs Share?

Jan 31, 2011

I am trying to smbmount a Samba share to be used on my Ubuntu 10.04 desktop.I created a mount point

Code:
sudo mkdir /mnt/smb-sambaserv-myshare
and added the following to my fstab:

[code]...

View 11 Replies View Related

General :: Windows SMBFS Mount Permissions

May 7, 2010

Command used as root to mount a Windows 2003 server share to Linux Red Hat 4 x86-64 on Dell: mount -t smbfs -o username=user,workgroup=domain.edu,password=password //server.domain.edu/h$ /mnt/test The mount is successful, but only root can write to the mount. How do I set the permissions on the mount to allow certain users read/write access to the share? I am logged on the Linux server as the same user who authenticated the mount. The user can read write on the Windows server share, but not while loggged into the Linux server.

View 7 Replies View Related

Networking :: Mount -t Smbfs Error Can't Resolve Hostname

Sep 24, 2009

I am trying to mount a NAS device using the hostname on my linux computer (running slax)

The command I am using is
mount //hostname/sharename /mnt/test -t smbfs -o username=***,password=***

i am getting back the error
mount error: could not find target server. TCP name hostname/sharename not found
No ip address specificed and hostname not found

I can do this mount from an older version of SLAX but i can't from this new version. smb:/ can find then through the file explorer window but I can't mount them from the command line.Is there something i am doing wrong?

View 1 Replies View Related

Ubuntu :: Mount Dir Using Smbfs To Windows Share Can't Write To File Permission Denied?

Jun 19, 2010

Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.

View 4 Replies View Related

Hardware :: Intermittent System Slowdown/freeze When Inserting Cd/dvd Into Drive?

Mar 2, 2011

I'm running 32-bit Debian Squeeze (2.6.32-5-686) on an old IBM TinkCentre piece-meal system that runs great otherwise. I have a LITEON iHAS424 Burner attached. As soon as I insert any disk (CD, DVD, Blank, Commercial, etc.) the system either locks up entirely or crawls to a near stop. The drive is about 3-4 months old and I've experienced the problem a couple of times in the past but just about every time I try to use it lately. The CD/DVD drive seems to work fine on other systems, but I haven't had the luxury of leaving in for any length of time to be 100% sure.

I have been able to pull out of the problem in the past by opening up the case and disconnecting/reconnecting both ends of the drive cable, but this doesn't always work and never "feels right" as a fix.Here is what I think are the significant portions of my messages log file:Quote:

Mar 1 20:03:46 bugs kernel: [ 1.415289] ata_piix 0000:00:1f.2: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Mar 1 20:03:46 bugs kernel: [ 1.415299] ata_piix 0000:00:1f.2: MAP [ P0 P1 IDE IDE ]

[code]...

View 1 Replies View Related

Ubuntu :: 10.04 Desktop Randomly Freeze - Finding Which Module Cause The Freeze?

Jun 4, 2010

I have a Ubuntu 10.04 fresh installation on my HP laptop. Installation successful and boot OK. But the desktop randomly freeze. During freeze(about 15s each time), all programs are not responsive. Sometimes I can switch program by click, but program seems locked. How can I know which module cause the freeze?

View 4 Replies View Related

General :: Arch On ARM - Random USB Drive "freeze"?

May 6, 2011

I'm running a Linux Box on a Seagate Free Agent Dockstar, very limited machine but more than able to do what I need, which is true most of the times. I have the operating system on a flash drive and use an external USB 2 "classic magnetic" Western Digital 1,5TB hard disk for massive storage. Not seldom it happens that the wait for IO % suddenly goes up to almost 100% and the system is on its knees, to the point that is very difficult to even ssh in it; a typical 'iostat -x' in those situations gives output like:

[Code]..

I really think that the drive has hardware issues; I noticed that when it is busy 100% without load it makes a repetitive noise which reminds me of the old day Amiga floppy disks - they made a similar noise like they were going around without a goal. For this reasons the suggestion to move /var and /tmp to the magnetic disk only worsened the situation. I guess the only way to solve this is to buy a new hard drive and backup valuable data ASAP.

View 2 Replies View Related

Ubuntu Networking :: Can SSH To And From The Box But Aside From That The Net's Unreachable

Aug 19, 2010

This is on Ubuntu 10.04 Server Edition. The ethernet cord was disconnected one day. I plugged it back in to find I can ssh to and from that machine, but I cannot update or browse the web (elinks) on it. I tried "ifconfig eth0 up" which did nothing. Why is it that only local connections work?

View 1 Replies View Related

Ubuntu Servers :: Server Often Unreachable In LAN?

Jul 13, 2010

I am trying to set up a virtualized ubuntu server in a local lan.In short : The server does not always answer to ping/ssh/whatever, but sometimes does, it seems completely random and dependant on the clients, it drives me crazy, what can I do to track down the problem ?In long : I will give the exact environment further down, but first the symptoms :A very strange network behaviour : the server does not always answer to ping/ssh/whatever from another computer in the LAN. It *seem*s completely random if it does or not, however I have identified some facts :- it is able to ping any computer in the LAN, or even outside (using IP or hostname) so it's connection seems ok.

- it is able to ping itself using "ping localhost"- the hyperviser is always able to ping it, however the *first* ping always fails (ie 3/4 first round then it works fine).now for the strange/random facts :- from my linux client, I can usually ping the server for about 10 minutes after I restart networking (in the ubuntu server), then it does not answer to ping/ssh/whatever anymore (though it happened that it suddenly came back for a while)- from my colleague windows client, we can ping the ubuntu server (same as the hyperviser, 3/4 first round), even when the linux client can't anymore- from my virtualized windows client, it is equal to my linux client (does not work fine)- from another linux client, same (does not work fine)- from 2 another windows machines, it does NOT work either !Now for the environment :- Hyper-V is the hyperviser on a DELL computer (not my fault, didn't have the choice)- Ubuntu server 10.04 standard install, with the synthetic network drivers activated in the kernel and defined in Hyper-V.

- A static IP- All computers in a LAN with mostly windows servers (such as DNS, AD and exchange servers)- there is another virtualized server (windows) on the same hyper-v global virtual network, with its own IP, and this one pings perfectly fine from any client.- the hyper-V also answers to ping

View 1 Replies View Related

Ubuntu Networking :: File Server Becomes Unreachable

Jan 15, 2010

I have a ubuntu desktop 9.10 that is used as a file server and occasionally as a desktop. My problem is after about 15 min of idle the server can not be accessed by other computers. I attempted to disable power management but Im not sure if i did that correctly. Where should i look for problems?

View 9 Replies View Related

Ubuntu Networking :: Exact Meaning Of 'network Is Unreachable'?

Dec 27, 2010

I've been having a lot of trouble with getting wireless networking devices to work. I guess I have a lot of company, since mfrs don't seem to be very interested in supporting Linux.It seems that one common symptom is that, when I try to "Ping" using the Terminal, I get "network is unreachable".Does this mean anything specific, or is it a general output whenever the network is not carrying on two way communications? Does it mean that the wireless interface is down? Does it mean that the wireless hardware is not transmitting? Not receiving?

View 3 Replies View Related

Ubuntu Networking :: Belkin F7d1101 V1 Network Is Unreachable?

Jan 3, 2011

My ubuntu installation was running fine with the Belkin F7D1101 v1 after using this install method:[URL]..But, after allowing ubuntu to autoupdate many programs (don't remember which ones), the device stopped working. I checked all of the commands in the link above. They are all still functioning. dmesg throws no errors, but it terminates with

<code>ADDRCONF (NETDEV_UP): wlan0: link is not ready</code> Are there any network files which may have been overridden from autoupdate? iwconfig wlan0 shows "Access Point: Not-Associated" What output can I show you to help me find the problem?

View 1 Replies View Related

Ubuntu Networking :: Subnet Unreachable Internet Is Reachable

Jul 28, 2011

I dont even know where to start looking on Google.Just in case this matters, for completeness.I've an inactive eth0 (wired ethernet link) with static IP.Other possibly relevant details:I'm using an old 802.11b card. Cant imagine this is relevant, because the internet is working fine as far as pinging anything outside the local network goes.

View 2 Replies View Related

CentOS 5 :: Server Suddenly Unreachable From Other PCs On The LAN

Jan 28, 2010

I have a CentOS5 box here (actually running the latest release of EasyIDS). Everything was working fine for about half an hour, and now I can't access the box through a web browser on it's IP address. I can't ping the box either. If I log on to the server, I can ping other boxes on the network and external resources, but nothing seems to be able to see it. I checked to make sure HTTPD is running, and it is. The firewall is not running (or at least that's what it says when I do service --status-all).

View 1 Replies View Related

Ubuntu Networking :: Directly Connected Network Printer Unreachable.

Oct 3, 2010

I have a network printer directly connected via ethernet cable to an Ubuntu netbook, but pinging the printer fails, giving "Host Unreachable". The network light on the ethernet socket is lit green, and there is nothing else cable-connected to the network - just a simple cable connection between the netbook ethernet socket and the Network printer (a HP Laserjet 4200n). Ping works fine if I plug the cable into a different machine (a Win XP box) and ping from there, so it's not a cable or IP address problem.

This sounds simple enough and should work, but I'm stumped. Clues, anyone?

View 2 Replies View Related

Ubuntu Networking :: Massive Latency/unreachable On Wired Network?

Dec 15, 2010

I'm experiencing massive latency/unreachable problems on my Linux machine. It's true for all network connections, here's an example of me trying to ping my router:

PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=15115 ms
64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=14107 ms
64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=13107 ms
64 bytes from 192.168.0.1: icmp_req=4 ttl=64 time=12107 ms
64 bytes from 192.168.0.1: icmp_req=5 ttl=64 time=11108 ms

[Code]...

I've tried now with both the maverick default kernel and 2.6.37-rc5 kernel (both 64 bit), same result. If I take the card up and down (ifup, ifdown) performance is restored for a little while, then it's back. I've tried changing cable, network card and router port but no luck.

View 4 Replies View Related

Ubuntu Servers :: Unreachable By Hostname - Desktop Resolves Fine

Jan 3, 2011

I have a home server running Ubuntu Server 10.10, it is running Samba for file sharing with a mix of Windows and Linux boxes in my house. My main problem is that the server is only accessible by IP or by using hostname.local, but it is not possible to connect to it by just typing the hostname. Further more, it is not being automatically discovered and listed by Windows or Linux clients.

What's really odd is that I also have an Ubuntu Desktop 10.10 install on a separate computer, and that computer is accessible using just the hostname and is automatically being discovered and listed by other computers.

What is missing on the server? What is responsible for resolving just hostname, avahi seems to only deal with hostname.local and that is working fine. I also compared the samba config of the desktop and server Ubuntu installs but wasn't able to find any setting that would be influencing this. Is there some package I'm missing on the server?

View 9 Replies View Related

Ubuntu Servers :: DNS / IPV6 Address - Error Network Unreachable

May 25, 2011

I use DNS on my server as a chasing DNS so its not fully configured. I seem to be having trouble with IPV6 addresses. I'm guessing this is linked to the 6to4 tunnel I have set up to my windows box, but I'm not really sure.

Code:
May 21 18:00:16 hyrule named[1148]: error (network unreachable) resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53
May 21 18:00:16 hyrule named[1148]: error (network unreachable) resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53
May 21 18:00:17 hyrule named[1148]: error (network unreachable) resolving 'zg.akamaitech.net/AAAA/IN': 2001:503:a83e::2:30#53 .....

View 3 Replies View Related

Debian Configuration :: Domainname Locally Unreachable ?

Jan 4, 2011

I have a strange problem with my debian lenny server. I am running ispconfig 3, squirrelmail, webmin, clamav, etc on my lenny server. I have a few domain names binded to my ip adress. Until yesterday, everything worked fine. Today, i couldn't seem to reach my mailbox, and my website appeared to be offline. But when someone checks it from outside, it works fine! Only i cant reach it. This problem only occurs with one of the six domainnames i have. The rest is reachable for me.

I checked the logs, the ipadresses, everything seems fine. I have no clue what it could be... anyone suggestions?

Figured out the problem, party... it's a problem with my XP. If i boot in Windows 7 the site is reachable. Doesn't make sense tho.

View 2 Replies View Related

Fedora :: Anaconda Has Modified A Partition That Is Now Unreachable?

Jul 31, 2009

I have a big pb after installing F11 : my partition containing all my photos is now unmountable. Before installing F11, it was in ext3 filesystem

During installing F11 on sda1 (first hard drive), I noticed some strange error messages like "volume doesn't exist" or something like that.

now, when I try to mount my partition of my third hard drive, i get this :

Code:
[root@vincent vincent]# mount /dev/sdc1 /home/vincent/sdc1
mount: type inconnu de systme de fichiers 'lvm2pv'
which means "mount: filesystem type unknown 'lvm2pv' "

[Code]......

View 10 Replies View Related

OpenSUSE Network :: Unreachable, Even With The IP Forward Enable?

Mar 25, 2010

I have one server with 4 network interfaces:

eth0: 192.168.0.0/24 - local lan A
eth1: 200.1.2.3 - internet link - default route
eth2: 192.168.10.0/24 - local lan B eth3: 192.168.20.0/24 - local lan C
Lan A - Default routing to eth0
Lan B - Default routing to eth2
Lan c - Default routing to another server but the workstations has static routing to this server too.

Everything is working fine on Opensuse 11.1 until I upgrade this sever to Opensuse 11.2 ( Reinstall, not update at all ). After upgrade to 11.2 the routing across local lan interfaces simply not work, if you try to ping lan-to-lan you got the message: Network unreachable, even with the IP Forward enable, but the default route is working fine trough the SNAT.

I've come back to Opensuse 11.1 and everything become normal, does anyone have an problem like this? Maybe a bug? PS: I do not try to disable the AppArmor, next weekend I will try Opensuse 11.2 without the AppArmor and post here anyway.

View 9 Replies View Related

Networking :: External Nic Unreachable From Local Network

Jan 11, 2010

I've got router with: eth2 - local network (192.168.1.1), ppp0 - uplink (x.y.z.a)

my firewall:

Code:

# Generated by iptables-save v1.4.5 on Mon Jan 11 12:22:25 2010
*raw
:PREROUTING ACCEPT [1038480:666298388]

[code]....

somehow iptables -t nat -A PREROUTING -i eth2 -d x.y.z.a -j DNAT --to-destination 192.168.1.1 helps, but imho there should be some other solution. kernel is 2.6.31.6, architecture is x86_64.

P.S. i've also tried iptables -A POSTROUTING ! -d x.y.z.a -s 192.168.1.0/24 -j MASQUERADE that didn't help either.

View 10 Replies View Related

Networking :: Ping Between Two Servers - Network Unreachable

Mar 7, 2011

I have two linux servers, I tried to ping from one linux box to another and vice versa but error message is "connect: Network is unreachable" Where as If I tried from windows machine I am getting the reply from both the servers.
C:Documents and Settings>ping bnkprod

Pinging bnkprod.softtech.com [172.20.40.141] with 32 bytes of data:
Reply from 172.20.40.141: bytes=32 time=16ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Reply from 172.20.40.141: bytes=32 time<1ms TTL=64

Ping statistics for 172.20.40.141:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 16ms, Average = 4ms

View 2 Replies View Related







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