- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mirror root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:36 AM
08-29-2005 07:36 AM
mirror root
Here is what I get:
#vgextend /dev/vg00 /dev/dsk/c2t6d0
vgextend: Couldn't query volume group "/dev/vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:41 AM
08-29-2005 07:41 AM
Re: mirror root
Of course first check to see that you infact do not have duplicate minor numbers:
ls -la /dev/vg*/group
Check the 0x number. The first two digits after the 0x are the minor numbers. They should be unique.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:42 AM
08-29-2005 07:42 AM
Re: mirror root
vgdisplay -v /dev/vg00
vgdisplay: Couldn't query volume group "/dev/vg00".
Possible error in the Volume Group minor number; Please check and make sure the group minor number is unique.
vgdisplay: Cannot display volume group "/dev/vg00".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:42 AM
08-29-2005 07:42 AM
Re: mirror root
was this disk in use befor or is it already a physical volume? Check your /etc/lvmtab and vgdisplay output file if the disk is included, if not, create it as a physical volume first
pvcreate (-f) -B /dev/rdsk/c2t6d0,
then vgextend.
You will get a lot of response with advisories how to mirror the disk, I'm sure
;-))
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:43 AM
08-29-2005 07:43 AM
Re: mirror root
ls -al /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Aug 20 13:13 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x030000 Nov 10 2004 /dev/vg01/group
crw-r--r-- 1 root sys 64 0x040000 Nov 10 2004 /dev/vg02/group
crw-rw-rw- 1 root sys 64 0x010000 Aug 20 16:57 /dev/vgfinap/group
crw-rw-rw- 1 root sys 64 0x020000 Aug 20 17:23 /dev/vgfindb/group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:45 AM
08-29-2005 07:45 AM
Re: mirror root
I tried to do a pvcreate -f on it, but no luck. Says its already in the lvmtab...and it is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:45 AM
08-29-2005 07:45 AM
Re: mirror root
something you can try :
mv /etc/lvmtab /etc/lvmtab.old
vgscan -a
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:49 AM
08-29-2005 07:49 AM
Re: mirror root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:50 AM
08-29-2005 07:50 AM
Re: mirror root
Do you have mirror/ux codewords for 11i, you eventually will need them, but existing mirrors should not be touched.
You seem to have an LVM problem and may need to vgexport all of the volume groups, recreate the group files and then vgimport them all.
Back them up first and then do that, re-creating all the minor numberes and everything should be fine.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:51 AM
08-29-2005 07:51 AM
Re: mirror root
vgscan and vgcfgrestore
I hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 07:51 AM
08-29-2005 07:51 AM
Re: mirror root
We could/should do some checks before.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 08:00 AM
08-29-2005 08:00 AM
Re: mirror root
If you had MC/ServiceGuard on this system at one time, look for '/dev/slvmvg'. If you find it, do:
# rm /dev/slvmvg
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -v
...and make sure that any pvlinks are ordered in the primary/secondary arrangemetns you want, since 'vgscan' is likely to change the how you want to declare them!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 08:17 AM
08-29-2005 08:17 AM
Re: mirror root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 08:32 AM
08-29-2005 08:32 AM
Re: mirror root
bdf |grep vg00
anything mounted or are we in kernel boot i.e. /dev/vgroot
single root disk and quorum missing ?
reboot and override quorum hpux -lq
check logs from upgrade.
do vgscan in preview mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 09:11 AM
08-29-2005 09:11 AM
Re: mirror root
IF this server has ServiceGaurd previously installed then slvmvg file remains in /dev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 10:52 AM
08-29-2005 10:52 AM
Re: mirror root
where is it? in vg00?
Try reducing it:
vgreduce /dev/vg00 /dev/dsk/c2t6d0
Then try the pvcreate.
I think the disk was in another system - and it was vg00 already - that's why the "minor number" error....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 04:29 PM
08-29-2005 04:29 PM
Re: mirror root
It is clear that even if you have group file for vg00, it is not pointing to either of the disks. It's quite weired and it is not LVM stuff at all. Are you sure the OS disk is a part of LVM or just a partioned disk?
Since you have the group files there , it doesn't mean the disk is a LVM disk. Or those disk might be used in other system before .
Can you do post the following
pvdisplay -v of the existing OS disk strings /etc/lvmtab
It seems that originally two disks were mirrored with old OE. You might have removed the alt path mirrored disk by reducing the lvs , but you didn't do vgreduce. Thats whay the disk is there in lvmtab. Try vgreduce vg00 /dev/dsk/c2t6d0
Let us know the exact step you had followed during upgrade to know the cause of the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 10:13 PM
08-29-2005 10:13 PM
Re: mirror root
The problem that you are facing is due to the VGID of VG00 on /etc/lvmtab and on the disk are different.
You can check this by executing the following steps :
[Test-Server]/ >xd -j8200 -N16 /dev/rdsk/cXtXdX
0000000 bfa5 2f7a 430c 4c4c bfa5 2f7a 430c 4c4c
[Test-Server]/ >strings -t d /etc/lvmtab | grep /dev | grep -v /dev/dsk | while read offsetpath; do xd -An -j$(($offset+1024)) -N8 -tx /etc/lvmtab | read vgid1 vgid2;echo $path $vgid1/$vgid2; done
/dev/vg00 bfa52f7a/430c4c4c
compare the disk id and strings output from these commands... if they are different, then you will get the same error.
To Rectify:
# mv /etc/lvmtab /etc/lvmtab.save
# vgscan -v
# vgchange -a y vg00
# vgdisplay vg00
Your problem will be solved...
All the best
Vinod