[sheepdog-users] .stale dir, error message after creating a vdi

Valerio Pachera sirio81 at gmail.com
Thu Dec 4 16:12:38 CET 2014


Description:

cluster with 4 nodes, each with 2 disks.

Clean start: all metadata and .stale dir removed before formatting the cluster.

What's wrong: after creating a vdi, in sheep I see an error message
about stale dir on the node were I run 'dog vdi create'.

(node test006)
Dec 04 15:23:20   INFO [main] rx_main(830) req=0x2d3cab0, fd=26,
client=127.0.0.1:44397, op=NEW_VDI, data=(not string)
Dec 04 15:23:20   INFO [main] tx_main(882) req=0x2d3cab0, fd=26,
client=127.0.0.1:44397, op=NEW_VDI, result=16
Dec 04 15:23:28   INFO [main] rx_main(830) req=0x2d3f9b0, fd=26,
client=127.0.0.1:44399, op=MAKE_FS, data=(not string)
--->Dec 04 15:23:28  ERROR [main] for_each_object_in_path(192) failed
to open /mnt/sheep/1/.stale, No such file or directory
Dec 04 15:23:28   INFO [main] tx_main(882) req=0x2d3f9b0, fd=26,
client=127.0.0.1:44399, op=MAKE_FS, result=00
Dec 04 15:23:31   INFO [main] rx_main(830) req=0x2d3cab0, fd=26,
client=127.0.0.1:44401, op=NEW_VDI, data=(not string)
Dec 04 15:23:31   INFO [main] tx_main(882) req=0x2d3cab0, fd=26,
client=127.0.0.1:44401, op=NEW_VDI, result=00

But stale dir was already created by dog cluster format.

The same error message is present on node test007 but not on node
test004 and test005.

parallel-ssh -i -H  'test004 test005 test006 test007' 'find /mnt/sheep
-type d -name ".stale"'
[1] 15:21:57 [SUCCESS] test005
/mnt/sheep/1/.stale
/mnt/sheep/0/.stale
[2] 15:21:57 [SUCCESS] test004
/mnt/sheep/1/.stale
/mnt/sheep/0/.stale
[3] 15:21:57 [SUCCESS] test007
/mnt/sheep/1/.stale
/mnt/sheep/0/.stale
[4] 15:21:57 [SUCCESS] test006
/mnt/sheep/1/.stale
/mnt/sheep/0/.stale

This are my sheeps

dog node md info --all
Id      Size    Used    Avail   Use%    Path
Node 0:
 0      202 GB  2.4 GB  199 GB    1%    /mnt/sheep/0
 1      217 GB  2.1 GB  215 GB    0%    /mnt/sheep/1
Node 1:
 0      205 GB  2.5 GB  203 GB    1%    /mnt/sheep/0
 1      217 GB  2.6 GB  215 GB    1%    /mnt/sheep/1
Node 2:
 0      205 GB  2.1 GB  203 GB    1%    /mnt/sheep/0
 1      278 GB  3.4 GB  275 GB    1%    /mnt/sheep/1
Node 3:
 0      205 GB  2.4 GB  203 GB    1%    /mnt/sheep/0
 1      278 GB  2.3 GB  276 GB    0%    /mnt/sheep/1



More information about the sheepdog-users mailing list