On Fri, Mar 08, 2013 at 10:19:36AM +0100, Maroš Žilka wrote: > Hi, > > we have problem and its bit complicated to explain but i will try. > There are two servers on same LAN (let's say server A and server B) on > both is mounted same storage(S1) on /apps/ . We created dir on that > storage /test so on server A and server B it shoes as /apps/test but > on server A we mounted on /apps/test other storage (S2) and on server > B there was mounted again other storage (S3). We wanted to delete > /apps from both servers so we first unmounted S3 on server B and > deleted test dir (which was shared on A and B) which made server A > messed up coz there was still mounted S2 on path which doesnt rly > exist now... > when we list mounts with mount it shows is it but when we want to > umount it says path (dir) not found or doesnt exist. > we tried to recreate test and then mount/umount it but that just > created new entry and after umounting original mount was still listed > by mount. > If I am right mount reads info from /etc/mtab which is linked to /proc/mtab > is there any way to flush/clear/update /proc/mtab ? Its important to > keep server running...
You never say how do you share your filesystems, NFS? If that is the case, try restarting the NFS server, or at least (if can't do that) 'exportfs -rva'. You might have stale filehandles, in which case, you'll probably need to reboot. -- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56
signature.asc
Description: Digital signature