From: Karl Wagner <karl@mouse-hole.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Resize physical volume
Date: Mon, 20 Apr 2009 18:05:26 +0100 (BST) [thread overview]
Message-ID: <1240247126.26812@mouse-hole.com> (raw)
[-- 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
next reply other threads:[~2009-04-20 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 17:05 Karl Wagner [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-05-05 16:20 [linux-lvm] Resize physical volume karl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240247126.26812@mouse-hole.com \
--to=karl@mouse-hole.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.