linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Resizing LVM Revisited
@ 2005-10-27  8:35 Mark Sargent
  2005-10-27 12:21 ` Josef Whiter
  2005-10-27 16:13 ` Michael Loftis
  0 siblings, 2 replies; 5+ messages in thread
From: Mark Sargent @ 2005-10-27  8:35 UTC (permalink / raw)
  To: linux-lvm

Hi All,

to resize a LV in CentOS4.0, I had to use the 1st install CD and Linux 
Rescue. I then had to umount /mnt/sysimage/dev, /mnt/sysimage/proc, 
/mnt/sysimage/boot, /mnt/sysimage/sys before I could umount 
/mnt/sysimage. After doing this, I lose the commands, vgscan, lvscan and 
resize2fs. Why is this, and how can I get around it.? Cheers.

Mark Sargent.

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

* Re: [linux-lvm] Resizing LVM Revisited
  2005-10-27  8:35 [linux-lvm] Resizing LVM Revisited Mark Sargent
@ 2005-10-27 12:21 ` Josef Whiter
  2005-10-31  3:03   ` Mark Sargent
  2005-10-27 16:13 ` Michael Loftis
  1 sibling, 1 reply; 5+ messages in thread
From: Josef Whiter @ 2005-10-27 12:21 UTC (permalink / raw)
  To: LVM general discussion and development

Mark Sargent wrote:

> Hi All,
>
> to resize a LV in CentOS4.0, I had to use the 1st install CD and Linux 
> Rescue. I then had to umount /mnt/sysimage/dev, /mnt/sysimage/proc, 
> /mnt/sysimage/boot, /mnt/sysimage/sys before I could umount 
> /mnt/sysimage. After doing this, I lose the commands, vgscan, lvscan 
> and resize2fs. Why is this, and how can I get around it.? Cheers.
>
> Mark Sargent.
>
> _______________________________________________
> 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/

Hello,

It sounds like rescue mode doesn't come with its own copy of the lvm and 
ext2 commands, which I find odd.  Did you chroot /mnt/sysimage?  If so 
don't do that, in fact there should be an option when you are booting 
into rescue mode where you can tell it to skip finding/mounting your 
OS.  Try that and see if you have your commands.  If not, I know that 
the Fedora rescue disk has these commands, and rescue mode is rescue 
mode so it still should work, just burn the first FC4 cd and use that 
rescue mode.  Thank you,

Josef

-- 
Josef Whiter, RHCE
Global Support Services
Red Hat, Inc.
919-754-3700 x44429

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

* Re: [linux-lvm] Resizing LVM Revisited
  2005-10-27  8:35 [linux-lvm] Resizing LVM Revisited Mark Sargent
  2005-10-27 12:21 ` Josef Whiter
@ 2005-10-27 16:13 ` Michael Loftis
  2005-10-28  3:15   ` Mark Sargent
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Loftis @ 2005-10-27 16:13 UTC (permalink / raw)
  To: LVM general discussion and development

For 2.4 kernels (2.4.20 and later) we've always used ReiserFS and had 
extremely good results with online/hot expansion on top of LVMs.  We use 
ext3 for our static os/boot areas but all of our data areas, and since 
we're using debian, that's just /var, and maybe /home, reside on LVM + 
ReiserFS.

--On October 27, 2005 5:35:19 PM +0900 Mark Sargent 
<powderkeg@snow.email.ne.jp> wrote:

> Hi All,
>
> to resize a LV in CentOS4.0, I had to use the 1st install CD and Linux
> Rescue. I then had to umount /mnt/sysimage/dev, /mnt/sysimage/proc,
> /mnt/sysimage/boot, /mnt/sysimage/sys before I could umount
> /mnt/sysimage. After doing this, I lose the commands, vgscan, lvscan and
> resize2fs. Why is this, and how can I get around it.? Cheers.
>
> Mark Sargent.
>
> _______________________________________________
> 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/
>



--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler

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

* Re: [linux-lvm] Resizing LVM Revisited
  2005-10-27 16:13 ` Michael Loftis
@ 2005-10-28  3:15   ` Mark Sargent
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Sargent @ 2005-10-28  3:15 UTC (permalink / raw)
  To: LVM general discussion and development

Michael Loftis wrote:

> For 2.4 kernels (2.4.20 and later) we've always used ReiserFS and had 
> extremely good results with online/hot expansion on top of LVMs.  We 
> use ext3 for our static os/boot areas but all of our data areas, and 
> since we're using debian, that's just /var, and maybe /home, reside on 
> LVM + ReiserFS.
>
Hi All,

whilst not a direct solution to my current situation I'll keep your 
ideas in mind for future deployment. Cheers.

Mark Sargent.

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

* Re: [linux-lvm] Resizing LVM Revisited
  2005-10-27 12:21 ` Josef Whiter
@ 2005-10-31  3:03   ` Mark Sargent
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Sargent @ 2005-10-31  3:03 UTC (permalink / raw)
  To: linux-lvm


>  If not, I know that the Fedora rescue disk has these commands, and 
> rescue mode is rescue mode so it still should work, just burn the 
> first FC4 cd and use that rescue mode.  Thank you,
>
> Josef
>
Hi All,

Josef, what version of Fedora's Rescue CD were you using.? I tried this 
with Fedora3's Rescue CD, but, those commands were non-existent when 
choosing skip and going straight to the shell. Cheers.

Mark Sargent.

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

end of thread, other threads:[~2005-10-31  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-27  8:35 [linux-lvm] Resizing LVM Revisited Mark Sargent
2005-10-27 12:21 ` Josef Whiter
2005-10-31  3:03   ` Mark Sargent
2005-10-27 16:13 ` Michael Loftis
2005-10-28  3:15   ` Mark Sargent

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