Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: crazybob on February 23, 2011, 04:30:32 PM

Title: Upgrade hard drive size trouble (solved)
Post by: crazybob on February 23, 2011, 04:30:32 PM
I am trying to upgrade hard drive size on my SME 7.5.1. Raid 1 from 500GB to 1.5T drives
Following the wiki instructions when I try step 3 "lvresize -l +100%FREE main/root" I receive an error message  Volume group "main" not found
 After a little digging I found to try "lvresize -l +100%FREE /dev/vg_primary/lv_root", and that tells me New size (14889 extents) matches existing size (14889 extents)
  Run `lvresize --help' for more information.

I tried running the help, but not real sure where to go from here.

I think I may be ok. running fdisk -l it showed that one of the 1.5tb drives was looking like a 500GB drive. wiping the drive and now re-syncing it. fdisk -l now shows both drives as 1.5TB. will try growing the partition when sync is completed .

In process of growing now. had to changes references of main/root to /dev/vg_primary/lv_root in steps 3 and 4 in the wiki

 :-)
Title: Re: Upgrade hard drive size trouble
Post by: byte on February 24, 2011, 12:34:47 PM
In process of growing now. had to changes references of main/root to /dev/vg_primary/lv_root in steps 3 and 4 in the wiki

You must have installed originally a very early version of SME Server, I'd say pre1 :O :)
Title: Re: Upgrade hard drive size trouble
Post by: crazybob on February 24, 2011, 01:38:25 PM
Not quite that far back, but I am sure it is at least 6.?. I have been using SME since 5.4.  :-)
Title: Re: Upgrade hard drive size trouble
Post by: byte on February 24, 2011, 04:37:56 PM
Not quite that far back, but I am sure it is at least 6.?. I have been using SME since 5.4.  :-)

Sorry, I meant SME Server 7.0pre1 :) as we only started using lvm in 7.x and "vg_primary" was the early group name before we changed it to "main"...I think I've got my history right here  :lol: