coreos / torus

Torus Distributed Storage
https://coreos.com/blog/torus-distributed-storage-by-coreos.html
Apache License 2.0
1.78k stars 172 forks source link

tcmu write failed #327

Closed vtolstov closed 7 years ago

vtolstov commented 7 years ago

I'm setup torusd on one server with 10Gb size and try to test tcmu on this node via :

tcmu test --debug --write-level one

torusd runs:

torusd --data-dir /var/lib/torus/ --size 10G --write-level one --debug

torusblk output:

2016-09-19 14:59:52.913305 I | torus: creating metadata service: etcd 2016-09-19 14:59:52.916981 N | ring: Using ring that requests replication level 2, but has only 0 peers. Add nodes to match replication. 2016-09-19 14:59:52.917161 I | torus: creating blockstore: temp 2016-09-19 14:59:52.917957 N | ring: Using ring that requests replication level 2, but has only 0 peers. Add nodes to match replication. 2016-09-19 14:59:52.918133 D | gc: creating blockvol gc go-tcmu attached to /dev/torus/test 2016-09-19 14:59:57.989508 E | tcmu: write/write failed: unable to copy enough 2016-09-19 14:59:58.007363 E | tcmu: write/write failed: unable to copy enough

vtolstov commented 7 years ago

fixed via the replication level of ring to 1