Hi Jeff and Jan, Thanks for the responses. As Jeff said, I can unmount the smb share, but unionfs still remembers that and holds a reference to the branch. So we still get a realpath() host is down.
I looked at the code in unionfs that takes care of the "Remove" part of unionctl, it tries to get a realpath and if that fails ( which will fail since there is no host - no path resolved ), it throws up an error and exits. Thanks, Rama. -----Original Message----- From: Josef Sipek [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:56 AM To: Jan Engelhardt Cc: Harihara, Rama S; [EMAIL PROTECTED] Subject: Re: [Unionfs] unionfs - samba mount On Tue, Nov 07, 2006 at 10:26:03AM +0100, Jan Engelhardt wrote: > >> > >> I get a "realpath() host is down". > >> > >Hrm. I'm not sure where the problem is stemming from. I am somewhat tempted > >to say that it's due to the fact that during branch removal, we release some > >resources and the CIFS/SMBFS code gives up with the above message. > > But umount /smb and umount /nfs usually work when an NFS server is down > (and no files happen to be open). And if not that, umount -l may do it. We always hold a reference to the branch directory. Josef "Jeff" Sipek. -- A CRAY is the only computer that runs an endless loop in just 4 hours... _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
