RE: Hang when mounting SMB shares

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

 



You can mount the SMB-shares from the /etc/rc.d/rc.local with smbmount. In
this file you have to add a & at the end of the line of each the smbmount
command. This executes the command in the background and solves the problem
until the bug is fixed.

rc.local:

smbmount //server1/share /mnt/server1 -o username=xxx,password=xxx &
smbmount //server2/share /mnt/server2 -o username=xxx,password=xxx &
smbmount //server3/share /mnt/server3 -o username=xxx,password=xxx &


Frank Jahn
(Netzwerkadministrator, RHCE, LPIC1)






-----Ursprungliche Nachricht-----
Von: shrike-list-admin@xxxxxxxxxx
[mailto:shrike-list-admin@xxxxxxxxxx]Im Auftrag von djh
Gesendet: Donnerstag, 15. Mai 2003 00:38
An: shrike-list@xxxxxxxxxx
Betreff: Re: Hang when mounting SMB shares


On 14 May 2003, Philip A. Chapman wrote:
> > Any reasons why 'Mounting SMB Shares' hangs forever when I'm booting up?
> > What I'm doing now is comment all SMB shares out of /etc/fstab so I can
> > actually boot, then uncomment the lines and issue a 'mount -a' which
> > works instantly.

It's a known bug.

> ...
> Entries in fstab are mounted *before* networking is brought up.

True, but it doesn't attempt to mount network filesystems.

(from rc.sysinit:)
action $"Mounting local filesystems: " mount -a -t nonfs,smbfs,ncpfs -O
no_netdev

> This can cause the boot to hang if your fstab is set up to mount smb
> shares automatically without telling it that the entries are for network
> shares.

Sounds like this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89197

David.






[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux