April 2010
user@server:~$ sudo smbcontrol smbd close-share apps
user@server:~$ sudo smbcontrol smbd close-share homes
user@server:~$ sudo /etc/init.d/samba stop
This will not kill all smbd
processes.
user@server:~$ sudo apt-get update
user@server:~$ sudo apt-get dist-upgrade
Log in on the console, and reboot:
user@server:~$ sudo reboot
Clients reclaim their shares on the rebooted server. I don't know whether any data loss occurs in running processes. It looks like some clients reclaim their shares, but as some hadn't got them any more. We may have to remount them. Write a Landscape script that says:
#!/bin/bash mount -a
I didn't though. The users had better reboot.