Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to set up Cinder volumes correctly?

Hi, I am working on a server with a single physical HDD. I have installed Ubuntu 14.04 and using command: sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL I get this output:

NAME FSTYPE SIZE MOUNTPOINT LABEL sda 837.9G ├─sda1 ext4 832.9G / ├─sda2 1K ├─sda4 1023K └─sda5 swap 5G [SWAP] sr0 1024M

I have set up the Cinder service but when I try inputting this command: pvcreate /dev/sda1 I get as output: Can't open /dev/sda1 exclusively. Mounted filesystem?

What have I missed and how to set the volume(s) correctly?

click to hide/show revision 2
No.2 Revision

How to set up Cinder volumes correctly?

Hi, I am working on a server with a single physical HDD. I have installed Ubuntu 14.04 and using command: sudo command:

*sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABELNAME,FSTYPE,SIZE,MOUNTPOINT,LABEL*

I get this output:

NAME   FSTYPE   SIZE MOUNTPOINT LABEL
sda           837.9G
├─sda1 ext4   832.9G /
├─sda2            1K
├─sda4         1023K
└─sda5 swap       5G [SWAP]
sr0            1024M

1024M

I have set up the Cinder service but when I try inputting this command: command:

pvcreate /dev/sda1

I get as output: Can't open /dev/sda1 /dev/sda1 exclusively. Mounted filesystem?

What have I missed and how to set the volume(s) correctly?

click to hide/show revision 3
No.3 Revision

How to set up Cinder volumes correctly?

Hi, I am working on a server with a single physical HDD. I have installed Ubuntu 14.04 and using command:

*sudo sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL*
NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

I get this output:

NAME   FSTYPE   SIZE MOUNTPOINT LABEL
sda           837.9G
├─sda1 ext4   832.9G /
├─sda2            1K
├─sda4         1023K
└─sda5 swap       5G [SWAP]
sr0            1024M

I have set up the Cinder service but when I try inputting this command:

pvcreate /dev/sda1

I get as output: Can't open /dev/sda1 exclusively. Mounted filesystem?

What have I missed and how to set the volume(s) correctly?

click to hide/show revision 4
No.4 Revision

How to set up Cinder volumes correctly?

Hi, I am working on a server with a single physical HDD. I have installed Ubuntu 14.04 and using command:

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

I get this output:

NAME   FSTYPE   SIZE MOUNTPOINT LABEL
sda           837.9G
├─sda1 ext4   832.9G /
├─sda2            1K
├─sda4         1023K
└─sda5 swap       5G [SWAP]
sr0            1024M

I have set up the Cinder service but when I try inputting this command:

pvcreate /dev/sda1

I get as output: Can't open /dev/sda1/dev/sda1 exclusively exclusively. . Mounted filesystem?

What have I missed and how to set the volume(s) correctly?