Update Servers/Virtualization/OpenStack/Ansible Openstack.md

This commit is contained in:
2024-12-09 04:37:30 -07:00
parent 32105a3792
commit 429212438c

View File

@ -128,7 +128,7 @@ pvcreate --metadatasize 2048 /dev/sdb
vgcreate cinder-volumes /dev/sdb vgcreate cinder-volumes /dev/sdb
``` ```
!!! note "`Cannot use /dev/sdb: device is partitioned`" !!! error "`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 ```sh
[root@openstack-node-02 nicole]# lsblk [root@openstack-node-02 nicole]# lsblk