Koozali.org: home of the SME Server

A little RAID Help?

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
A little RAID Help?
« 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 :)





"If you don't know what you want, you end up with a lot you don't."

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: A little RAID Help?
« Reply #1 on: May 16, 2011, 03:15:00 PM »
please post the result of
Code: [Select]
lvdisplay

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: A little RAID Help?
« Reply #2 on: May 16, 2011, 05:44:54 PM »
Any help appreciated :)
A little search on your error message Volume group "main" not found comes up with this thread:

http://forums.contribs.org/index.php?topic=47222.0

This might also apply to your setup.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: A little RAID Help?
« Reply #3 on: May 16, 2011, 08:50:46 PM »
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!!!

"If you don't know what you want, you end up with a lot you don't."