Re: Force run of quotacheck at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
> -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?

In /etc/rc.d/rc.sysinit of CentOS 5 it seems to check for a file
/forcequotacheck

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux