[CentOS] Is it safe to run tune2fs -c -1 -i 0 /dev/sda2 on mounted file system

Fri Jul 8 13:23:07 UTC 2011
yonatan pingle <yonatan.pingle at gmail.com>

On Thu, Jul 7, 2011 at 11:10 PM, Simon Matter <simon.matter at invoca.ch> wrote:
>> Hi,
>>
>> Is it safe to run tune2fs -c -1 -i 0 /dev/sda2  on mounted file system
>>
>> Basically, this is a command to disable fsck based on reboot count &
>> last fsck time.
>
> The RHEL/CentOS installed does exactly this, -c 0 -i 0, so yes it's
> considered safe.
>
> Simon
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Hi,

It would be much better controlling this values from your /etc/fstab file,
so in case of any future references to fsck on boot, you will know
what's configured by file.
man fstab , and read about the sixth field.


-- 
Best Regards,
Yonatan Pingle
RHCT | RHCSA | CCNA1