Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Samba mount and hostname issues, Getting Samba to mount a drive with hostname
post Aug 31 2006, 03:44 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 31-August 06
Member No.: 7,111


I have a simple setup. WinXP machine, Mandriva Linux box and a 300Gb Maxtor NAS which I use for backups. Netgear firewall/router hooks it all up acts as a DHCP server.

I am using Samba to see the windows machines and NAS. I'm trying to have the NAS mount automatically when the Linux box boots. It works fine when I have this in the /etc/fstab file:

// /mnt/mss smbfs credentials=/.smbpasswd,uid=ahagop 0 0

(the ip address is the NAS - statically allocated by DHCP server)

I then added an alias in the /etc/hosts file: backupdrive backupdrive

and change the fstab to

//backupdrive/linux /mnt/mss smbfs credentials=/.smbpasswd,uid=ahagop 0 0

But the drive does not mount. I can ping backupdrive and it resolves the ip address.

I think that when the system boots it tries to mount the samba drives before it loads the hostname. Just a guess.

How do I resolve this. I don't want to hard code IP addresses everywhere.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st June 2018 - 11:34 AM