LMV Snapshots

klussier at comcast.net klussier at comcast.net
Thu Nov 16 12:25:47 EST 2006


Hi All,

I have a RHEL4 system (with all updates applied) that is using LVM. Every six hours, I have script that runs and does an LVM snapshot, mounts the snapshot, and rsyncs the data over to another system. I was looking through the logs, and I noticed some disturbing messgaes that I can't seem to find anything about. The LVM snapshot is created without incident. However, when I mount it, I get this in syslog:

Nov 16 12:00:04 postal kernel: kjournald starting.  Commit interval 5 seconds
Nov 16 12:00:04 postal kernel: EXT3 FS on dm-3, internal journal
Nov 16 12:00:05 postal kernel: EXT3-fs: dm-3: 109 orphan inodes deleted
Nov 16 12:00:05 postal kernel: EXT3-fs: recovery complete.
Nov 16 12:00:05 postal kernel: EXT3-fs: mounted filesystem with ordered data mode.

This one is pretty low. Most of them are 700+ orphan inodes. 

When I do the same thing on a FC4 system, I don't get the orphan inode issue:

Nov 16 12:22:41 blondie kernel: kjournald starting.  Commit interval 5 seconds
Nov 16 12:22:41 blondie kernel: EXT3 FS on dm-3, internal journal
Nov 16 12:22:41 blondie kernel: EXT3-fs: mounted filesystem with ordered data mode.

I don't have a whole lot of experience with LVM or snapshots. Does anyone have any thoughts on this?

TIA,
Kenny


More information about the gnhlug-discuss mailing list