* [linux-lvm] Resize physical volume
@ 2009-04-20 17:05 Karl Wagner
0 siblings, 0 replies; 2+ messages in thread
From: Karl Wagner @ 2009-04-20 17:05 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 801 bytes --]
Hi all
I have just been through a fairly major reorganisation of my data, and need to resize the physical volumes in my LVM setup.
Currently I have sd[a-d]6, which are physical volumes for the volume group data, and sd[a-d]7, which contain nothing. My plan was to get rid of p7 on each device and extend p6 to include that space. However when I tried on sda, I got an error after of Couldn't find device with uuid
These are the steps I took:
* Deactivate all vgs
* Fdisk /dev/sda
* Delete p7
* Delete p6
* Create p6 with start at start of old p6, end at end of old p7
* Write part table
At this point, sda7 has gone and sda6 is the correct size (checked with blockdev getsz). But running a pvscan, lvm tells me it cant find sda6.
What am I missing?
Regards
Karl
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Resize physical volume
@ 2009-05-05 16:20 karl
0 siblings, 0 replies; 2+ messages in thread
From: karl @ 2009-05-05 16:20 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
Hi
Does anyone have any advice on this matter?
Regards
Karl
Karl Wagner wrote ..
> Hi all
>
> I have just been through a fairly major reorganisation of my data, and need to
> resize the physical volumes in my LVM setup.
>
> Currently I have sd[a-d]6, which are physical volumes for the volume group data,
> and sd[a-d]7, which contain nothing. My plan was to get rid of p7 on each device
> and extend p6 to include that space. However when I tried on sda, I got an error
> after of Couldn't find device with uuid
>
> These are the steps I took:
>
> * Deactivate all vgs
> * Fdisk /dev/sda
> * Delete p7
> * Delete p6
> * Create p6 with start at start of old p6, end at end of old p7
> * Write part table
>
> At this point, sda7 has gone and sda6 is the correct size (checked with blockdev
> getsz). But running a pvscan, lvm tells me it cant find sda6.
>
> What am I missing?
>
>
>
> Regards
>
> Karl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-05 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05 16:20 [linux-lvm] Resize physical volume karl
-- strict thread matches above, loose matches on Subject: below --
2009-04-20 17:05 Karl Wagner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).