Open vtolstov opened 7 years ago
Is this reproducible? I tested on my env(Version: b6f7aba
), but it worked without error. I would appreciate it if you could share the procedure. FYI: below is my test steps which couldn't reproduce.
torusd
[vagrant@torus2 torus]$ ./bin/torusd --peer-address http://192.168.121.67:40001 --data-dir /tmp/torus1 --size 20GiB --auto-join
...
torusblk tcmu
[vagrant@torus2 torus]$ sudo ./bin/torusblk tcmu test1 --debug
2016-09-24 09:36:01.977879 I | torus: creating metadata service: etcd
...
2016-09-24 09:36:01.981933 D | gc: creating blockvol gc
go-tcmu attached to /dev/torus/test1
[root@torus2 vagrant]# mkfs.ext4 /dev/torus/test1
mke2fs 1.42.13 (17-May-2015)
...
Writing superblocks and filesystem accounting information: done
[root@torus2 vagrant]# mkdir /test
[root@torus2 vagrant]# mount /dev/torus/test1 /test
[root@torus2 vagrant]# touch /test/foo
[root@torus2 vagrant]# umount /test
torusd
^C
Received an interrupt, stopping services...
[vagrant@torus2 torus]$ ./bin/torusd --peer-address http://192.168.121.67:40001 --data-dir /tmp/torus1 --size 20GiB --auto-join
2016-09-24 09:37:00.300816 I | torus: creating metadata service: etcd
...
torusblk
(and restart)^C
Received an interrupt, disconnecting...
2016-09-24 09:54:36.756212 D | tcmu: syncing
[vagrant@torus2 torus]$ sudo ./bin/torusblk tcmu test1 --debug
...
go-tcmu attached to /dev/torus/test1
I ran torusd in local node and try to use tcmu for one volume After torusd restarted i'm try to exit from torusblk tcmu, but have error: