Does anyone know of ways that snapshots can become invalid other than by writing more to the origin than the COW device can hold?<br><br>The reason I ask is that we're having cases where a snapshot is becoming invalid, but we are very skeptical that it is due to overfilling. The size of the origin is 83G, and the size of the snapshot is 8G.<br>
<br>Here's what little we can tell from the logs:<br>1. Backup script creates a snapshot and starts copying data from it.<br>2. Before backup is finished (and thus, snapshot removed), the user reboots.<br>3. On reboot, we get the following message which seems to be normal for this kernel:<br>
    kernel: device-mapper: table: 253:2: snapshot-origin: unknown target type<br>4. About 23 hours later, the backup script tries to create the snapshot again but fails b/c it's still there.<br>5. The backup script tries to clean up by removing the snapshot, but lvremove causes a kernel oops because the snapshot is invalid. (We have identified a potential patch for this, but are trying to figure out why the snapshot was invalid in the first place.)<br>
<br>The kernel we're using is based off of Fedora 6 (2.6.18-1.2849).<br><br>Not sure whether it matters, but device-mapper is version 1.02.07 release 4.0.RHEL4 and lvm2 is version 2.02.06 release 6.0.RHEL4.<br><br><br>
Thanks for any help,<br>Rob<br>