[CentOS] Force run of quotacheck at boot

2007-08-22 Thread Dogsbody
Hi All, I think I have managed to corrupt my quota files so I need to run `quotacheck` but that needs the partition to have quotas off or be unmounted which isn't ideal for a production system :-p I was trying to find a way to force the system to do a full `quotacheck -cvuga` on a reboot

Re: [CentOS] Force run of quotacheck at boot

2007-08-22 Thread Mogens Kjaer
Dogsbody wrote: Hi All, I think I have managed to corrupt my quota files so I need to run `quotacheck` but that needs the partition to have quotas off or be unmounted which isn't ideal for a production system :-p I was trying to find a way to force the system to do a full `quotacheck

Re: [CentOS] Force run of quotacheck at boot

2007-08-22 Thread Dogsbody
I was trying to find a way to force the system to do a full `quotacheck -cvuga` on a reboot but on looking in rc.sysinit it seems it will only force a quotacheck on boot when fsck finds problems with the disk. Which CentOS? Sorry, CentOS 4.x In /etc/rc.d/rc.sysinit of CentOS 5 it seems to

Re: [CentOS] Force run of quotacheck at boot

2007-08-22 Thread Ralph Angenendt
Dogsbody wrote: Danm, looks like that isn't in 4 :-( Then set _RUN_QUOTACHECK to 1 in that script, reboot and change it back ... Cheers, Ralph pgp0dCtfJexYC.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org