LinHES Forums
http://forum.linhes.org/

How do I reload /etc/fstab WITHOUT reboot?
http://forum.linhes.org/viewtopic.php?f=5&t=8504
Page 1 of 1

Author:  HappyTalk [ Tue Feb 14, 2006 3:55 pm ]
Post subject:  How do I reload /etc/fstab WITHOUT reboot?

I'm trying to get out of the 'windows reboot habit' everytime I make a subtle change in linux. I haven't been able to work out HOW I can make linux reload /etc/fstab after I make a change to it without rebooting.

Author:  blahpony [ Tue Feb 14, 2006 4:02 pm ]
Post subject: 

mount -a will remount everything in the fstab.

Author:  HappyTalk [ Wed Feb 15, 2006 1:49 am ]
Post subject: 

Thanks

Author:  ed3120 [ Sun Apr 23, 2006 11:43 am ]
Post subject: 

When I do a "mount -a" nothing in my /etc/fstab is remounted and I get the following error:

Code:
 27272: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed


My share names shouldn't be invalid if they worked fine in the /etc/fstab normally. I just want to be able to remount them if I reboot the remote machine and I don't want to have to reboot my myth box.
[/code]

Author:  Xsecrets [ Sun Apr 23, 2006 11:48 am ]
Post subject: 

if you run mount by itself it'll show what is mounted. I bet you will find that the shares are still mounted. that does not mean they will work. linux really doesn't like having shares go away while they are mounted. you could try umount them and then run mount -a again.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/