[openstack-dev] [nova][cinder] Questions about truncked disk serial number

2018-01-15 Thread Zhenyu Zheng
Hi, I meet a problem like this recently: When attaching a volume to an instance, in the xml, the disk is described as: [image: Inline image 1] where the serial number here is the volume uuid in Cinder. While inside the vm: in /dev/disk/by-id, there is a link for /vdb with the name of

Re: [openstack-dev] [nova][cinder] Questions about truncked disk serial number

2018-01-15 Thread Zhenyu Zheng
Ops, forgot references: [1] https://github.com/torvalds/linux/blob/1cc15701cd89b0ce695bbc5cff3a2bf3e2efd25f/include/uapi/linux/virtio_blk.h#L54 [2] https://github.com/torvalds/linux/blob/1cc15701cd89b0ce695bbc5cff3a2bf3e2efd25f/drivers/block/virtio_blk.c#L363 On Tue, Jan 16, 2018 at 2:35 PM,