我已经安装了openstack cinder模块。 一切都很好。 但我想挂载一个卷,以查看其内容。
我在cinder存储计算机上input了lvscan命令。 我可以看到我的音量清单。
ACTIVE '/dev/cinder-volumes/volume-XXXXX-XXXX-XXXX-XXX-XXXX' [1.00 GiB] inherit
但是当我input
mount /dev/cinder-volumes/volume-XXXXX-XXXX-XXXX-XXX-XXXX /mnt
我得到这个错误消息
mount: wrong fs type, bad option, bad superblock on /dev/mapper/cinder--volumes-volume--XXXXXXXXXXXXXXXX, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.
是否因为卷已经被OpenStack实例挂载了? 我应该如何在本卷中安装或读取/写入数据?
这里是lvdisplay命令的结果:
--- Logical volume --- LV Path /dev/cinder-volumes/volume-d6dc111d-5496-4e5b-a554-e781691b0611 LV Name volume-d6dc111d-5496-4e5b-a554-e781691b0611 VG Name cinder-volumes LV UUID nTlThd-770h-Y0kq-iIRD-DiCg-2ugv-lPwyUo LV Write Access read/write LV Creation host, time block1, 2016-11-03 09:56:56 +0100 LV Status available # open 1 LV Size 1.00 GiB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0