[prev in list] [next in list] [prev in thread] [next in thread]
List: centos
Subject: Re: [CentOS] how to resize a partition of a disk define as a physical volume
From: Istimsak Abdulbasir <saqman2060 () gmail ! com>
Date: 2017-02-22 18:03:28
Message-ID: CAEtVGkv=P1bkAUnvmFUS1SOzyJ4DrLjmAsLUP=5Y7RMhhbY4Tg () mail ! gmail ! com
[Download RAW message or body]
On Feb 22, 2017 7:45 AM, "Bernard Fay" <bernard.fay@gmail.com> wrote:
Hello,
I have a CentOS VM with only one disk on a Xenserver.
The disk has 2 partitions:
/dev/xvda1 -> /boot
/dev/xvda2 -> a physical volume for LVM
I added 5GB to this disk via Xencenter to extend /dev/xvda2. Usually I
just have to do "pvresize /dev/xvda" to have the additional space added to
the disk. But for some reason it does not work for this disk.
[root ~]# pvresize /dev/xvda
Failed to find physical volume "/dev/xvda".
0 physical volume(s) resized / 0 physical volume(s) not resized
K
Xvda does not seem to be read as an LVM volume. Xvda2 is handled by lvm so
this can be resized. However xvda is just the harddrive itself. From what I
have learned using lvm briefly, you can only resize lvm volumes or
partitions created using lvm.
[root ~]# pvresize /dev/xvda2
Physical volume "/dev/xvda2" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
Does someone have seen this problem before or could have an idea of the
problem?
Thanks,
Bernard
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic