Issue link: https://read.uberflip.com/i/1334488
Nova Volumes 156 2. Under the fdisk menu, we do the following: Press n, and then hit Enter Press p, and then hit Enter Press 1, and then hit Enter Press Enter when asked for start sector (default 2048) Press Enter when asked for the last sector (default) Back at the main fdisk menu press t, then Enter Type in 8e, and then press Enter (to set partition type to Linux LVM) To confirm that you have created a new LVM partition on your new volume, at the main menu press p and then Enter Press w to write these changes to disk and to exit fdisk. 3. To force Linux to see these changes, we run the partprobe command, as follows: sudo partprobe 4. As we chose to create our LVM volume in partition 1 of /dev/sdb, this should display as /dev/sdb1. To create our nova-volumes LVM volume group on /dev/sdb1, we do the following: sudo pvcreate /dev/sdb1 sudo vgcreate nova-volumes /dev/sdb1 Installing and configuring nova-volume and prerequisite services 1. nova-volume relies on the Open iSCSI service, so we install both nova-volume and the required iscsi services on our openstack1 server, as follows: sudo apt-get -y install nova-volume tgt 2. Once complete, we need to start the required tgt service on our nova-volume host. We do this as follows: sudo start tgt 3. Now, restart the nova-volume service to pick up the change, via the following command: sudo service nova-volume restart www.it-ebooks.info

