PDA

View Full Version : Want to refresh Samba shares automatically after Windows reboot


emmanuel
2005-03-07, 05:03 AM CST
Hello all,

When I reboot a Windows PC on my network, the shares from Linux to that Windows PC (setup as mount points and networked via Samba as shares) do not work anymore; I need to first reboot Linux.

I suspect there is a solution for Samba/Linux (FC2) to refresh automatically to pick up the shares but cannot find the sulotion. :(

Could someone please assist me?

Kind regards
Emmanuel

haakonmm
2005-03-07, 09:17 AM CST
service netfs restart

emmanuel
2005-03-07, 10:15 AM CST
Thank you, haakonmm,

I attempted your suggestion; this did not refresh the mount points/shares.

I eventually rebooted FC2 to get going.

Besides, what I'm looking for is a automated way to refresh.

Any other suggested solution?

Kind reagrds
Emmanuel

haakonmm
2005-03-07, 10:32 AM CST
I don't know of a way to automaticly refresh....sorry!

But "service netfs restart" should work. Did you do it as root?

emmanuel
2005-03-07, 11:17 AM CST
Yes as root.