[sheepdog-users] Crash of a node (maybe due to cache)

Valerio Pachera sirio81 at gmail.com
Thu Jun 6 16:02:58 CEST 2013


2013/6/6 Liu Yuan <namei.unix at gmail.com>:
> On 06/06/2013 07:56 PM, Valerio Pachera wrote:
>> Oh yes. But not just before it.
>> I turned off the guest and created a snapshot at about17:00, so 2/3
>> hours before the backups started writing data.
>
> What is QEMU and Sheep version for this cluster?

Sheepdog daemon version 0.6.0

> What command did you use to snapshot the vdi?
  collide vdi snapshot -s second backup_data

> If you turned off the guest, the cache should be released. then we
> shouldn't never get this error. Anyway, I've sent a patch to fix a vdi
> snapshot bug  for the case that there is dirty objects in the cache
> while taking snapshots.

Thank you

I've been deleting the cache on the node that failed but I see a vrey
strange thing:

root at sheepdog004:~# collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  zimbra_backup     0  200 GB  117 GB  0.0 MB 2013-04-16 21:41
2e519     2
s backup_data     1  1.0 TB  1.0 TB  0.0 MB 2013-04-16 21:45   c8d128
   2         first
  backup_data     0  1.0 TB  134 GB  890 GB 2013-06-04 18:18   c8d129
   2
  backup_data     0  1.0 TB   52 GB  972 GB 2013-06-05 17:29   c8d12a
   2
s crmdelta     2   50 GB  8.7 GB  4.8 GB 2013-06-06 08:49   e149c0
2       secondo
  crmdelta     0   50 GB  332 MB   13 GB 2013-06-06 09:25   e149c1
2
  backp        0   10 GB  524 MB  3.3 GB 2013-05-22 08:31   f313b7     2

backup_data has two 'id 0' !
The snapshot 'second' is not shown on this host, but on the other yes.

root at sheepdog001:~# collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  zimbra_backup     0  200 GB  117 GB  0.0 MB 2013-04-16 21:41
2e519     2
s backup_data     1  1.0 TB  1.0 TB  0.0 MB 2013-04-16 21:45   c8d128
   2         first
s backup_data     2  1.0 TB  134 GB  890 GB 2013-06-04 18:18   c8d129
   2        second
  backup_data     0  1.0 TB   52 GB  972 GB 2013-06-05 17:29   c8d12a
   2
s crmdelta     2   50 GB  8.7 GB  4.8 GB 2013-06-06 08:49   e149c0
2       secondo
  crmdelta     0   50 GB  332 MB   13 GB 2013-06-06 09:25   e149c1
2
  backp        0   10 GB  544 MB  3.3 GB 2013-05-22 08:31   f313b7     2



More information about the sheepdog-users mailing list