why ext3 filesystem corrupt during graceful shutdown?
Issue
- The barrier test script available at http://lwn.net/Articles/283169/ is designed to introduce filesystem corruption when power is abruptly removed from a server. However, our tests reveal that running this script during a graceful shutdown (init 1) also introduces filesystem corruption on RHEL 5.5 using an ext3 filesystem. This is true for filesystems on top of physical partitions as well as logical volumes. Enabling write barriers (barrier=1 in the fstab) seems to have no effect on the outcome. In all cases running e2fsck will show that the filesystem has been corrupted.
- why ext3 filesystem corrupt during graceful shutdown?
Environment
- Red Hat Enterprise Linux (RHEL) 5 U5 x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
