f



NFS mount won't mount at boot, but mount -a works fine.

I'm trying to get an NFS share to mount at boot time, but it won't. However,
mount -a works just fine. I've tried playing with the retry= option with no
luck. nsswitch.conf is hosts: files dns, and I have an entry for the host in
/etc/hosts. The client machine is SUSE 8 (2.4 kernel), the server is SUSE 9
(2.6 kernel). My fstab entry looks like this:

 storage01:/array/    /home/array    nfs     rw,auto,sync

Does anyone have any ideas on this?

Thanks,
Brian


0
pangean (6)
9/23/2004 6:03:55 PM
comp.os.linux.networking 15677 articles. 0 followers. Post Follow

2 Replies
640 Views

Similar Articles

[PageSpeed] 53

On Thu, 23 Sep 2004 18:03:55 +0000, BT wrote:

> I'm trying to get an NFS share to mount at boot time, but it won't.
> However, mount -a works just fine. I've tried playing with the retry=
> option with no luck. nsswitch.conf is hosts: files dns, and I have an
> entry for the host in /etc/hosts. The client machine is SUSE 8 (2.4
> kernel), the server is SUSE 9 (2.6 kernel). My fstab entry looks like
> this:
> 
>  storage01:/array/    /home/array    nfs     rw,auto,sync
> 
> Does anyone have any ideas on this?

chkconfig nfs on.

Regards, Ian

0
ian73 (351)
9/23/2004 8:10:37 PM
Thanks a lot, that worked. I wasn't familiar with that one.

Thanks,
Brian

"Ian Northeast" <ian@house-from-hell.demon.co.uk> wrote in message
news:pan.2004.09.23.20.10.36.673222@house-from-hell.demon.co.uk...
> On Thu, 23 Sep 2004 18:03:55 +0000, BT wrote:
>
> > I'm trying to get an NFS share to mount at boot time, but it won't.
> > However, mount -a works just fine. I've tried playing with the retry=
> > option with no luck. nsswitch.conf is hosts: files dns, and I have an
> > entry for the host in /etc/hosts. The client machine is SUSE 8 (2.4
> > kernel), the server is SUSE 9 (2.6 kernel). My fstab entry looks like
> > this:
> >
> >  storage01:/array/    /home/array    nfs     rw,auto,sync
> >
> > Does anyone have any ideas on this?
>
> chkconfig nfs on.
>
> Regards, Ian
>


0
pangean (6)
9/23/2004 9:37:00 PM
Reply:

Similar Artilces:

Android microSD card won't mount on Linux OS (Unable to access). Why?
Android microSD card won't mount on Linux OS (Unable to access). Why? What is this error telling me? a. Dolphin: http://i.imgur.com/DABMmKP.jpg b. Nautilus http://i.imgur.com/6XgdcI1.jpg ================================================================== Unable to access "134 GB Volume" Error mounting /dev/mmcblk0p1 at /media/guest/21E3-00CC: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000, iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/mmcblk0p1" "/media/guest/21E3-00CC"' exit...

mount -o remount of NFS doesn't preserve any mount options?
We're mounting a NAS filesystem via NFS to a SPARC Solaris 10 server, and had to remount on the fly due to a parameter change on the NAS device. The mount -o remount command neither preserved the existing mount options, nor read them from /etc/vfstab (they're the same). AFAIK it took all defaults, which caused some errors. I have resolved the issue by executing another remount and explicitly specifying all the mount options needed, but this behavior doesn't make sense to me. Is this normal behavior? I have researched the docs and the Web and don't see anything that...

why doesn't mount mount?
comp.os.minix why doesn't mount mount? The command: mount /dev/hd6 /aux returns the error message: mount: No such file or directory. Anyone know what the error message implies? Is mount saying /dev/hd6 can't be found? Fsck shows the listing below for /dev/hd6, which seems right just after formatting by mkfs. Hul ************************************************** inode permission link size name 1 drwxrwxrwx 2 32 / Checking zone map Checking inode map Checking inode list blocksize = 1024 zonesize = 1024 0 Regular files 1 Directory 0 Block special files 0 Character special files 32015 Free inodes 0 Named pipes 0 Symbolic links 253992 Free zones On 09/08/2012 09:59 AM, Hul Tytus wrote: > The command: mount /dev/hd6 /aux > returns the error message: mount: > No such file or directory. > > Anyone know what the error message implies? Is mount saying > /dev/hd6 can't be found? Fsck shows the listing below for /dev/hd6, > which seems right just after formatting by mkfs. What about directory /aux Ciao Giovanni -- A computer is like an air conditioner, it stops working when you open Windows. < http://giovanni.homelinux.net/ > > What about directory /aux err... I hadn't thought about that. I was assuming mkfs formatted the disk partition and left the directory name as "/...

partition won't mount
Although diagnostics say it's fine, I have a partition which refuses to mount (and there's a lot of stuff on it which I need to recover). I'm running OS X Panther 10.3.9 on an older G4 desktop. I boot from a 20 gig internal hard drive and have a 200 gig Maxtor divided into two 100 gig partitions. I am running Hi-Cap software to get around the 128 meg drive limit, so I can access all the space on the Maxtor. (I've run the software for over a year now - including the same drive on my previous G3 Yosemite - and have not seen problems running it.) However, recently one of the par...

HELP: Classic Won't Launch - Problems Have Escalated
System: MDD DP with OS 10.4.8. Three physical HD's. Two with Tiger installed (one is the major HD and the other is the emergency boot drive with just a virgin system on it) and one with just games, no OS. I tried to boot into OS 9.2.2 (this particular G4 is OS 9.2.2 bootable), It boots but once the desktop appears moving the mouse over the menu bar has no effect. Menus don't pull down and the only way to shutdown is via a hard shutdown. When I try Target Disk Mode with an iBook G4, the only drive that mounts is the games drive which has no system on it. I can't get the opitcal dri...

why doesn't mount mount? #2
comp.os.minix why doesn't mount mount? The command was changed to: mount /dev/hd6 / and the returned error message changed also: mount: /dev/hd6 is not a valid file system. Mount sure is picky... Any ideas, from the fsck listing below, what causes the invalid file system error? Or what might result in such error messages generally? Giovanni - thanks for noticing the wrong name. Any more suggestions from here? Hul ************************************************** inode permission link size name 1 drwxrwxrwx 2 32 / Checking zone map Checking inode map Checking inode list blocksize = 1024 zonesize = 1024 0 Regular files 1 Directory 0 Block special files 0 Character special files 32015 Free inodes 0 Named pipes 0 Symbolic links 253992 Free zones On 09/08/2012 02:59 PM, Hul Tytus wrote: > The command was changed to: mount /dev/hd6 / and the returned error > message changed also: mount: /dev/hd6 is not a valid file system. > > Mount sure is picky... Any ideas, from the fsck listing below, what > causes the invalid file system error? Or what might result in such > error messages generally? > > Giovanni - thanks for noticing the wrong name. Any more suggestions > from here? You have to create the directory aux on the root partition, not in the partition you formatted. Mount command require that you speci...

Partition won't mount
Although diagnostics say it's fine, I have a partition which refuses to mount (and there's a lot of stuff on it which I need to recover). Please excuse the double post - didn't think anyone would read the last post with it's lame subject... Don't know how to delete it. I'm running OS X Panther 10.3.9 on an older G4 desktop. I boot from a 20 gig internal hard drive and have a 200 gig Maxtor divided into two 100 gig partitions. I am running Hi-Cap software to get around the 128 meg drive limit, so I can access all the space on the Maxtor. (I've run the sof...

Partition won't mount
Although diagnostics say it's fine, I have a partition which refuses to mount (and there's a lot of stuff on it which I need to recover). Please excuse the double post - didn't think anyone would read the last post with it's lame subject... Don't know how to delete it. I'm running OS X Panther 10.3.9 on an older G4 desktop. I boot from a 20 gig internal hard drive and have a 200 gig Maxtor divided into two 100 gig partitions. I am running Hi-Cap software to get around the 128 meg drive limit, so I can access all the space on the Maxtor. (I've run the software for ...

HD won't mount (?) on boot
AlBk 1.5GHz 512MB OS X.3.9 This comp won't finish booting as of Mon night. Verbose mode shows: CSRHIDTransitionDriver::start after command - e00002ed //5 more iterations// disk0s3: I/O error. //something about not being journaled or not being able to read journaled// disk0s3: I/O error. //9 more iterations// //comp hangs// Upon resetting Open Firmware, the above is repeated *except* that after the initial I/O error I get: Load of /sbin/mach_init, errno 5, trying /etc/mach_init Load of /etc/,ach_init failed, errno 2 Disk Repair from CD - HD couldn't unmount ...

partition is fine
I'm running OS X Panther 10.3.9 on an older G4 desktop. I boot from a 20 gig internal hard drive and have a 200 gig Maxtor divided into two 100 gig partitions. I am running Hi-Cap software to get around the 128 meg drive limit, so I can access all the space on the Maxtor. Friday night, one of the partitions on the Maxtor failed to mount, while the other was present as usual. I had a couple of freezes accessing the mounted partition, so I presumed the worst and backed up all my files that I could get to. All of my music is on the unmounted partition. Disk Utility says that the absent part...

Can't NFS mount linux drive on OSX
So, I'm running SuSe 9.0 with a beefy 250G secondary drive. I also have a iMac running OSX 10.3.6. I use the Mac for it's video editing apps (not to mention the fact that it is UNIX .... forget this Microsoft mickey mouse crap). I'm trying to NFS mount the drive from the linux box to the mac, to be able to drag and drop files while working. Right now I have to manually FTP, which isn't the end of the world, but gets to be a pain. So, I launch YAST->Network Services->NFS Server - It asks me if I'd like to "Start NFS Server" to which I say yes. - It then brings up a list of directories to export, to which I add the correct "/share" directory (which is where I have the massive drive mounted via /etc/fstab. - When the "/share/" directory is selected in the top list, the bottom table has two columns: "Hosts wildcard" and "Options". The data for this drive is "*" and "ro, root_squash,sync" respectively. I then go over to the mac and try to mount the drive: mount <hostname>:/share <local directory> and I get this error... mount_nfs: /Users/ryan/linux: Operation not permitted Any thoughts would be appreciated. Ryan rohayre@gmail.com wrote: > - When the "/share/" directory is selected in the top list, the bottom > table has two columns: "Hosts wildcard" and "Options". The data for > this drive is "*" and "ro, root_sq...

NFS can't read directory on OS X mount
We are starting to migrate some users to an Xserve running OS X 10.4.10, and we mount it with NFS from our Solaris servers (so Solaris is the NFS client), running Solaris 8, patched with the Recommended set as of March of this year. The problem is that several applications, when asked to present the files in a directory, show nothing. This is manifesting itself especially in Mail programs and IMAP/POP servers that are not showing any of the users' mail "folders" (really mbox files). Using these same programs under Linux (FC6) works fine. Not all directory reads fail, of cours...

Fat16 volumes in Mac OS X won't mount
I have a G4 laptop loaded with OS X 10.2.8. and a digital camera which uses Compact Flash media, and a PCMCIA-card CF media reader for reading the CF media from the laptop. Under OS 9, I could read the CF media on the mac with no problem. Since upgrading to OS X, I can't mount the CF volumes to read the digital image files. I tried running Disk Utility to see if it could detect the drive, and it shows up as a FAT16 volume. I cannot, however, mount the volume or access the files from OS X. How should I go about troubleshooting this problem? guppy <cmsk1234@hotmail.com> wrote: &...

OSX NFS server, Linux client can't read mount
NFS server running on a Mac Powerbook, Linux client box on the LAN. I can mount the share. fstab has 192.168.1.102:/Volumes/Alien /mnt/alien nfs user,exec,rw,hard,intr 0 0 cat /proc/mounts 192.168.1.102:/Volumes/Alien /mnt/alien nfs rw,nosuid,nodev,v3,rsize=16384,wsize=16384,hard,intr,udp,lock, addr=192.168.1.102 0 0 However, when I try to access /mnt/alien, I get ls: reading directory /mnt/alien: Input/output error I don't know if the problem's on the Linux side or the OSX, which I don't know from shinola. Any advice as to why the mount can't be accessed greatly appreciated. Thanks. -- ...

Gnome won't start now on NFS mounted home dirs
After rebooting hosts (Solaris 9) that previously run Gnome 2 without problems I can't start it again. It starts on hosts that had not been rebooted yet. Also, some another application won't start now, so I assume it is because of the same cause. Here are some more information from developer who can't start his application: > I can start it from some non-nfs mounted dir such as /tmp. > When starting from /home/xxxxx, it's the WatchDog (the first parent > process) that got blocked. Truss output shows > > fcntl(4, F_SETLKW, 0x0013C264) (sleeping...) > > &g...

mount point has gone, device is mounted, can't umount device
Hi All, How stuffed am I? su-2.04# df -m Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/da0s1a 38 31 3 89% / /dev/da0s1f 7991 2980 4370 41% /usr /dev/da0s1e 193 151 26 85% /var /dev/da1s1g 9093 5483 2882 66% /usr/local /dev/da1s1e 2015 0 1854 0% /tmp /dev/da1s1f 4032 265 3444 7% /usr/www /dev/da2s1e 32509 17319 12589 58% /usr/MS procfs 0 0 0 100% /proc /dev/da4s1e 1007 39 887 4% /mnt/rt su-2.04# cd /mnt/rt su: cd: /mnt/rt: Invalid argument Get same if I do mkdir /mnt/rt So How do I umount /dev/da4s1e? I cannot just reboot as I am not sure that da0 is still my boot drive, boot0cfg -v da0 boot0cfg: /dev/da0: unknown or incompatible boot code -- Mark Worsdall https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ On 2005-07-30, Mark Worsdall <freebsd@NoSpAmPlEaSe-wizdom.org.uk> wrote: > Hi All, > > How stuffed am I? > > su-2.04# df -m > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/da0s1a 38 31 3 89% / > /dev/da0s1f 7991 2980 4370 41% /usr > /dev/da0s1e 193 151 26 85% /var > /dev/da1s1g 9093 5483 2882 66% /usr/local > /dev/da1s1e 2015 0 1854 0% /tmp > /dev/da1s1f 4032 265 3444 7% /usr/www > /dev/da2s1e 32509 17319 12...

Apache not serving from CIFS-mounted share, works if it's mounted as SMBFS
I'd like to mount a windows 2000 server fileshare on an linux/apache server to do some basic web serving. The web server works fine and shows other content that's stored locally just fine. This works: mount -t smbfs -o username=smbusername,uid=apache,ro //server/share mountpoint/ but it complains that smbfs is deprecated and I should be using cifs. For now, I'm using it anyway. This seems to work: mount.cifs //server/share mountpoint/ - ouser=smbusername,uid=apache,ro but it won't serve actual files. It allows browsing of the directories and shows the filenames. It does not return an error, it just does not send the file. I have confirmed that user 'apache' can read the file by logging in as that user and viewing the file. I tried a telnet test, using GET and Host commands captured from firefox's LiveHTTPHeaders extension, like this: -=- telnet webserver 80 GET /directory/filename.jpg HTTP/1.1 Host: webserver -=- The result looks like this: -=- HTTP/1.x 200 OK Date: Tue, 11 Mar 2008 15:51:07 GMT Server: Apache/2.2.4 (Unix) PHP/5.2.0 Last-Modified: Thu, 21 Feb 2008 16:07:30 GMT Etag: "420f8a5-180bf4-4d7a7480" Accept-Ranges: bytes Content-Length: 1575924 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: image/jpeg Connection to host lost. -=- On Tue, 11 Mar 2008 09:34:41 -0700, Rick Onanian wrote: > I'd like to mount a windows 2000 server fileshare on an linux/apache > server to do some bas...

mount on the same mount point
Hello, I'm trying to mount 2 md devices (/dev/md4 and /dev/md5) on the same mount point. I have just read that it is possible. Note : MD devices are JFS. But, altough I get no error, I do not get what I expected : the second mount command makes the first mount invisible. So, my 2 questions are : 1) is it possible to mount 2 MD devices on the same mount point? 2) If yes, how? Thanks climb65 wrote: > Hello, > > I'm trying to mount 2 md devices (/dev/md4 and /dev/md5) on the same > mount point. I have just read that it is possible. > > Note : MD devices are ...

Q: to mount or not to mount?
Let's say a Linux system boots from a software mirror on /dev/hda and /dev/hdc and that a "/" partition and a swap partition are there. There is also a SCSI device, /dev/sda, which just happens to be a hardware RAID card with a bunch of SATA drives in external swap trays. It is one large partition mounted right off the root as /storage. Is there a way to allow the system to boot up happily with either all of the trays in or all of the trays out? I don't need to add or remove this area of the file system while the machine is running, but I would like to be able to boot...

CD's often won't mount?
How could the old BIOS driver be superior to the newer Kernel driver? I've got a CD/DVD reader/writer, which is actually IDE-based, with a USB-adapter - Samsung. It's good for live-CD booting when the PC has problems. Unplugging the USB-IDE connection and using as an IDE seems never to give problems. But via the USB adapter it often needs repeated tries to mount. Now I'm failing to mount it after booting & running Slakware13, which I *think* it could do before ? Let's see some tests: -> lsusb == Bus 001 Device 015: ID 04b4:6830 Cypress Semiconductor C...

Mount all fails but specific mount works
10.3.9: Graphite:~ sysadmin$ df -k | grep Games Graphite:~ sysadmin$ nidump fstab . Symetra:/usr/Games /Games nfs net 0 0 Blueberry:/Users/Shared /Users/Shared nfs net 0 0 Graphite:~ sysadmin$ sudo mount -a Graphite:~ sysadmin$ df -k | grep Games Graphite:~ sysadmin$ sudo mount Symetra:/usr/Games /Games Graphite:~ sysadmin$ df -k | grep Games Symetra:/usr/Games 5397006 3896584 1068662 78% /Games Why does 'mount -a' not do it and give no error message? On Blueberry, fstab has a much longer list, and 'mount -a' loads all of them--except Games, yet the specific comman...

Multiple nfs mounts on same mount point ?
How is this possible ? Two nfs mounts on a same mount point ? # df -k /mnt Filesystem 1024-blocks Free %Used Iused %Iused Mounted on apple:/home/data/media-server/DB2 384827392 27588984 93% 369128 6% /mnt guava01-admin:/export/lpp_source/TSM 384827392 27588984 93% 369128 6% /mnt invincible wrote: > How is this possible ? > > Two nfs mounts on a same mount point ? > > # df -k /mnt > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > apple:/home/data/media-server/DB2 384827392 27588984 93% > 369128 6% /mnt &...

'mount -t cifs' only works with IP addresses, not with hostnames
Facts: 1) There is a Samba server on the local network. 2) Its hostname is 'myserver' and its IP address is 192.168.42.1. 3) The hostname can be resolved via DNS from another computer, as illustrated below: --- 8< --- anothercomputer:~ > ping -c 1 myserver PING myserver (192.168.42.1): 56 data bytes 64 bytes from 192.168.42.1: icmp_seq=0 ttl=128 time=0.4 ms --- myserver ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 0.4/0.4/0.4 ms --- 8< --- However, this does not work: --- 8< --- anothercomputer:~ > mount -t cifs -o username=foo,password=xyzzy \ //myserver/sharename /mnt/foobar mount: Mounting //myserver/sharename on /mnt/foobar failed: \ Invalid argument --- 8< --- Then again, this _does_ work: --- 8< --- anothercomputer:~ > mount -t cifs -o username=foo,password=xyzzy \ //192.168.42.1/sharename /mnt/foobar anothercomputer:~ > --- 8< --- What gives? Any ideas? By googling around a bit it seems there are numerous questions about the same problem on the net - on various mailing lists, forums, and newsgroups - but no answers. * * * Note 1: This is _not_ a WINS problem. I'm not trying to use NETBIOS names! I have no need for NETBIOS name resolution. Note 2: This is not a generic DNS problem, either. As you can see from the 'ping' sample output above, resolving 'myserver' to an IP address works just fine. Note 3: Explic...

Ubuntu Lurid crapware victim: "SATA drives not visible... 2nd DVD won't mount... mouse buttons randomly reassigned... slow boot... not a good experience"
"Initially, all 3 SATA HD's refused to be seen and the install failed until they were all disconnected and i was only able to install on the IDE drive solely (i've tried!). Additionally, Lucid will not mount either the floppy nor the second DVD drive - it will only see the CD drive & not the DVD either separately or together. Additionally, my Logitech MS700 randomly has had its buttons reassigned after booting (scroll = size and forward/back = search) however, this could be caused by a conflict with the (newer) Firefox as a reinstall of FF fixes this - i...

Web resources about - NFS mount won't mount at boot, but mount -a works fine. - comp.os.linux.networking

Resources last updated: 3/14/2016 12:43:39 PM