automount reload
ubuntu: 8.04
#uname -a
Linux obslw32 2.6.24-17-generic #1 SMP Thu May 1 13:57:17 UTC 2008 x86_64 GNU/Linux
# dpkg -l autofs
ii autofs 4.1.4+debian-2.1ubuntu1
kernel-based automounter for Linux-----------------------------------------------
Hello the autofs team,
I'm using autofs in team with nis. I do have defined auto_home with a list of users and their respectives ressources. And I use intensively nfs.
The question is.
How should I proceed when I'd like to move, let'say, user joe (/home/joe) from hostA:/export/joe to hostB:/export/joe when he is actually log in hostW(ork)
I thought, I'll do in this order:
ask joe to log out
rsync hostA:/export/joe to hostB:/export/joe
on hostB: exportfs of hostB:/export/joe
in nis: auto_home, I move joe hostA:/export/joe to
hostB:/export/joe
on hostW: /etc/init.d/autofs reload
but it is not working.
Signature · 2 lines
Cedric BRINER Geneva - Switzerland
Hello Cedric,
Quoted 3 lines
# dpkg -l autofs
ii autofs 4.1.4+debian-2.1ubuntu1
kernel-based automounter for LinuxThat problem was one of the reasons we took the effort to backport current (autofs5-5.0.2) versions of autofs to our debian and ubuntu installations. I can't think of any reason why ubuntu doesn't ship versopn 5 anymore, but heck ...
A simple autofs reload would work if you would be using autofs5. But if you decide to do so, please test extensively beforehand (you'll never know). For us, it works quite well.
Quoted 7 lines
I thought, I'll do in this order:
ask joe to log out
rsync hostA:/export/joe to hostB:/export/joe
on hostB: exportfs of hostB:/export/joein nis:
auto_home, I move joe hostA:/export/joe to
hostB:/export/joe
That's exactly how it's supposed to work.
Quoted 1 line
on hostW:
/etc/init.d/autofsreload
Autofs4 is ... <insert non politically correct swearword here>. Thanks to Ian and Jeff for their good work on autofs5!
Quoted 1 line
but it is not working.
Signature · 1 line
Lukas
Ian Kent
maintainerQuoted 17 lines · cedric briner
ubuntu: 8.04
#uname -a
Linux obslw32 2.6.24-17-generic #1 SMP Thu May 1 13:57:17 UTC 2008x86_64GNU/Linux# dpkg -l autofs ii autofs 4.1.4+debian-2.1ubuntu1 kernel-based automounter for Linux-----------------------------------------------
Hello the autofs team,
I'm using autofs in team with nis. I do have defined
auto_homewith a list of users and their respectives ressources. And I use intensively nfs.
Quoted 7 lines
The question is.
How should I proceed when I'd like to move, let'say, user joe (/home/joe) from hostA:/export/joe to hostB:/export/joe when he is actually log in hostW(ork)I thought, I'll do in this order:
ask joe to log out
Send USR1 signal to umount joe's home directory, make sure it is umounted.
Quoted 9 lines
rsync hostA:/export/joe to hostB:/export/joe
on hostB: exportfs of hostB:/export/joein nis:
auto_home, I move joe hostA:/export/joe to
hostB:/export/joeon hostW:
/etc/init.d/autofsreloadbut it is not working.