Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: crazybob on July 22, 2007, 06:59:58 PM

Title: Trouble upgrading to larger hard drives
Post by: crazybob on July 22, 2007, 06:59:58 PM
I am following the Upgrading the Hard Drive Size in SME Server:Documentation:Technical Manual:Chapter5.

Everything goes well until I get to the command in section 6, command 3 witch says

lvresize -l +$(vgdisplay -c main | cut -d: -f16) main/root [-l (lower case L)] Which I slightly modify to be
lvresize -l +$(vgdisplay -c main | cut -d: -f16) main/root [-l]

When I execute this command I receive the following error

  Volume group "main" not found
  Invalid argument +
  Error during parsing of command line.
I am not sure where to go from here

I have entered bug 3180 http://bugs.contribs.org/show_bug.cgi?id=3180

TIA
Title: Trouble upgrading to larger hard drives
Post by: Gaston94 on July 23, 2007, 08:06:34 AM
Hi,
most likely you are working on an earlier upgraded version of SME 7 (7.0 beta I guess), the VG were named in another way.
Check this with
Code: [Select]
vgdisplay
you might see "vg_primary instead of main. So the correct command should be -FOR YOUR SPECIFIC- configuration
Code: [Select]
lvresize -l +$(vgdisplay -c vg_primary | cut -d: -f16) vg_primary/lv_root

G.
[EDIT] Apologize, the answer was already given in the bug tracker
Title: Re: Trouble upgrading to larger hard drives
Post by: p-jones on October 12, 2007, 01:37:16 PM
Crazybob

How did you go with this in the end ? I am going CRAZY trying to get it to fall into place, even after reading the docs and the bug and....

Cheers
P
Title: Re: Trouble upgrading to larger hard drives
Post by: crazybob on October 12, 2007, 02:28:16 PM
I followed the bug tracker, and it went fine for me

Bob
Title: Re: Trouble upgrading to larger hard drives
Post by: byte on October 12, 2007, 03:38:44 PM
Crazybob

How did you go with this in the end ? I am going CRAZY trying to get it to fall into place, even after reading the docs and the bug and....

What part are you getting stuck on ? what is the message showing when you try this ? I've done this a good few times without any issue's.

Cheers
Title: Re: Trouble upgrading to larger hard drives
Post by: p-jones on October 13, 2007, 10:05:30 AM
I have sorted my self now thanks.

Got to the same place Bob got to then I found this post that moved me on but couldnt get through the last step.

I dont fully understand these commands so I was working as the proverbial parrot. The bug may well have spelt it out but it didnt have the full line syntax so I got myself a bit screwed. I think the original document I was working from was for 7.1 and the volume names changed in 7.2 but it would seem the document wasnt updated.

I seem to be surrounded by alligators at the moment !!