[Unionfs] unionfs - samba mount

Harihara, Rama S rama.s.harihara at intel.com
Tue Nov 7 11:04:05 EST 2006


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:jsipek at fsl.cs.sunysb.edu] 
Sent: Tuesday, November 07, 2006 5:56 AM
To: Jan Engelhardt
Cc: Harihara, Rama S; unionfs at fsl.cs.sunysb.edu
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...



More information about the unionfs mailing list