# Revision history [back]

### How to resize a volume with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

Can I give the command truncate --size 20G ~/cinder-volumes despite of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?

### How to resize a volume with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


But no news...

Can I give the command truncate --size 20G ~/cinder-volumes despite of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?

### How to resize a volume cinder-volumes with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


But no news...

Can I give the command truncate --size 20G ~/cinder-volumes despite of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?

### How to resize cinder-volumes with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


But no news...

Can I give the command truncate --size 20G ~/cinder-volumes despite of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?

### How to resize cinder-volumes with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


But no news...

Can I give the command truncate --size 20G ~/cinder-volumes despite of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?

### How to resize cinder-volumes with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


But no news...

Can I give The size of cinder-volumes is correctly updated, but the command truncate --size 20G ~/cinder-volumes despite size of the command truncate --size 5G ~/cinder-volumes that I taped before, or have you got an other solution?my partition lvm has not change.

### How to resize cinder-volumes with truncate?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


The size of cinder-volumes is correctly updated, but the size of my partition lvm has not change.

Maybe any ideas?

### How to resize cinder-volumes with truncate?a volume group on cinder?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


The size of cinder-volumes is correctly updated, but the size of my partition lvm has not change.

Maybe any ideas?

 9 retagged smaffulli 6981 ●38 ●68 ●102 http://maffulli.net/

### How to resize a volume group on cinder?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


The size of cinder-volumes is correctly updated, but the size of my partition lvm has not change.

Maybe any ideas?

 10 included details from the answer smaffulli 6981 ●38 ●68 ●102 http://maffulli.net/

### How to resize a volume group on cinder?

Hello, I commit a little mistake when I installer cinder. I'm not a specialist with volumes.

I create a volume which is called cinder-volumes

truncate --size 5G ~/cinder-volumes


But I would like a volume of 20Go.

I tried:

truncate -s +15G cinder-volumes


The size of cinder-volumes is correctly updated, but the size of my partition lvm has not change.

Maybe any ideas?My loop device is /dev/loop0

then,

But when I look the size of my volume group, I've no change:

To create my volume group, I follow this procedure:

So I don't no if I have to resize my loop device.. it's strange.. have you an idea?