Hi all,

I have a problem where I can not create any files in my / partition
although df doesn't show any problem

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             1.0G  732M  249M  75% /
/dev/hda6             860M  169M  647M  21% /home

I've located the culprit, /var/log/mail on /dev/hda1

ie: ls -l /var/log/mail does not respond

if I try 'rm *.1' it returns
bash: /bin/rm: Argument list too long

output from debugfs of /var/log/mail
-- snip
52684 (52) mail.info.1.gz.2.gz.1.gz.2.gz.4.gz.2.gz.1.1   
65767 (52) mail.info.1.gz.2.gz.1.gz.4.gz.5.gz.2.gz.1   
65673 (52) mail.info.1.gz.2.gz.1.gz.2.gz.5.gz.3.gz.1.1   
65709 (68) mail.info.1.gz.2.gz.1
31056 (52) mail.info.1.gz.2.gz.2.gz.2.gz.2.gz.4.gz.1.1   
......
-- snip
Looks like the logrotate cron is stuffed and I'll fix that ;-)
the list is huge and I can delete files individually in debugfs

I'm unable to use wild cards *.1, rmdir is not yet implemented in
debugfs:  

any suggestion to remove the entire content of that directory?

Thanks

JYP

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to