From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721911914.tru64-unix-managers.marc@archive.invalid> From: wander Date: Thu, 17 Sep 1998 21:32:22 +0000 To: tru64-unix-managers Subject: SUMMARY (II): Removing a directory with 48,000+ files. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721911914 Hi people, I'd like to inform some bad and good news about this problem. After the first summary, I received other hints from some very kind guys that I'll list below, but before that, some considerations: - I know now that the NFS messages are a consequence of an extremelly busy device when it's trying to remove the files. - After to discover (through a #showfile *) that the directory housing the files had a Performance of only 13%, I changed the BMT values through addvol command to a second disk, then remove the first disk: #addvol -x 512 -p 7200 /dev/rzxx. This increased the Performance to 96%. But no success. - I tried to generate a listing of the files with #ls -f , that = uses the order in which entries appear in the directory, then tried to work with this list reading and removing a certain quantity of files passing this value as an argument to a script. No success. - I tried remove the files with "#ls | xargs -i rm -f {}" - No success. - I can't do any manipulation of this directories to other disks, UFS, directories, etc, as a temporary solution to this problem. These are files that represents climatological data and we have one directory for each year of data and at least 5 years or 5 directories with this bunch of files. The area to house all this stuff isn't big enough to fit several years, so the solution the user found is to work with some years, remove them, and copy other years to his file system. So, this shoud be a smooth operation. I'm still trying to identify the culprit. Advfs? Disk drive model? SCSI Bus? = Thanks anyway until now, specially to: Paul Henderson Dejan Muhamedagic Phil Rand Bernt Christandl Mike D Cross Ronald D. Bowman ARENA Vincenzo Sakellaris Alexander Ivan Ferr=E9 i Obiol Wander -- = ----------------------=3D=3D=3D=3D=3D=3D=3D---------------------- Wanderley O. Mendes = Software Specialist wander@cptec.inpe.br = Phone: 55-012-560-8432 Fax: 55-012-560-8435 INPE/CPTEC - Cachoeira Paulista - Sao Paulo - Brazil = ----------------------=3D=3D=3D=3D=3D=3D=3D----------------------