Networking :: Ubuntu 10.04 Delay Mounting Network Shares In Fstab?

Jun 14, 2010

Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?

I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?

View 14 Replies


ADVERTISEMENT

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

Feb 2, 2010

I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:

- Debian Lenny
- Archlinux 64bit

Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:

[Code]....

how I can go about debugging this?

View 1 Replies View Related

CentOS 5 :: Network Shares In Fstab - Documentation Not Correct?

Oct 2, 2009

[URL]..This does not work on reboot because the network service starts after fstab is checked.What is the missing step to rectify this?

View 3 Replies View Related

OpenSUSE Network :: Automatically Reconnecting Samba Shares (from Fstab)

Mar 16, 2010

Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac

and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount

The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.

View 1 Replies View Related

Ubuntu :: 10.04 Not Auto-mounting Network Shares?

May 4, 2010

Enviroment:

-server ubuntu 9.04 with samba
-client fresh ubuntu 10.04

ubuntu is not auto-mounting samba shares. Old 9.04 done it without a problem. I need to type sudo mount -a to have samba mounted.

fstab:
//192.168.1.101/www /mokonawww cifs auto,iocharset=utf8 0 0
ls -l
drwxrwxrwx 25 root root 0 2010-05-03 17:44 mokonawww

Tested with diffrent parameters. And another problem also with samba shares, when I edit file from editor (eclipse) after save i got 'file changed dialog'. seems like file is written with some delay ? and timestamp dont agree (its my blind quess). On 9.04 no problems. Tested with 2 instances of Eclipse. One copied from 9.04 and second fresh install. Other editors raport the same problem. Its anoying as hell.

View 3 Replies View Related

OpenSUSE Network :: Mounting NFS Shares According To LDAP Authentication?

Jan 18, 2011

I am posting this as I have tried several times to work this out. I have read article after article, post after post and tutorial after to tutorial to sort this issue. I have an Ubuntu 10.04 machine running as the LDAP and NFS server with two Opensuse 11.3 desktop machines. Both of the Opensuse machines can login using the LDAP server for authentication and this works fine. The server also exports the NFS Shares no problem but I am unable to mount the shares from the Opensuse machines. I have been using Yast, NFS Client to mount them.

Yast NFS Client can see the shares and lists them however when I apply the settings it states:

'Unable to mount entries in etc/fstab' I need to mount the shares according to the LDAP details as I want the users to be able to access their files no matter which machine they login at. Can anyone shed any light on the issue. Any help would be great and I would be enternally grateful as I am now beginning to pull my hear out slightly.

View 2 Replies View Related

OpenSUSE Network :: Error Mounting NFS Shares Ato Boot Time?

May 20, 2011

I'm using Opensuse 11.4 updated from 11.3, update from 11.2 updated from. I'm mounting at boot time (in fstab) some shares from an opensuse 11.2 server. Mounting worked fine in 11.2, 11.3 and also in 11.4 but suddenly (maybe an automatic update?) It stopped working.... sometimes.

Sometimes they are mounted properly but sometimes they aren't. When mount fails I get a log error: "rpc.statd is not runninf but is required for remote locking. Either use '-o nolock' to keep locks local or start statd"

If I run manually (as root) mount -a the shares mount properly always, so I thought it was a problem of timing (the service starting late) so I tried to get a script to run after the network initialitation, the script does: "mount -a". But it doesn't work either.

View 3 Replies View Related

Ubuntu Networking :: NFS Mounting With Fstab > Loop On Shutdown

May 20, 2010

I have this configuration on my Ubuntu server:

1. Physical HDD1, mounted in /media/MYDATA
2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES

This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!

But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.

View 1 Replies View Related

Ubuntu Networking :: Odd Mounting Windows Share With Fstab?

Jun 8, 2010

I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.

Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.

View 3 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

Networking :: Mounting Samba Shares From Different Workgroups?

Jul 19, 2010

So my brother has a home network that is setup with multiple workgroups (don't ask why - I have no idea and he refuses to change it). Anyways I just installed Mint 9 (Ubuntu 10.04) on my mother's computer and I need it to be able to access the fileserver in her house where her data is stored. The Mint system is part of the default workgroup and can only see one other system in this workgroup.

The workgroup the file server is a part of is called "hobnw", the server's name is "fileserver", and the share I want to connect to is called "TV Shows" How can I connect to this network share on Linux? (I also know the username and password) When I browse the network under nautilus all I see is the default workgroup and no others. All of the Windows systems on the network (Windows XP, Vista, and Win7) all see and can access the file server without issues.

View 1 Replies View Related

Networking :: Mounting Shares From Windows Server

Dec 8, 2010

My question is that I have a handful of servers, Server 1 is a Suse Linux machine and Server 2 is a Windows Server 2003 machine. I can mount and access the files/shares on the Linux machine no problem but when I come to using the Server 2003 shares I encounter problems ... here is a snip of my fstab ...

Code:
//10.0.0.20/applications /myfolder/applications cifs username=user1,password=pass1,auto,uid=user2,gid=group2,0 0
user1 and pass1 is the username and password of a user (local to the remote machine) and user2 and group2 are taken from the machine performing the mount.

Am I doing it right, is that how I should be mounting a share from a (Domain enabled) Windows Server 2003?

View 2 Replies View Related

Networking :: NFS Shares Not Mounting At Boot Time?

Jan 15, 2010

I've got a mostly Debian Lenny network but I've set one machine up with Squeeze. One the Squeeze machine I can mount my NFS shares manually but can't get them to mount at boot time. Here's my /etc/fstab file:

Code:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>

[Code]...

View 8 Replies View Related

Fedora Networking :: Mounting NFS Shares Crashes Client?

Feb 27, 2010

I'm trying to mount an NFS share from my Gentoo computer on my FC12 laptop, but every time I try to mount the share my laptop completely crashes. The end result is that I have an unresponsive laptop which switches from X to a blank screen and I'm unable to switch to any VT's or reset X. I never had any issues with my laptop freezing like this when I had Gentoo on it, but I'm giving FC a shot.

Server:
NFS version: 3
Code:
$ cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/mnt/OSX192.168.*.*(async,rw,no_root_squash,no_subtree_check)
Running rpcinfo on the server (command run from client)

[Code]...

Anyone recognize these symptoms or know which log files to look in to begin diagnosing? Currently, I'm only able to transfer files via ssh, so I'd like to be able to do that properly.

View 1 Replies View Related

Ubuntu Networking :: Mounting Samba Shares On A Box With Multiple User Accounts?

Jul 29, 2010

I setup samba file sharing to auto mount in fstab. Everything works great except when a computer has more than on user account.

The folders in mnt are owned by root and ownership changes to the first user account no matter what user logs in. So only the first user can edit files in the mounted share.

Anyone got a clue why this is happening? Seems the mount folders should be changing ownership to the user that is logged in.

View 2 Replies View Related

Ubuntu Networking :: Grub2 Is Unable To Deal With Mounting The Samba Shares On Lan At Boot Time

Oct 15, 2010

I've been having terrible trouble with my 64bit Desktop v10.04 ever since I upgraded it. Has been a long battle - but I think I have it down to just one remaining issue which I suspect is more related to the network than to the upgrade. So I'll ask here also... The old system always used grub as the bootloader, and has always worked just fine. I have now had to do a complete fresh install, which incorporated a change to grub2 (first time I have used it).

It would seem now, that grub2 is unable to deal with mounting the samba shares on my lan at boot time. The boot always fails, dumping the user to the cli rather than the gui desktop. The error given indicates that the network is unreachable. Most users of the system have given up on Ubuntu altogether because of this, and fallen back into the clutches of the evil empire (the machine dual boots XP). If I log in, and manually startx to open the desktop, the network is there, and the shares are mounted just fine. Everything seems to be working ok - but for crashing out of the boot process with network errors. The fstab file follows, in case there is some cause there I'm not seeing (I have edited names and passwords prior to posting)...

[Code]....

View 4 Replies View Related

Debian Configuration :: Long Delay In Accessing SAMBA Shares

Jan 27, 2016

When I boot up, or come out of standby, etc, it takes about a minute for my Windows shares on Win 7 to show up under Network. Is there anything I can try that will make this initial connection faster? Either on Debian or the Win7 machine? I have the latest Debian vanilla. This is over wifi. My other devices list the shares right away.

View 1 Replies View Related

Ubuntu Networking :: Cannot Use Network Shares From 9.10 Machine

Feb 1, 2010

I'm running Ubuntu 9.10. I am hooked into my home network with several windows machines attached. On a daily basis I browse the network and use network shares. Today, I can't. Today I can't see any other machines from ubuntu. I haven't changed any settings in Ubuntu, and nothing has been changed on the network, but yesterday it worked fine and today it doesn't.

View 2 Replies View Related

Ubuntu :: Fstab Not Mounting Fat At Boot?

May 5, 2010

I'm puzzled as to why this fstab isn't working:

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

[code]...

View 3 Replies View Related

Ubuntu :: HD Not Mounting Once Added To Fstab

Sep 29, 2010

I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:

Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2

But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?

View 6 Replies View Related

Ubuntu Networking :: Samba Shares Not Visible On The Network?

Jan 24, 2010

I'm trying to share some folders over the network, but the shared folders are not visible on another computer. This is through double clicking my computer from the Network list in Nautilus. However, I can access the share by typing the full address(<computer name>/<share name>) in "File > Connect to Server...".Since I can't type the address manually from my blu-ray drive, I need to get the shares to show on the network. What is wrong with my settings?

View 2 Replies View Related

Ubuntu Networking :: Cannot Mount Windows Network Shares

Feb 13, 2010

I am trying to share files on my Windows XP Home machine over my P2P network to my Ubuntu netbook. The folder I wish to share is configured in Windows with public permissions. I go to the Files & Folders > Documents and then I click on Network in the Places tab. A Windows Network icon appears, but when I double click it I receive the error message, "Unable to mount location. Failed to retrieve share list from server."

View 2 Replies View Related

Ubuntu Networking :: Access Windows7 Network Shares?

Nov 22, 2010

I am trying to access my win7 networks shares with pcmanfm. (I have done sudo apt-get install gvfs-backends). I dont have any pw on my win7 and i dont want one. So every time i try to connect, pcman ask me for pw. How to configure pcman to dont ask me for pw? I have tried linux mint live usb and ubuntu live usb with same result.

View 5 Replies View Related

Ubuntu Networking :: Suddenly Unable To See Network Shares

Dec 21, 2010

I have three computers on the network, one is using Windows Vista, one is in an office room using Ubuntu 10.10, and one is in the living room using Ubuntu 10.10. All three computers have folders shared, and were all three reading files just fine with one another for a couple of months. To share the folders, I just right clicked on them, selected sharing options, and checked the boxes for "share this folder" and "guest access". Both Ubuntu computers have samba installed and configured so the Vista computer can see their shares. Tonight, the Ubuntu computer in the living room stopped being able to see the other computers under places -> network. The other Ubuntu computer and Vista computer can still see each other's shares just fine.

I also created a test share folder with a file in it on the living room Ubuntu computer, and it can be seen by the other Ubuntu computer. I can ping the computer in the living room, and the computer in the living room can ping the other two computers. I set a static IP address on the Ubuntu computer in the living room to rule out an IP address conflict. Under network, if I go to "go -> location..." I'm not quite sure what to type in there to find other computers. Under places -> network, the only thing that comes up on the Ubuntu computer in the living room is it's own shares. I tried using the search feature, but was unable to come up with anything resembling my particular problem within a reasonable amount of time.

View 1 Replies View Related

Ubuntu :: Authentication For Mounting Device W/o Fstab?

Feb 9, 2010

I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?

P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?

View 1 Replies View Related

Ubuntu Installation :: Error While Mounting /etc/fstab?

Apr 29, 2010

I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.

Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.

View 9 Replies View Related

Ubuntu :: Mounting Hard Drive With Fstab?

Aug 27, 2010

I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.

Here is my fstab

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=5d0ed718-2719-4b28-a031-9ab10f9aa740 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

[Code]...

View 9 Replies View Related

Ubuntu Networking :: Viewing Computers / Shares On Windows Network?

Oct 23, 2010

When I goto Places->Network sometimes I see the other Windows computers in our house, and sometimes I don't. How do I make this more consistent?

When I double click on the "Windows Network" icon right now, I get "Failed to retrieve share list from server". Sometimes this works and I get to see the shares on the Windows pcs.

View 1 Replies View Related

General :: Mounting The Partitions Without Fstab?

Jun 23, 2011

I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?

View 6 Replies View Related

Ubuntu :: Samba Share Mounting - From 'mount' To Fstab

Mar 21, 2010

I have a command line that mounts the disk of my mobile

Code:

It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.

Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.

View 7 Replies View Related







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