  | |  | samba mounting start before ethernet up during booting | samba mounting start before ethernet up during booting 2005-07-28 - By M E Fieu
Back Hi.. Sorry I think I found the reason but no solution yet. The Netfs actually start and it happen after the ethernet up but as the mount location (windows PC) is different network than Linux server server so there is no route to that host during rebooting. As the routing entry is added (normally in /etc/rc.d) after the SMB mapping during booting. Any workaround
Jul 29 01:32:20 APMCG1 mount: Error connecting to 172.16.1.21 (No route to host) Jul 29 01:32:20 APMCG1 mount: 2230: Connection to SPM failed Jul 29 01:32:20 APMCG1 mount: SMB connection failed Jul 29 01:32:20 APMCG1 netfs: Mounting SMB filesystems: failed Jul 29 01:32:21 APMCG1 netfs: Mounting other filesystems: succeeded Jul 29 01:32:22 APMCG1 autofs: automount startup succeeded
--- Rafael Ferreira <rafael.ferreira@(protected)> wrote:
> Do you have netfs on? This service exists just for that purpose, late > mounting network storage. > > - raf > > > -- --Original Message-- -- > From: taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] > On Behalf Of Leuy Eeelyu > Sent: Thursday, July 28, 2005 8:33 AM > To: taroon-list > Subject: samba mounting start before ethernet up during booting > > Hi.. I have 2 linux servers with samba installed. > Both are configured to mount to separate windows > 2000 pro network drives. The proper windows user are > created on both windows PC too > > In Linux server1, I am able to mount the windows PC > SPM-TEST1 using the following command > > mount -t smbfs -o username=mcg_iur,password=mcg1234 > //SPM-TEST1/IURdownload /mounted_spm_dir > > In Linux server2, I am able to mount the windows PC > SPM using the following command > > mount -t smbfs -o username=mcg_iur,password=mcg1234 > //SPM/IURdownload /mounted_spm_dir > > In Linux server 1, I add the following entry in > /etc/fstab > //SPM-TEST1/IURdownload /mounted_spm_dir smbfs > username=mcg_iur,password=mcg1234,uid=502,gid=503 0 0 > > It is able to map the network samba drive after > reboot > > BUT in Linux server 2, I add the following entry in > /etc/fstab too as > > //SPM/IURdownload /mounted_spm_dir smbfs > username=mcg_iur,password=mcg1234,uid=502,gid=503 0 > 0 > > But it samba network drive is not mapped after reboot. > > After that I found the reason is because in server2 > the fstab mounting started before the ethernet > interface start during booting. Is there any way to > change the order or is there any workaround? > > Jul 28 06:31:33 APMCG1 kernel: EXT3-fs: mounted > filesystem with ordered data mode. > Jul 28 06:31:33 APMCG1 kernel: kjournald starting. > Commit interval 5 seconds > Jul 28 06:31:33 APMCG1 xinetd[2282]: xinetd Version > 2.3.12 started with libwrap loadavg options > compiled in. > Jul 28 06:31:33 APMCG1 kernel: EXT3 FS 2.4-0.9.19, 19 > August 2002 on sd(8,7), internal journal > Jul 28 06:31:33 APMCG1 xinetd[2282]: Started working: > 1 available service > Jul 28 06:31:33 APMCG1 kernel: EXT3-fs: mounted > filesystem with ordered data mode. > Jul 28 06:31:34 APMCG1 kernel: kjournald starting. > Commit interval 5 seconds > Jul 28 06:31:34 APMCG1 kernel: EXT3 FS 2.4-0.9.19, 19 > August 2002 on sd(8,8), internal journal > Jul 28 06:31:34 APMCG1 kernel: EXT3-fs: mounted > filesystem with ordered data mode. > Jul 28 06:31:34 APMCG1 kernel: kjournald starting. > Commit interval 5 seconds > Jul 28 06:31:34 APMCG1 kernel: EXT3 FS 2.4-0.9.19, 19 > August 2002 on sd(8,6), internal journal > Jul 28 06:31:34 APMCG1 kernel: EXT3-fs: mounted > filesystem with ordered data mode. > Jul 28 06:31:34 APMCG1 kernel: kjournald starting. > Commit interval 5 seconds > Jul 28 06:31:34 APMCG1 kernel: EXT3 FS 2.4-0.9.19, 19 > August 2002 on sd(8,5), internal journal > Jul 28 06:31:35 APMCG1 kernel: EXT3-fs: mounted > filesystem with ordered data mode. > Jul 28 06:31:35 APMCG1 kernel: IA-32 Microcode Update > Driver: v1.13 <tigran@(protected)> > Jul 28 06:31:35 APMCG1 kernel: microcode: No suitable > data for cpu 0 > Jul 28 06:31:35 APMCG1 kernel: Attached scsi generic > sg1 at scsi0, channel 0, id 8, lun 0, type 3 > Jul 28 06:31:35 APMCG1 kernel: inserting floppy driver > for 2.4.21-27.0.4.EL > Jul 28 06:31:35 APMCG1 kernel: floppy0: no floppy > controllers found > Jul 28 06:31:35 APMCG1 kernel: Ethernet Channel > Bonding Driver: v2.6.0 (January 14, 2004) > Jul 28 06:31:35 APMCG1 kernel: bonding: Warning: > either miimon or arp_interval and arp_ip_target > module parameters must be specified, otherwise bonding > will not detect link failures! see > bonding.txt for details. > Jul 28 06:31:35 APMCG1 kernel: Broadcom Gigabit > Ethernet Driver bcm5700 with Broadcom NIC > Extension (NICE) ver. 7.3.5 (06/23/04) > Jul 28 06:31:36 APMCG1 kernel: eth0: Broadcom BCM5721 > 1000Base-T PCI Express found at mem > cbff0000, IRQ 11, node addr 000d6099908c > Jul 28 06:31:36 APMCG1 kernel: eth0: Broadcom BCM5750 > Integrated Copper transceiver found > Jul 28 06:31:36 APMCG1 kernel: eth0: Scatter-gather > ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum > ON, 802.1Q VLAN ON, NAPI ON > Jul 28 06:31:36 APMCG1 kernel: eth1: Broadcom BCM5721 > 1000Base-T PCI Express found at mem > c9ff0000, IRQ 11, node addr 000d6099908d > Jul 28 06:31:36 APMCG1 kernel: eth1: Broadcom BCM5750 > Integrated Copper transceiver found > Jul 28 06:31:36 APMCG1 kernel: eth1: Scatter-gather > ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum > ON, 802.1Q VLAN ON, NAPI ON > Jul 28 06:31:36 APMCG1 kernel: Intel(R) PRO/ > > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > -- > Taroon-list mailing list > Taroon-list@(protected) > http://www.redhat.com/mailman/listinfo/taroon-list > > -- > Taroon-list mailing list > Taroon-list@(protected) > http://www.redhat.com/mailman/listinfo/taroon-list >
__ ____ ____ ____ ____ ____ ______ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |