[Openstack-operators] about creating LVM volume group called nova-volumes

Stephen Liu satimis at yahoo.com
Wed Nov 14 16:29:05 UTC 2012


Hi,


Thanks for your advice.

This is a dualboot system, Ubuntu/Fedora.  I installed Ubuntu first and then Fedora, both on LVM, IIRC.

# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f734

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      194559       96256   83  Linux
/dev/sda2          196606   156444671    78124033    5  Extended
/dev/sda3       156444672   157468671      512000   83  Linux
/dev/sda4       157468672   312580095    77555712   8e  Linux LVM
/dev/sda5          196608   117381119    58592256   83  Linux
/dev/sda6       117383168   136912895     9764864   83  Linux
/dev/sda7       136914944   156444671     9764864   82  Linux swap / Solaris

# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 149.1G  0 disk 
├─sda1   8:1    0    94M  0 part /boot
├─sda2   8:2    0     1K  0 part 
├─sda3   8:3    0   500M  0 part 
├─sda4   8:4    0    74G  0 part 
├─sda5   8:5    0  55.9G  0 part /
├─sda6   8:6    0   9.3G  0 part /home
└─sda7   8:7    0   9.3G  0 part [SWAP]

Is there connection between them and the LVM volume group nova-volumes ?

B.R.
Stephen L




----- Original Message -----
> From: Christian Berendt <berendt at b1-systems.de>
> To: openstack-operators at lists.openstack.org
> Cc: 
> Sent: Thursday, November 15, 2012 12:01 AM
> Subject: Re: [Openstack-operators] about creating LVM volume group called nova-volumes
> 
> On 11/14/2012 04:27 PM, Stephen Liu wrote:
>>  How to create LVM volume group called nova-volumes
>> 
>>  Whether just to run;
>> 
>>  $ sudo addgroup nova-volumes
> 
> First you have to create a physical volume, for example pvcreate /dev/xvdb1. Now 
> you can assign this physical volume to a new volume group by using vgcreate 
> nova-volumes /dev/xvdb1.
> 
> If you haven't installed lvcreate, vgcreate, .. do it with apt-get install 
> lvm2.
> 
> You can find more details here: 
> http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)
> 
> Christian.
> 
> -- Christian Berendt
> Solution Architect
> Tel: +49 171 5542175
> Mail: berendt at b1-systems.de
> 
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
> 
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> 



More information about the OpenStack-operators mailing list