Ubuntu :: Bootup Hangs When Trying To Mount NFS Shares

Jun 11, 2010

It mounts OK on the fly (mount /usr/local) but when you reboot, it hangs, presumably forever, saying that "The disk drive /usr/local is not ready, S to skip, M for manual".Pressing S or M does nothing. I then have to turn the machine off, boot off a CD, mount the HD's / partition and remove the fstab entry before I can successfully boot the OS.Having looked at various forums, I have tried some different things like removing the "0 0", putting "auto" in the options. Unsurprisingly perhaps, these made no difference.

This behaviour was noticed on 10.04, but having tested it on 9.10 it does a similar thing on that version too, although on that one you can actually enter a shell at the hang point and edit your fstab.

View 5 Replies


ADVERTISEMENT

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 Installation :: Hangs During 10.04 LTS Bootup?

May 8, 2010

I downloaded the x86 10.04 LTS ISO and burned to a disc. I booted it on my old Fujitsu laptop but it just hangs at:

Code:
Begin: Running /scripts/init-bottom ...
Done.
init: ureadahead-other main process (1019) terminated with status 4
init: ureadahead-other main process (1020) terminated with status 4
* Setting sensors limits [ OK ]

I tried all the possibilities like noacpi but to no avail.

View 9 Replies View Related

Ubuntu :: Laptop Hangs At Initial Bootup Screen?

May 25, 2010

I have Lucid running on a Toshiba Portg R500. Last week it started hanging for just over one minute at the initial Toshiba screen. That is, the screen with the Toshiba logo and a series of boot-from options (HDD, CD, Network, USB) along the bottom. I don't know if the machine is even interacting with the OS at this stage. Also, neither Ubuntu nor the machine recognises the CD-ROM tray any longer. As in, I can't boot from CD and I also can't mount a CD when in Ubuntu. I can, however, boot from a USB startup disk (after the one minute delay).

I'm not sure how to collect helpful data on this sort of issue, especially since I can't see any threads that point to similar problems. The only strange thing I did the day this problem started was to forget to unmount a truecrypt-encrypted USB key before shutting the laptop off.

I've reinstalled Lucid but to no avail. I assume that whatever problem I have is a BIOS problem (and so strictly not for here)? As you can imagine though I want to make sure I've accounted for all other possibilities before fooling around with the BIOS.

View 9 Replies View Related

Ubuntu :: Failed To Mount FS Stalls 10.04 Bootup

Apr 30, 2010

I have a box which was upgraded to 10.04 server. I also installed the ubuntu-desktop package and it's configured to autologon a user and then vino shares the user's desktop to the network. I do it this way because the server has no monitor/keyboard/mouse attached.

The problem I had, is that "if" one of the filesystems fails to mount at bootup. The machine sits there waiting for keyboard input on what it should do.

Quote:

"File system xyz failed to mount, the device is not available or not ready.

Continue to wait;S to Skip;M for Manual Recovery"

Is there a way to influence the default behavior in the event of a failed mounting operation? (so there's no need for a keyboard to be attached.)

View 1 Replies View Related

Ubuntu Networking :: How To Mount A Network Drive On Bootup

Apr 5, 2011

My laptop is connected to my network through wifi. One of my desktops is always running as a file server for the rest of the network. Currently, to access that file server, I have to manually mount the network drive each time I boot the laptop. I have tried adding a line to fstab to have the drive mounted when the system first boots up, but since the wireless connection isn't active yet, the system hangs with an error message saying that the drive was not able to mount correctly and I have to press a key to continue.

is there any way to have the system automatically mount the network drive AFTER the network connection has become available AND, if for some reason the drive is not able to mount (i.e. I'm on the road and the laptop logs into a different network), it simply bypasses that and continues booting without displaying an error?

View 2 Replies View Related

Ubuntu Networking :: Mount A Network Drive On Bootup?

Aug 18, 2011

My laptop is connected to my network through wifi. One of my desktops is always running as a file server for the rest of the network. Currently, to access that file server, I have to manually mount the network drive each time I boot the laptop. I have tried adding a line to fstab to have the drive mounted when the system first boots up, but since the wireless connection isn't active yet, the system hangs with an error message saying that the drive was not able to mount correctly and I have to press a key to continue.

My question is this: is there any way to have the system automatically mount the network drive AFTER the network connection has become available AND, if for some reason the drive is not able to mount (i.e. I'm on the road and the laptop logs into a different network), it simply bypasses that and continues booting without displaying an error?

View 8 Replies View Related

Ubuntu :: 10.10 Bootup - Filesystem.squashfs Failed Input / Output Error Cannot Mount

May 24, 2011

i want to use linux but i am having some issues getting it to work on my system. my desktop is a p4 3.4gig with 512 DDR. When I insert my ubuntu CD it starts loading but then i get this screen/message:

Busybox v1.15.3(ubuntu 1:1.15.3-1ubuntu5) built-in shell(ash) Enter 'help' for list of built in commands (initramfs) mount:mounting/dev/loop0 on// filesystem.squashfs failed input/output error Can not mount /dev/loop0 (/cdrom/casper/filesystem/squashfs) on //filesystem.squashfs if I put the same disc into my HP laptop it boots up ubuntu fine. (however it won't allow me to get online, but that is a different issue).

View 3 Replies View Related

Ubuntu :: Can't Mount NFS Shares With IP Address / Enable This?

Mar 21, 2010

I'm setting up an NFS server on a command line install (9.10) to share a directory for a farmerjoe render farm. My instructions are from code...

I do not have DNS installed. I cannot install a stand alone DNS server on the network which the render farm will run. I cannot point any of the machines in the render farm to the current DNS server. The render farm is on a VLAN (in a design lab) with the NFS server receiving a reserved static IP address and the clients receiving DHCP addresses from a currently running server. After reading this post

http://ubuntuforums.org/showthread.php?t=321926

it seems that I should be able to mount NFS shares using an IP address.

View 6 Replies View Related

Ubuntu Networking :: Where Is The Mount Point For Smb Shares

May 11, 2010

Where are the mount points for smb shares connected via "Places -> Connect to Server"? I assumed them in one of the usual places like

/mnt
or
/media

but these folders are both empty. There are a couple of applications which are not capable of accessing my shares because i can't navigate to the right location...

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

Server :: Error During Bootup: Mount: Special Device LABEL- San_data Does Not Exist

Dec 9, 2010

why I'd be receiving this error. I have created a partition and filesystem and put the label in fstab. Everytime I reboot the server it is unable to mount the filesystem. However I am able to mount it manually.

View 5 Replies View Related

Ubuntu Networking :: Automatically Mount NFS Shares Without Autofs?

Jan 24, 2010

Setup clients on a LAN to automatically mount NFS shares whenever the fileserver is up, without using autofs. Instead a simple bash script which checks if the server is up, and if the shares need to be mounted or unmounted is called by a custom upstart job. For a small office or home network populated with Unix-like computers (e.g., a few Ubuntu desktops or laptops and a fileserver), NFS (Network File System) is a good way to share storage space and centralise the backup of important documents. However, having a fileserver running 24/7 is often overkill for such a setup.

One way to have clients mount NFS shares automatically when the fileserver is turned on, is to use a package called autofs. Unfortunately, there are a few unresolved issues with using autofs in combination with NFS. In my case, when autofs tries to mount NFS shares when the fileserver is turned off, the Gnome desktop, and Nautilus in particular, becomes extremely unresponsive, regardless of the options used. Attempting to mount the share manually from the command line when the server is down however, does return a message of failure quite promptly, without hanging the desktop.

To solve this issue, I wrote a simple bash script that is run through the upstart system. The script simply checks if the fileserver is up, if the shares need mounting or unmounting, and then sleeps for a while before checking again. This works out quite well, so I decided to share this information in case someone else runs into these issues. PrerequisitesThis howto assumes that you have an NFS server set up with shares exported, and one or more clients capable of mounting those shares. For more information on setting up NFS shares and mounting them on a client from the command line, see: SettingUpNFSHowTo.

Clients should be able to ping the server to determine if it is running. Naturally, you need administrator access on the clients to install the script and upstart job outlined below. This script assumes that the directory paths of the shares match the location where they are mounted. In my case, the fileserver has two shares: /media/Storage and /media/Backup. On the clients these shares are mounted on the same paths. If your setup deviates from this, the script needs some modification. The script From the desktop of one the clients, paste the following bash script as a new file in your favourite text editor:

Code:

#!/bin/bash
# The hostname or IP-address of the fileserver:
FILESERVER="myfileserver.local"
# Check every X seconds (60 is a good default):

[code]...

Now adjust the FILESERVER variable. In this example, my fileserver is called myfileserver. By default, Ubuntu sets up your networking environment in such a way, that computername.local can be used to reach that computer over the local network, so the network name for myfileserver is myfileserver.local. Of course, you can also use the IP-address of the server. Next, change the MOUNTS variable to match the NFS shares exported by your NFS server. MOUNTS is an array; multiple entries are separated by spaces. So if you have one share exported as /media/MyShare, that line would look like this:

Code:

MOUNTS=( "/media/MyShare" )

An advantage of mounting shares in /media, is that they automatically show up as mounted drives on the user's desktop. Note that this howto assumes that you use the same paths for the share on the server and client side! Save the script to your desktop with an obvious name. In this example we call it mount_my_nfs_shares. Open a terminal and cd to the desktop. Make the script executable by calling:

Code:

chmod +x mount_my_nfs_shares

Next, move it to a place where it can be called by our upstart job, but also from the console to test. A good place to put such custom executables is /usr/local/bin.

Code:

sudo mv mount_my_nfs_shares /usr/local/bin

This script uses the logger command to tell the system's log what it is doing. To test this script, open up two terminals; in one, execute the following so we can monitor the log messages:

Code:

tail -f /var/log/syslog

In the other, simply execute mount_my_nfs_shares. If the script works, your shares should show up on the desktop and the computer:// location in Nautilus. If the fileserver goes down or becomes unreachable, the shares should disappear, and reappear when the fileserver comes back on-line. If this works, move on to the next step. Installing a custom upstart job The next step is to have the clients automatically run the above script when they are booted. We can use upstart for this. Create a new text file, and enter the following:

Code:

# mount_my_nfs_shares - mount NFS shares on fileserver, if present
description"Mount NFS-shares"
start on (filesystem)
respawn

[code]....

How the script works The script enters an eternal loop and keeps checking if it can reach the fileserver once every minute (unless you adjust the INTERVAL variable). If it can reach (ping) the fileserver, it checks if the mounts are already mounted by searching for them (grepping) in the output of mount. If they are not mounted, it tries to mount them. Else, if the server is down, it looks in the output of mount to see if these mounts exist. If they do, it tries to unmount them with the -f flag (useful for unmounting unreachable NFS shares).

View 9 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 Servers :: Mount NFS Shares By LDAP Group?

Feb 27, 2010

I've been trying to set up a Linux-only network and currently have a working DHCP, DNS, LDAP and NFS server, with a client that can authenticate with the LDAP server and a central /home folder.However, if I wanted to share folders on the NFS server, how would I make the share available to, for example, a particular group of users in the directory?I've never used NIS(+) on a network, but believe you can add a 'group' of users in the /etc/exports file--simples!Does anyone know of the best way to do it (even better anyone who is doing this in a production environment)?

View 5 Replies View Related

Ubuntu Networking :: Can't Mount SMB Shares As Read/write

Jul 1, 2010

We have a network with several computer. We have two file servers (don't ask why) an Ubuntu and an XP as well as many clients. Setting shares on Ubuntu was easy and all clients can see them read and write. but I can't get the Ubuntu clients to see the SMB shares on the XP properly. This is my fstab:

Code:
//192.168.0.100/resources /media/resources smbfs iocharset=utf8,credentials=/home/boss/.smbcredentials,dmask=775,gid=1009 0 0
//192.168.0.9/summer /media/summer smbfs iocharset=utf8,credentials=/home/boss/.smbcredentials1,dmask=775,gid=1009 0 0

[Code]....

View 2 Replies View Related

Fedora :: Mount Nfs Shares On F11 To A F14 Machine?

Oct 9, 2010

I'm trying mount nfs shares on f11 to a f14 machine. They are all sub-folders of /media, they all have the same owner (me), same group (ditto) 0x777 protection set. In some cases I can see files in the sub folders but other folders remain hidden. here is a copy of my exports file

[root@mythtv todd]# cat /etc/exports
/media/areca1 192.168.1.0/255.255.255.0(rw)
/media/areca2 192.168.1.0/255.255.255.0(rw)
/media/areca3 192.168.1.0/255.255.255.0(rw)

[Code]...

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

OpenSUSE :: Kde And Samba Shares - How To Mount

Feb 25, 2011

From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.

If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.

View 2 Replies View Related

General :: Can't Mount Windows Shares By Name, Only IP?

Apr 4, 2011

I'm mounting a Windows share using the following in Ubuntu: mount -t cifs username=MYUSER,password=1234 //192.168.1.5/myshare /mnt/windows_share


This works fine, but I would like to mount the share using the computer's hostname, not the IP. I can ping the hostname fine, but I mounting using the hostname instead of the IP does not work. The share cannot be found.

In Windows, I can access the share as \COMPUTER\myshare, and using Nautilus in Ubuntu, I can connect to //COMPUTER/myshare, but I can't use the name in the mount command.

View 1 Replies View Related

Red Hat :: Cannot Mount NFS Shares From FreeNAS System On SL6

Mar 9, 2011

For some strange reason, I can't seem to be able to mount the nfs share from my FreeNAS system on SL6. I'm able to do it just fine from Ubuntu 10.04, Linux mint 9, Fedora 14, CentOS 5.5, and OS X Snow Leopard, so it has to be something specific to SL6. The below command does not work:
mount freenas:/mnt/share /test.

I get a mount.nfs error message that says "requested NFS version or transport protocol is not supported." I also tried this command which yielded the same result:
mount -t nfs FreeNAS:/mnt/share /test
Am I doing something wrong or is this just a bug with SL6?

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

Ubuntu Networking :: Samba Shares 'Unable To Mount Location'

May 23, 2010

on 10.04 I clicked to share my music folder with the network (other computer also having 10.04) and it installed samba for me. I restarted expecting to find sharing working as it had on the other computer by doing the exact same thing. But for some strange reason I can't access the shares on either computer through the network workgroup. It just says "Unable to Mount Location".

View 7 Replies View Related

Ubuntu Networking :: Unable To Mount Samba Shares Between Computers

Oct 15, 2010

i have a ubuntu 10.10 desktop and laptop. i installed samba, and smbfs. i shared a folder on each computer. when i browse the network i can see the laptop from the laptop, and can see the desktop from the laptop, but i cant see the laptop from the desktop. when i try to mount the share it says unable to mount, but mounts it anyway...but, i need to be able to mount it so that rsync will see the shares as a dir on the desktop. i tried manually mounting via smbmount following several threads that i found, and i keep getting error sudo smbmount //192.168.1.78/share /media/laptop Password: Unable to find suitable address

that is as far as i've been able to get. i've looked and have only been able to find threads about windows shares, not between 2 ubuntu machines. and i dont know why laptop can see the desktop but not the other way around. they have identical smb.conf files

View 2 Replies View Related

Ubuntu :: Devicekit - Mount Samba Shares From Command Line?

Dec 1, 2010

Is there a way for a normal user to mount samba shares from the command line using devicekit? It seems like I remember there was a way to do it using hal, but that's been replaced by devicekit in Lucid if I've read correctly.

I can click on the shares I want in nautilus under "Network", but I'm using fluxbox and I'd like to mount a few shares at startup. I read the documentation for the udisks command, but I can't figure out how to get it to work with samba shares.

View 2 Replies View Related

Debian Configuration :: Cannot Mount MFS Shares On One Computer

Sep 27, 2010

I'm running sid, and doing weekly updates. Recently I've been unable to mount nfs shares on one of my home computers. I haven't changed any settings, and nfs works fine on the other computers on my small home network. I suspect an update messed something up with nfs.

View 9 Replies View Related

Fedora Servers :: NFS Shares Mount But Permissions Are All Nobody Nobody?

Apr 2, 2011

This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.

I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).

fc14 on both

View 14 Replies View Related

General :: Recursively Mount File Shares?

Oct 18, 2010

I have a Linux machine that shares some files through NFS. The shared directory is:

/foo

I then mounted a shared directory (from a Windows machine) to:

/foo/bar

/foo/bar is mounted successfully onto the Linux machine and everything is there. However any other machine that mounts /foo from the Linux machine everything is correctly there except /foo/bar is empty. Is there anyway to do a "recursive mount" of file shares. Here is the /etc/fstab entry for the Windows share mount of /foo/bar //windows_machine/share /foo/bar cifs username=user,password=pass 0 0 And the /etc/fstab entry on the client machines that mount /foo server:/foo /foo nfs rw 0 0

View 1 Replies View Related

Networking :: Samba Can Mount Some Vista Shares But Not Others?

Jan 30, 2010

I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:

mount.cifs //windows_box/C$ /mnt/windows -o username=tyler,password=****

I've also tried:

mount -t smbfs
mount -t cifs

The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:

Checking permissions on the shares: seem to be ok
enabling encrypted passwords: not sure if I did it right.
editing the registry for LmCompatablity

[code].....

View 8 Replies View Related

CentOS 5 :: Script To Mount Windows Shares?

Oct 29, 2009

I have never wrote a script before in linux/unix and I am having trouble doing so. I would like to turn this command: mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver

View 8 Replies View Related







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