Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: gbentley on May 16, 2011, 03:03:36 PM
-
Just installed new larger [300GB] SCSI drives to repalce some old 73GB ones. Did them one at a time and everything seemed to go ok [new discs detected, raid resize event completed fine]
Now I have come to grow the discs using these lines from howto ;
mdadm --grow /dev/md2 --size=max
pvresize /dev/md2
lvresize -l +100%FREE main/root
ext2online -C0 /dev/main/root
Line 1,2 as expected but line 3 reports ;
Volume group "main" not found
[root@server log]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda2[0] sdb2[1]
292856832 blocks [2/2] [UU]
md1 : active raid1 sda1[0] sdb1[1]
104320 blocks [2/2] [UU]
unused devices: <none>
[root@server log]#
Any help appreciated :)
-
please post the result of
lvdisplay
-
Any help appreciated :)
A little search on your error message Volume group "main" not found (http://wiki.contribs.org/SME_Server:GoogleSearch?cx=partner-pub-0543029238712846%3A98h7damiys3&cof=FORID%3A9&ie=UTF-8&q=Volume+group+%22main%22+not+found&sa=Search&siteurl=forums.contribs.org%2Findex.php%3Faction%3Dunread#946) comes up with this thread:
http://forums.contribs.org/index.php?topic=47222.0
This might also apply to your setup.
-
It was indeed /dev/vg_primary/lv_root - so, all sorted. Thanks a mill guys.
If only all things in life where as reliable as SME and the support from this forum!!!