linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] pv resize problem
@ 2006-01-18 21:46 Tiago Freitas
  2006-01-19 15:27 ` Alasdair G Kergon
  0 siblings, 1 reply; 4+ messages in thread
From: Tiago Freitas @ 2006-01-18 21:46 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

Hi.
I've seen a thread about the workaround for pvresize
(link<https://www.redhat.com/archives/linux-lvm/2005-February/msg00022.html>),
and managed to do it without problems. I reduced the PV and VG size from
18Gb to 11Gb, and everything works, but the "LVM partition" is still 18Gb
(when I see it with a partition manager it says it is a 18Gb 8e or unknown
partition).

quote:

> after that i can reduce hda6 with parted or similar utility.

and the new size is 384 sectors plus 224 extents of 65536 sectors each.


However, I can't resize it with parted, because it only supports resizing
partitions inside LV's.

CoolkcaH

[-- Attachment #2: Type: text/html, Size: 834 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [linux-lvm] pv resize problem
@ 2006-01-20  0:00 Tiago Freitas
  2006-01-20 17:58 ` Klaus Strebel
  0 siblings, 1 reply; 4+ messages in thread
From: Tiago Freitas @ 2006-01-20  0:00 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

I used pvresize now but it's the same. It resized the pv but I can't resize
the /dev/hda3  lvm partition.

I tried parted and fdisk and I get errors like:

"Error: Unable to open /dev/hda3 - unrecognised disk label."

"Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel".

[-- Attachment #2: Type: text/html, Size: 376 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-20 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-18 21:46 [linux-lvm] pv resize problem Tiago Freitas
2006-01-19 15:27 ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2006-01-20  0:00 Tiago Freitas
2006-01-20 17:58 ` Klaus Strebel

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).