http://bugzilla.kernel.org/show_bug.cgi?id=8503
Summary: File on XFS is truncated at reboot with 2.6.22-rc1
Kernel Version: 2.6.22-rc1
Status: NEW
Severity: normal
Owner: xfs-masters@xxxxxxxxxxx
Submitter: griffon26@xxxxxxxxxxxx
Most recent kernel where this bug did *NOT* occur: 2.6.21.1
Distribution: Gentoo
Hardware Environment: PC, P4 3G, 1G mem
Problem Description:
I have a file on my XFS root filesystem (/etc/env.d/03opengl) that gets
truncated to 33 bytes at each reboot, under the following two conditions:
1) i have modified the file under a 2.6.22-rc1 kernel. If I change it under a
2.6.21.1 kernel the problem does not occur. It does not make a difference if I
boot to a 2.6.22-rc1 or 2.6.21.1 kernel.
2) the file has a specific inode. This particular file is generated by a script
(eselect opengl set nvidia) on my system and when it is generated like this it
gets inode 33554562. The problem occurs only with this inode. If I overwrite the
file with vim it gets inode 33554595 or 33554596 and the problem does not occur.
An observation about the content of the file:
- any modifications I make to the part of the file before the point where it is
truncated, are visible in the truncated file after reboot.
Steps to reproduce:
These are the steps I take to reproduce this on my system:
1) boot to kernel 2.6.22-rc1 with init=/bin/bash
2) mount -o remount,rw /
3) eselect opengl set nvidia (generates the file /etc/env.d/03opengl)
4) mount -o remount,ro /
5) sync
6) reboot
7) boot to any kernel with init=/bin/bash
8) cat /etc/env.d/03opengl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|