Re: Resize physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 vg?s
> * 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
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux