[CentOS] HP ProLiant DL380 G5

Matt matt.mailinglists at gmail.com
Thu Aug 21 21:43:06 UTC 2014


>>>> Hate to change the conversation here but that's why I hate hardware
>>>> RAID.
>>>> If it was software RAID, Linux would always tell you what's going on.
>>>> Besides, Linux knows much more about what is going on on the disk and
>>>> what is about to happen (like a megabyte DMA transfer).
>>>>
>>>> BTW, check if something is creating:
>>>>
>>>> /forcefsck
>>>
>>> These exist:
>>>
>>> -rw-r--r--    1 root root     0 Jul  7 10:03 .autofsck
>>> -rw-r--r--    1 root root     0 Jul  7 10:03 .autorelabel
>>>
>>> What does that mean?
>>
>> ARRRGGGHGHGHGHGHGHHGHGHHHH!!!!!!!
>>
>> First, delete /.autofsck. That will stop it from fsckin'g *everything*
>> every reboot. Second, is selinux in enforcing mode? In any case, have you
>> recently done major changes? If not, delete /.autorelabel, since an
>> selinux relabel takes a *while*, esp. if you have *lots* of files.
>>
>>       mark
>
> No, /.autofsck is not harmful and will cause nothing unless
> /etc/sysconfig/autofsck exists and has something specific defined. The
> /.autofsck is automatically created at each boot by the system.
>
> /.autorelabel is as well only a control file and does not cause a full
> SELiux relabeling at each boot.
>
> If you don't believe me, please see /etc/rc.sysinit.
>
> Alexander

So I just need to SELINUXTYPE=disabled and ignore .autofsck and
.autorelabel?  Was the targeted selinux causing the slow reboots?



More information about the CentOS mailing list