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


ADVERTISEMENT

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 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 :: Auto Run (auto Exec) A Script On Mounting A Device?

Mar 16, 2010

I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?

The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:

[URL]... so I would like to create a script with the command

Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.

View 1 Replies View Related

Ubuntu :: Auto-Mount The Windows Shares?

Jan 11, 2011

Im setting up a Mythbuntu box as a HTPC, and I want to be able to stream my media from my Windows box to the Mythbuntu box. I got the windows shares mounted fine, everything works. But I want them to auto mount so I modded my /etc/fstab file to mount the share. The problem is the Mythbuntu box uses wifi, and during boot the computer can't connect to the Windows box, and it hangs on

Quote:

Error while mounting /blah/blah/ press s to skip or m for manual recovery and I am planning on not having a kbd hooked up to this computer once it is done.

1) Is there a better way to auto mount Windows shares - one that does the mounting after the computer is booted up? Furthermore, the Windows box may be off, so I want it to just skip the mounting on error.

2) Right now when I mount the share, I have to specify the Windows computer by its IP address. If I do it by PC name, it doesn't work, says it can't find the computer. Is there a way to mount using the computer name, so that if my router decides to give the windows box a new IP I wont have to reload everything?

View 1 Replies View Related

Ubuntu :: How To Auto Bookmark Windows Shares

Apr 22, 2011

I have: ubuntu 10.10 => joined into Active Directory Domain (test.net) I can login using AD users using Likewise-Open I have in my Windows environement Home Folders (Shared by AD) for every user and it apears as Z: Drive automatically when I loged in using windows machines. I need same setup using ubuntu desktop to show these Home Folders for every users automatically when he logs in.

View 1 Replies View Related

Fedora :: Auto Mount Smb Shares ?

Nov 8, 2010

I currently mount my smb shares by adding the appropriate line to fstab. Now my son also uses my laptop (F13 by the way) and I would also like to automount the shares for him but as a different user because there are some directories he should not have access to.

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

General :: Mounting Samba Shares At Bootup?

Sep 3, 2010

I'm using ubuntu 10.04 (gnome) - at some point, I had manually mounted a samba share on the home fileserver,

mount -t cifs //homeserver/sharename /serverfiles

It now boots up automatically every time, which is definitely convenient but I don't know how it's being done. I'm going to be mounting the same share using sshfs when I'm away so I'd like to know how it works. When I googlify this, there is mention of altering fstab (which has not been done) or gnome-mount (which does not seem to be it). There is nothing in preferences/startup applications, what is the automounting mechanism being used?

View 2 Replies View Related

Ubuntu Servers :: LTSP Mounting Windows Shares At Login

Apr 21, 2010

I've been asked to investigate the possibility of using LTSP in our school to provide a more "real world" programming environment to our students. We have a Windows 2003 Server domain and no plans to change it.I've set up the LTSP server, joined the domain and everything seems to be working fine, I can login to the LTSP server with a student account.

The next thing I want to achieve is give the students access to their "My Documents" folder on the Windows 2003 server. Is it possible to have a student log on to the terminal server (who has never logged in before) and have it automatically mount their share on the windows server?

View 1 Replies View Related

Ubuntu Servers :: 10.10 Randomly Not Mounting NFS Shares - Race Condition?

Dec 16, 2010

NFS share is up. it's set to r/w. This is Ubuntu 10.10 NFS4 i believe. exports file looks like this;
/data/feeder 10.10.10.1/255.255.255.0(rw,async,no_root_squash,no_subtree_c heck)

on the client,
/etc/fstab looks like this;
10.10.10.1:/data/feeder /opt/feeder nfs rw 0 0
when I ls -la into /opt/feeder I see all the persmissions as:
4294967294:4294967294 instead of root:root

View 8 Replies View Related

Ubuntu Servers :: Auto Mount Group Shares With Samba PDC?

Mar 2, 2010

I've a few group shares setup with samba and a PDC (using windows 7 clients) and the home directory for each user gets mounted automatically. I've configured group shares and only members of the respective group have access to them, but my question is how do I tell samba to automount group shares based on the user group?

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

Fedora Servers :: Mounting Samba Shares Permission Denied?

Jun 2, 2011

I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.

cat /etc/samba/smb.conf
[W$]
path = /Files/
valid users = admin

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Mounting Samba Shares On System Boot/user Login

Jun 28, 2011

I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.

Code:

#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2

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

Ubuntu :: Network Shares Not Available \ When Use OpenOffice Writer To Open/save Files The Shares Disappear In The "Open/Places"?

Apr 23, 2010

I am giving 10.04RC a try instead of Windows 7, so far so good. I can connect to my network shares fine using "Connect to a Server" & bookmark with the file browser, however when I use OpenOffice writer Spreadsheet to open/save files the shares disappear in the"Open/Places". Is this a bug in Ubuntu or Open Office? Is there an update/fix?

View 1 Replies View Related

Ubuntu :: Auto Mounting HDD At Boot?

Feb 21, 2010

I have a 500 GB ext4 formatted HHD which i have to manualy mount when ubuntu starts. I have read much on the topic but am still unsure what i should add to fstabmy output when entering "sudo fdisk -l" is

"Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 7 Replies View Related

Ubuntu :: Stop An UDF From Auto Mounting?

Jul 10, 2011

I have one of those lovely Western Digital external hard drives and it seems to have an UDF "partition" on the hard drive itself. I cannot format it, remove it from the hard drive itself, or disabling the UDF seems to be a no go once its popped into a Linux distribution of any kind.

So my question is, is it possible to stop the UDF from even auto mounting at all?

System
Ubuntu 10.10 Maverick Meerkat

View 2 Replies View Related

Ubuntu :: Auto Mounting HDs - 5th Disk Not Recognised?

Jan 13, 2010

I thought I'd format my new 2tb drive to ext4, so did that, created a mount point, chown'd it, edited fstab, and now it gives me this:

Code:
neur0m4ncer@box:~$ sudo mount -a
mount: special device /dev/sde1 does not exist

[code]....

View 3 Replies View Related

Ubuntu :: Prevent IPod Auto Mounting

Jan 16, 2010

I currently run a Windows XP virtual machine (using VirtualBox) so that I can use iTunes. This is fine, and I have set up a USB device filter which allows me to use my iPod, and update it via iTunes on the VM. However, this only works sometimes. I think the reason is that the VM sometimes can't get access to the iPod because it's mounted in Ubuntu - I think it may just be a race for who can mount it first - Ubuntu or the VM, when I plug it in. Is there a way I can prevent the iPod from automounting in Ubuntu so this problem (hopefully) won't arise?

View 2 Replies View Related

Ubuntu :: SMB Suddenly Stopped Auto Mounting?

May 3, 2010

I have my "documents" folder pointing to a Samba share on a 9.10 server. (Client is 64 bit 9.10). In /etc/fstab I have

Code:
//192.168.20.102/sean/Documents /home/sean/Documents cifs credentials=/home/sean/.smbcredentials,uid=1000,gid=1000

This always used to mount automatically and has suddenly stopped. Same result if I use smbfs instead of cifs. I have worked around this by adding noauto and then mounting it in /etc/rc.local.

Anyone else had this and fixed it so that the share mounts at boot rather than login. I do have some cron tasks that require this to be mounted and assume they will fail unless I login immediately after a reboot.

View 1 Replies View Related

Ubuntu :: Audio CD Not Auto Mounting If Screen Is Locked?

Apr 30, 2011

I have upgraded to 11.04 today and I have hit a slight snag. In 10.10, I had it setup so that it would run a custom script when an audio CD was inserted into the DVD drive. The CD would mount regardless of whether the screen was locked or not. Since upgrading to 11.04, the CD will only mount when the screen is unlocked.Whilst I can appreciate the security benefits of this (if it is indeed intended and not a bug), is there a way to be able to enable discs to be mounted automatically, whether the screen is locked or not

View 1 Replies View Related

Ubuntu :: Disable Auto-mounting Of Removable Media

Jul 16, 2009

I want to disable automounting of removable media such as anything on USB, memory cards, and even eSATA. I do want the device node to be set up, but that's it.

View 3 Replies View Related

Fedora :: No Longer Auto Mounting Usb?

Apr 28, 2010

Does anyone else have this problem. Came just after recent update and is highly annoying. Plug usb device in and it is recognized on lsusb but not mounting and appearing in media folder. How do I solve this. Searched the forum but nothing useful

View 10 Replies View Related

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







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