* [linux-lvm] Problems(?) with pvresize
@ 2007-07-02 7:12 Lars Michael Jogbäck
2007-07-02 7:28 ` Richard van den Berg
0 siblings, 1 reply; 3+ messages in thread
From: Lars Michael Jogbäck @ 2007-07-02 7:12 UTC (permalink / raw)
To: linux-lvm
Hi,
I've got a similar problem to the one reported earlier in June by Peter
Daum.
I've got a hardware-raid5 that I've extended (/dev/sdk), and after
extending it, I get the kernel to recognize the new size.
But pvresize is still using the old size. I'm pretty convinced that a
reboot will solve this issue for me, but isn't there a way
of solving this without rebooting?
$ cat /sys/block/sdk/size
4882708480
# blockdev --getsz /dev/sdk
3906166784
# pvresize -v -d /dev/sdk
Using physical volume(s) on command line
Wiping cache of LVM-capable devices
Archiving volume group "vg01" metadata (seqno 123).
No change to size of physical volume /dev/sdk.
Resizing volume "/dev/sdk" to 3906166400 sectors.
Updating physical volume "/dev/sdk"
Creating volume group backup "/etc/lvm/backup/vg01" (seqno 124).
Physical volume "/dev/sdk" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
# lvm version
LVM version: 2.02.07 (2006-07-17)
Library version: 1.02.08 (2006-07-17)
Driver version: 4.7.0
Best Regards,
/LM
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] Problems(?) with pvresize
2007-07-02 7:12 [linux-lvm] Problems(?) with pvresize Lars Michael Jogbäck
@ 2007-07-02 7:28 ` Richard van den Berg
2007-07-02 7:34 ` Lars Michael Jogbäck
0 siblings, 1 reply; 3+ messages in thread
From: Richard van den Berg @ 2007-07-02 7:28 UTC (permalink / raw)
To: LVM general discussion and development
Lars Michael Jogb�ck wrote:
> I've got a hardware-raid5 that I've extended (/dev/sdk), and after
> extending it, I get the kernel to recognize the new size.
> But pvresize is still using the old size. I'm pretty convinced that a
> reboot will solve this issue for me, but isn't there a way of solving
> this without rebooting?
I used "partprobe" that comes with parted, and it worked well for me.
Sincerely,
Richard van den Berg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Problems(?) with pvresize
2007-07-02 7:28 ` Richard van den Berg
@ 2007-07-02 7:34 ` Lars Michael Jogbäck
0 siblings, 0 replies; 3+ messages in thread
From: Lars Michael Jogbäck @ 2007-07-02 7:34 UTC (permalink / raw)
To: LVM general discussion and development
Richard van den Berg wrote:
> Lars Michael Jogb�ck wrote:
>
>> I've got a hardware-raid5 that I've extended (/dev/sdk), and after
>> extending it, I get the kernel to recognize the new size.
>> But pvresize is still using the old size. I'm pretty convinced that a
>> reboot will solve this issue for me, but isn't there a way of solving
>> this without rebooting?
>>
>
> I used "partprobe" that comes with parted, and it worked well for me
>
Thanks, but I've tried that and it didn't work either. pvresize still
thinks it's the old size.
Best Regards,
/LM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-02 7:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-02 7:12 [linux-lvm] Problems(?) with pvresize Lars Michael Jogbäck
2007-07-02 7:28 ` Richard van den Berg
2007-07-02 7:34 ` Lars Michael Jogbäck
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).