linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] pvresize, resize 8e Linux LVM partition
@ 2006-08-03  8:18 Stanislaw Senotrusov
  0 siblings, 0 replies; 5+ messages in thread
From: Stanislaw Senotrusov @ 2006-08-03  8:18 UTC (permalink / raw)
  To: linux-lvm

pvresize, resize 8e Linux LVM partition

Hello.

Trying to figure out how to resize LVM partition.

I cloned hard drive using Acronis True Image and now have some space
after LVM partition.

As I see, before run pvresize I need to resize partition itself. Which
tool can help me to do it? man pvresize refers to fdisk, but I can't
understand how to use it for resize.

Simply running pvresize does nothing.

Actually I am trying to build some pipeline to quick make a test and
production box from development one. I can make it manually by
creating new pv and dump/restore, but its a 3 page of commands. And I
still cant figure out that is the right tool for ext3 dump/restore.

Another way is create new pv in free space and add it to volume group
- but after that this box will be a little different from the original
one, thus I need additional tracking of its configuration.

Thank you.

--
Stas Senotrusov

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [linux-lvm] pvresize, resize 8e Linux LVM partition
@ 2006-08-03 11:27 Stanislaw Senotrusov
  0 siblings, 0 replies; 5+ messages in thread
From: Stanislaw Senotrusov @ 2006-08-03 11:27 UTC (permalink / raw)
  To: linux-lvm

I figured out.

The problem is that I'm missing some fundamentals. There is no need
for a "resize" command in fdisk, sinse it is a partition table,
nothing more. All I need is to delete a partition, then to create new
with the same type and start cylinder but ending at last cylinder.
Then write this table on disk and do pvresize.

Thank you for patience :)

--
Stas Senotrusov

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [linux-lvm] pvresize, resize 8e Linux LVM partition
@ 2006-08-03  5:27 Stanislaw Senotrusov
  2006-08-03 17:54 ` Lamont R. Peterson
  0 siblings, 1 reply; 5+ messages in thread
From: Stanislaw Senotrusov @ 2006-08-03  5:27 UTC (permalink / raw)
  To: linux-lvm

Hello.

Trying to figure out how to resize LVM partition.

I cloned hard drive using Acronis True Image and now have some space
after LVM partition.

As I see, before run pvresize I need to resize partition itself. Which
tool can help me to do it? man pvresize refers to fdisk, but I can't
understand how to use it for resize.

Simply running pvresize does nothing.

Actually I am trying to build some pipeline to quick make a test and
production box from development one. I can make it manually by
creating new pv and dump/restore, but its a 3 page of commands. And I
still cant figure out that is the right tool for ext3 dump/restore.

Another way is create new pv in free space and add it to volume group
- but after that this box will be a little different from the original
one, thus I need additional tracking of its configuration.

Thank you.

-- 
Stanislaw Senotrusov

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

end of thread, other threads:[~2006-08-04  5:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03  8:18 [linux-lvm] pvresize, resize 8e Linux LVM partition Stanislaw Senotrusov
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03 11:27 Stanislaw Senotrusov
2006-08-03  5:27 Stanislaw Senotrusov
2006-08-03 17:54 ` Lamont R. Peterson
2006-08-04  5:16   ` Stanislaw Senotrusov

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