Hi,can anyone here assist with "VolGroup00 not found" error?

Issues related to hardware problems
Post Reply
Roger122
Posts: 5
Joined: 2014/12/13 21:46:07

Hi,can anyone here assist with "VolGroup00 not found" error?

Post by Roger122 » 2014/12/14 01:52:52

Hi, I recently migrated 2 hard drives from an old crashed (Dell Poweredge) Centos 5.6 installation into a new HP Proliant server. The old server was using LVM, and I am now getting a "VolGroup00 not found" error (shown in the attachment) on boot and can't seem to resolve. I have reached out to experts but getting mixed responses. I have so far attempted to edit the mount points in Grub with no success. I have also rebuilt the initrd file using the latest 5.6 build. When I change the mount points, the error message stays the same so I don't think that is the issue. I believe there is another reference point I am missing here. Can anyone here assist, or guide me to resolve the issue?

Thank you!

-RS
Attachments
VolGroup not found.JPG
VolGroup not found.JPG (148.67 KiB) Viewed 8727 times

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by TrevorH » 2014/12/14 02:15:17

It's unclear to me if you are trying to boot the old disks in the new server or if you have added the old disks alongside a new install of CentOS on new disks in the new server. If you've done the latter and have taken the default names of the volume groups then you've probably ended up with duplicates VolGroup00 volume groups and that will cause this sort of problem. Please clarify what you've done so far. Also the contents of /boot/grub/grub.conf, /etc/fstab and the output from the commands pvs, vgs and lvs run from a rescue boot will be useful. If you post those files from a rescue boot then they will be /mnt/sysimage/etc/fstab and /mnt/sysimage/boot/grub/grub.conf.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Roger122
Posts: 5
Joined: 2014/12/13 21:46:07

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by Roger122 » 2014/12/14 19:20:29

Hi, Trevor, yes I am trying to boot the old disks in the new server. Here is some of the information you8 requested...however I ran from a live-cd, some of the commands were not found in rescue mode.

/boot/grub/grub.conf...

default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-398.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-398.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-398.el5.img
title CentOS (2.6.18-274.12.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-274.12.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-274.12.1.el5.img
title CentOS (2.6.18-238.19.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-238.19.1.el5.img
title CentOS (2.6.18-238.9.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-238.9.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-238.9.1.el5.img
title CentOS (2.6.18-194.26.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.26.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-194.26.1.el5.img

/etc/fstab...

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
/dev/WD500BU/LogVol03 /sysbu ext3 defaults 1 2
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0

[root@localhost liveuser]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 VolGroup00 lvm2 a-- 232.69g 0
/dev/sdc1 VolGroup00 lvm2 a-- 232.81g 0
[root@localhost liveuser]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 2 2 0 wz--n- 465.50g 0
[root@localhost liveuser]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
LogVol00 VolGroup00 -wi-a----- 455.75g
LogVol01 VolGroup00 -wi-ao---- 9.75g
[root@localhost liveuser]#

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by aks » 2014/12/14 19:32:20

This is a little weird. There's apparently two volumes (LogVol01 and LogVol00) on VolGroup00. VG0 makes up around 465.5GB and the combination of LogVol0 and 1 is 911.50GB. That probably means you're "missing" some of the volume group (or VG). Is this a hardware RAID host? If it is, you should be aware that the order of disks in a hardware RAID set is very important.
So VG0 is found on sda3 and sdc1 (parttition 3 of disk 1 and partition 1 of disk 3), is that what you expect?
BTW, CentOS rescue mode has often left out the /sbin in the default path of the root user - to correct you can just type:
export PATH=/sbin:${PATH}:
I only mention it as you said some command where not found.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by TrevorH » 2014/12/14 21:36:13

Roger122: there is something odd in your output since you're showing two LVM PVs of around 232GB each but one is on /dev/sda and the other on /dev/sdc. I wonder if you used to have an mdadm software RAID array using both disks. I missed one thing that would have been of use: the output from fdisk -l - could you post that too please?

aks: I think your addition skills may need a little work ;-) 455.75g + 9.75g = 465.5G which is the size of the volume group.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Roger122
Posts: 5
Joined: 2014/12/13 21:46:07

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by Roger122 » 2014/12/15 01:10:58

Hi Trevor, yes here is the output...

[root@localhost liveuser]# fdisk -l

Disk /dev/sda: 250.0 GB, 250000000000 bytes, 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 de Dell Utility
/dev/sda2 * 80325 289169 104422+ 83 Linux
/dev/sda3 289170 488279609 243995220 8e Linux LVM

Disk /dev/sdb: 32.0 GB, 32015679488 bytes, 62530624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xe648bdd1

Device Boot Start End Blocks Id System
/dev/sdb1 * 32 62530623 31265296 c W95 FAT32 (LBA)

Disk /dev/sdc: 250.0 GB, 250000000000 bytes, 488281250 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000081

Device Boot Start End Blocks Id System
/dev/sdc1 * 63 488279609 244139773+ 8e Linux LVM

Disk /dev/mapper/live-rw: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/live-base: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/live-osimg-min: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/VolGroup00-LogVol00: 489.4 GB, 489357836288 bytes, 955777024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/VolGroup00-LogVol01: 10.5 GB, 10468982784 bytes, 20447232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Roger122
Posts: 5
Joined: 2014/12/13 21:46:07

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by Roger122 » 2014/12/15 17:15:33

Trevor, in regard to software raid. I do not believe any raid was installed, either software or hardware. However, one thing I noticed in fstab was that there was an additional drive installed which I see referenced here:

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
/dev/WD500BU/LogVol03 /sysbu ext3 defaults 1 2
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
This was an external 500mb backup drive.

This was an external 500mb backup drive. Could this be causing the issue?

Thanks,

RS

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by TrevorH » 2014/12/15 17:32:49

If it's in fstab then it has to exist or you'll get an error but not the error that you're seeing.

When you rebuilt the initrd, did you follow http://wiki.centos.org/TipsAndTricks/CreateNewInitrd
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Roger122
Posts: 5
Joined: 2014/12/13 21:46:07

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by Roger122 » 2014/12/15 18:46:38

Yes, I followed that page exactly and rebuilt for the specific kernel version, I attempted this multiple times using different kernels. However I did not run the below commands after because it still would not boot.

cd /
sync
telinit 6

Regarding the error itself, what is the exact line causing the problem? Could it be the line..."unable to access resume device (/dev/VolGroup00/LogVol01)", which is a swap file. Can it be removed and re-created?

Can the LVM be rebuilt or re-created entirely?

It seems strange to me that I can boot using a live-cd and easily see the lvm and the files/directories within them.

Thanks Trevor,

-Roger

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Hi,can anyone here assist with "VolGroup00 not found" er

Post by aks » 2014/12/15 19:02:28

I blame bc and my typing skills....

Post Reply