X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7E614.C025A58E@onstor-exch02.onstor.net>; Thu, 23 Aug 2007 22:05:20 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: can't remove directory heirarchy
Date: Thu, 23 Aug 2007 22:05:15 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E051AF2C6@onstor-exch02.onstor.net>
In-Reply-To: <20070823224314.0204fa1a@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: can't remove directory heirarchy
Thread-Index: AcfmEaqFaNZs5L5CSOiIi39eDCmA5AAApTFA
From: "Jobi Ariyamannil" <jobi.ariyamannil@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Jonathan Goldick" <jonathan.goldick@onstor.com>

Hi Andy,

This must be a client issue.  Host filesystems allow file removals
irrespective of open counts.  If this was your filer, we could have
verified this by running "fscmd reqstats" and checking whether the filer
receives remove request.

Regards,
Jobi

-----Original Message-----
From: Andy Sharp=20
Sent: Thursday, August 23, 2007 10:43 PM
To: Jobi Ariyamannil
Cc: Jonathan Goldick
Subject: can't remove directory heirarchy

Hi Jobi,

Check this out: I'm trying to remove a directory heirarchy, and all the
files were deleted, except a couple of .nfs.... files, and I can't
delete them and therefore I can't delete the directories.  Kind of
weird.


ripper:~/src/dev/linux/Pkgs/source/kexec-tools$ rm -rf
kexec-tools-1.101-kdump10/
rm: cannot remove
`kexec-tools-1.101-kdump10//debian/patches/.nfs000000000160361400000009'
: Device or resource busy
rm: cannot remove
`kexec-tools-1.101-kdump10//debian/patched/.nfs00000000015fb3010000000a'
: Device or resource busy


It seems to be because I have a couple of vi sessions going, ostensibly
on files in that heirarchy, but I should still be able to delete the
whole thing.  Is this a client bug?  Or a filer bug?
