Update Servers/Virtualization/OpenStack/Ansible Openstack.md
This commit is contained in:
@ -132,7 +132,7 @@ vgcreate cinder-volumes /dev/sdb
|
|||||||
|
|
||||||
!!! failure "`Cannot use /dev/sdb: device is partitioned`"
|
!!! failure "`Cannot use /dev/sdb: device is partitioned`"
|
||||||
You may (in rare cases) see the following error when trying to run `pvcreate --metadatasize 2048 /dev/sdb`, if that happens, just use `lsblk` to get the drive of the expected disk. In my example, we want the 500GB disk located at `/dev/sda`, seen in the example below:
|
You may (in rare cases) see the following error when trying to run `pvcreate --metadatasize 2048 /dev/sdb`, if that happens, just use `lsblk` to get the drive of the expected disk. In my example, we want the 500GB disk located at `/dev/sda`, seen in the example below:
|
||||||
```sh
|
```
|
||||||
[root@openstack-node-02 nicole]# lsblk
|
[root@openstack-node-02 nicole]# lsblk
|
||||||
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
|
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
|
||||||
sda 8:0 0 500G 0 disk
|
sda 8:0 0 500G 0 disk
|
||||||
|
Reference in New Issue
Block a user