Re: umount Dead NFS Directory

2002-11-10 Thread Helios de Creisquer
On Wed, Nov 06, 2002 at 10:03:35AM +0800, axacheng wrote: > Hello there, > > I got a problem while trying to umount NFS. I have two web servers, > one exports its /var/www for NFS share and the other mounts it as its own > DocumentRoot too, thus I got two web servers with exactly th

Re: umount Dead NFS Directory

2002-11-10 Thread Helios de Creisquer
On Wed, Nov 06, 2002 at 10:03:35AM +0800, axacheng wrote: > Hello there, > > I got a problem while trying to umount NFS. I have two web servers, > one exports its /var/www for NFS share and the other mounts it as its own > DocumentRoot too, thus I got two web servers with exactly th

Re: umount Dead NFS Directory

2002-11-06 Thread Russell Coker
On Wed, 6 Nov 2002 15:25, axacheng wrote: > Yes. It is a script that detect the status on the client. The script > uses fping first, then showmount, to detect either network or NFS > service is down. If unfortunately something happens, the script will > try to clean my /var/www usin

Re: umount Dead NFS Directory

2002-11-06 Thread axacheng
> What kind of problem is the NFS server having? You could have a script on > the client www server that pings the NFS server, and if it doesn't answer > then have it do a umount, you might have to kill apache, and other stuff > then mount whatever else you would mount, then restart apache, etc. >

Re: umount Dead NFS Directory

2002-11-06 Thread axacheng
> > Hello there, > > > > I got a problem while trying to umount NFS. I have two web servers, > > one exports its /var/www for NFS share and the other mounts it as its > > own DocumentRoot too, thus I got two web servers with exactly the same > > contents. If the one as NFS server malfunc

Re: umount Dead NFS Directory

2002-11-06 Thread Russell Coker
On Wed, 6 Nov 2002 15:25, axacheng wrote: > Yes. It is a script that detect the status on the client. The script > uses fping first, then showmount, to detect either network or NFS > service is down. If unfortunately something happens, the script will > try to clean my /var/www usin

Re: umount Dead NFS Directory

2002-11-06 Thread axacheng
> What kind of problem is the NFS server having? You could have a script on > the client www server that pings the NFS server, and if it doesn't answer > then have it do a umount, you might have to kill apache, and other stuff > then mount whatever else you would mount, then restart apache, etc. >

Re: umount Dead NFS Directory

2002-11-06 Thread axacheng
> > Hello there, > > > > I got a problem while trying to umount NFS. I have two web servers, > > one exports its /var/www for NFS share and the other mounts it as its > > own DocumentRoot too, thus I got two web servers with exactly the same > > contents. If the one as NFS server malfunc

Re: umount Dead NFS Directory

2002-11-05 Thread Brad Lay
Try doing fuser -m /var/www and findint the PID thats using /var/www and killing it, then do a umount. -- Brad Lay ([EMAIL PROTECTED]) Systems Administrator Samford Net P) +61 7 3855 2233 F) +61 7 3289 5458 W) http://www.samford.net "You will contract a disease for which the cure is so expensi

umount Dead NFS Directory

2002-11-05 Thread axacheng
Hello there, I got a problem while trying to umount NFS. I have two web servers, one exports its /var/www for NFS share and the other mounts it as its own DocumentRoot too, thus I got two web servers with exactly the same contents. If the one as NFS server malfunctions, the othe

Re: umount Dead NFS Directory

2002-11-05 Thread Brad Lay
Try doing fuser -m /var/www and findint the PID thats using /var/www and killing it, then do a umount. -- Brad Lay ([EMAIL PROTECTED]) Systems Administrator Samford Net P) +61 7 3855 2233 F) +61 7 3289 5458 W) http://www.samford.net "You will contract a disease for which the cure is so expensi

umount Dead NFS Directory

2002-11-05 Thread axacheng
Hello there, I got a problem while trying to umount NFS. I have two web servers, one exports its /var/www for NFS share and the other mounts it as its own DocumentRoot too, thus I got two web servers with exactly the same contents. If the one as NFS server malfunctions, the othe