Re: [CentOS] Deleting Large Files

2009-03-02 Thread Kay Diederichs
Joseph L. Casale schrieb: I have an issue with a busy CentOS server exporting iSCSI and NFS/SMB shares. Some of the files are very large, and when they get deleted IO climbs to an unacceptable rate. Is there a way to purge a file with little to no IO overhead on ext3? Thanks! jlc Have you

Re: [CentOS] Deleting Large Files

2009-03-02 Thread Joseph L. Casale
Have you tried to delete locally, instead of over NFS? As I said, the deletes are done locally via ssh. Have you tried the unlink command instead of rm ? Nope, but I will now! Thanks, jlc ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Deleting Large Files

2009-03-02 Thread Ross Walker
On Mar 2, 2009, at 7:06 AM, Joseph L. Casale jcas...@activenetwerx.com wrote: Have you tried to delete locally, instead of over NFS? As I said, the deletes are done locally via ssh. Have you tried the unlink command instead of rm ? Nope, but I will now! If it's not too late you could

Re: [CentOS] Deleting Large Files

2009-03-02 Thread Kevin Krieser
On Mar 2, 2009, at 2:34 AM, Kay Diederichs wrote: Joseph L. Casale schrieb: I have an issue with a busy CentOS server exporting iSCSI and NFS/ SMB shares. Some of the files are very large, and when they get deleted IO climbs to an unacceptable rate. Is there a way to purge a file with

Re: [CentOS] Deleting Large Files

2009-03-02 Thread Ross Walker
On Mar 2, 2009, at 11:05 AM, Ross Walker rswwal...@gmail.com wrote: On Mar 2, 2009, at 7:06 AM, Joseph L. Casale jcas...@activenetwerx.com wrote: Have you tried to delete locally, instead of over NFS? As I said, the deletes are done locally via ssh. Have you tried the unlink command

Re: [CentOS] Deleting Large Files

2009-03-02 Thread Joseph L. Casale
Try the data=writeback option which emulates the way XFS handles log operations. With UPS and/or battery backed caching controller the risk should be minimum. That will help, but ext3 is not good at handling large files at all, so if you can switch to XFS that will make a bigger

Re: [CentOS] Deleting Large Files

2009-03-02 Thread JohnS
On Mon, 2009-03-02 at 17:36 -0600, Kevin Krieser wrote: On Mar 2, 2009, at 2:34 AM, Kay Diederichs wrote: Joseph L. Casale schrieb: I have an issue with a busy CentOS server exporting iSCSI and NFS/ SMB shares. Some of the files are very large, and when they get deleted IO climbs

[CentOS] Deleting Large Files

2009-03-01 Thread Joseph L. Casale
I have an issue with a busy CentOS server exporting iSCSI and NFS/SMB shares. Some of the files are very large, and when they get deleted IO climbs to an unacceptable rate. Is there a way to purge a file with little to no IO overhead on ext3? Thanks! jlc

Re: [CentOS] Deleting Large Files

2009-03-01 Thread Joseph L. Casale
Is it the ext3 or the exports. M It's on the ext3 fs when rm'ed locally via ssh (I export some ext3 fs's over NFS and SMB). 1) What is the local storage on (controller, disks, raid, etc) HP MSA20 (scsi = sata discs) 2) Does the IO go up if you do the delete locally, remotely or both 3) What is