Deleting advfs quota.* file links

From: Glen Davison (glen_at_maths.unsw.edu.au)
Date: 05/19/04

  • Next message: Frederick Leung: "dtfile: broken pipe in PipeRead"
    Date: Wed, 19 May 2004 16:19:02 +1000
    To: tru64-unix-managers@ornl.gov
    
    

    Q: How can I delete a hard-link to quota.user or quota.group?

    BKG: I wrote and ran a perl script which made hard-links to files recursively
    throughout a directory hierarchy. Unfortunately this also included the
    quota.* files at the top of the fileset. I have now inserted a test to stop
    this happening again, but the damage is already done.

    Once I have these new links to quota.user (let's call it 'uuu') and
    quota.group ('ggg') I found that

    rm uuu ggg

    didn't work (failed noisily) and

    rm -f uuu ggg

    failed silently.

    Looking through the tru64 archives, I see that people have asked several times
    about deleting the quota.* files because they looked large and unneeded, but
    were always mollified by the info that the files were sparse. Unfortunately
    this doesn't help me.

    Strangely, I thought I did manage to fix this same problem last week from an
    earlier run, but I can't do it today.

    Any hints appreciated
    Glen

    -- 
    Glen Davison			glen@maths.unsw.edu.au
    Computer System Administrator	phone: +61 2 9385 7018
    Maths, UNSW			fax:   +61 2 9385 7192
    

  • Next message: Frederick Leung: "dtfile: broken pipe in PipeRead"