Re:Torus: A distributed storage system by CoreOS
by stevelandiss on Wednesday June 01, 2016 @09:32PM
(#11819734)
If I could also add that NBD is extremely notorious in Linux. I am a block storage developer and NBD has been one of the main reasons why so many openstack storage products (like formation data and others) have really struggled. There are many known Linux kernel issues with NBD, for example, if an NBD provider (user space daemon) exits for any reason, the kernel panics. Here is an example of a long outstanding bug that has plagued the NBD community and openstack community for years (https://www.mail-archive.com/[email protected]...). It won't get addressed any time soon. I also looked at the repo and it looks like a very simplistic approach to a hard problem. BTW I have used etcd and if this is anything like etcd, I'd really be worried. etcd snapshots bring an entire cluster down for a while.
[ Parent
| on HN ]
Re:Torus: A distributed storage system by CoreOS
by stevelandis on Wednesday June 01, 2016 @09:38PM
(#11819759)
Here is an example script that will panic anyone using NBD to server a block device (replace qemu-nbd with the nbd export provided by torus)
qemu-img create -f qcow2 f.img 1G mkfs.ext4 f.img modprobe nbd || true qemu-nbd -c /dev/nbd0 f.img mount /dev/nbd0 k killall -KILL qemu-nbd sleep 1 ls k