Re: redhat cannot mount remote NFS filesystem automatically afterbooted.please help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can add the mount command to /etc/rc.d/rc.local - it's the last thing
executed on boot, before giving you a login prompt.

> can you do it with the mount command after the OS is up?
>
>
> On 10/11/07, Mark Haney <mhaney@xxxxxxxxxxxxxxxx> wrote:
>> xiang wrote:
>> > description:both hosts(one redhat 194.128.4.150 255.255.255.0,another
>> suse 194.128.4.140 255.255.255.0)are located in the same subnet.
>> >             i've already modified /etc/fstab,and moute -a is ok, but
>> automatically failed .  why?thanks a lot.
>> >
>> > below is information from /var/log/boot.log
>> >
>> > ct 11 16:03:46 FAX1 rc.sysinit: Checking root filesystem succeeded ct
11 16:03:46 FAX1 rc.sysinit: Remounting root filesystem in
>> read-write mode:  succeeded
>> > ct 11 16:03:47 FAX1 rc.sysinit: Finding module dependencies:
>> succeeded
>> > ct 11 16:03:47 FAX1 fsck: /boot: clean, 40/130560 files, 35621/522081
>> blocks
>> > ct 11 16:03:47 FAX1 rc.sysinit: Checking filesystems succeeded ct 11
16:03:47 FAX1 rc.sysinit: Mounting local filesystems:  succeeded ct
11 16:03:47 FAX1 rc.sysinit: Enabling local filesystem quotas:
>> succeeded
>> > ct 11 16:03:48 FAX1 rc.sysinit: Enabling swap space:  succeeded ct 11
16:03:49 FAX1 microcode_ctl: microcode_ctl startup succeeded ct 11
16:04:08 FAX1 kudzu:  succeeded
>> > ct 11 16:04:08 FAX1 kudzu: Updating /etc/fstab succeeded
>> > ct 11 16:04:08 FAX1 sysctl: net.ipv4.ip_forward = 0
>> > ct 11 16:04:08 FAX1 sysctl: net.ipv4.conf.default.rp_filter = 1 ct 11
16:04:08 FAX1 sysctl: kernel.sysrq = 0
>> > ct 11 16:04:08 FAX1 sysctl: kernel.core_uses_pid = 1
>> > ct 11 16:04:08 FAX1 network: Setting network parameters:  succeeded
ct 11 16:04:08 FAX1 network: Bringing up loopback interface:
>> succeeded
>> > ct 11 16:04:10 FAX1 network: Bringing up interface eth0:  succeeded
ct 11 16:04:14 FAX1 mount: pmap_getmaps rpc problem: RPC: Unable to
>> receive; errno = No route to host
>> > ct 11 16:04:23 FAX1 mount: mount: RPC: Remote system error - No route
>> to host
>> > ct 11 16:04:23 FAX1 netfs: Mounting NFS filesystems:  failed
>> > ct 11 16:04:23 FAX1 netfs: Mounting other filesystems:  succeeded ct
11 16:04:23 FAX1 autofs: automount startup succeeded
>> > ct 11 16:04:24 FAX1 cups: cupsd startup succeeded
>> > ct 11 16:04:24 FAX1 sshd:  succeeded
>> > ct 11 16:04:24 FAX1 xinetd: xinetd startup succeeded
>> > ct 11 16:04:24 FAX1 nfs: Starting NFS services:  succeeded
>> >
>>
>>
>> Sounds to me like the network hasn't completely setup before trying to
mount the NFS drives.
>> --
>> Recedite, plebes! Gero rem imperialem!
>>
>>
>> Mark Haney
>> Sr. Systems Administrator
>> ERC Broadband
>> (828) 350-2415
>>
>> Call (866) ERC-7110 for after hours support
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux