- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM PB
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
12-12-2003 04:25 AM
12-12-2003 04:25 AM
LVM PB
I wanted to add an onther physical volume(c0t3d0)in order to mirror the first one.
But when I enter the command vgextend I receive the following error message:
vgextend:cannot execut, verify that the minor number for VG00 is unique
With the command ll /dev/ I've verified that there is not any duplicate minor numver between VGs or LVOLs.
How can i solve this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 04:29 AM
12-12-2003 04:29 AM
Re: LVM PB
pvcreate -B /dev/rdsk/c0t3d0;
vgextend /dev/vg00 /dev/dsk/c0t3d0,
mkboot -l /dev/rdsk/c0t3d0,
mkboot -a "hpux" /dev/rdsk/c0t3d0
mkboot -a "hpux -lq" /dev/rdsk/c0t3d0
lifcp /dev/rdsk/c0t3d0:AUTO -
setboot -a
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t3d0 and do it for all other lvols in vg00
lvlnboot -b /dev/vg00/lvol1 /dev/vg00, lvlnboot -s /dev/vg00/lvol2 /dev/vg00, lvlnboot -d /dev/vg00/lvol2 /dev/vg00, lvlnboot -r /dev/vg00/lvol3 /dev/vg00
lvlnboot -v will now show you two boot disks. mirrored to each other
-Goodluck.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 04:30 AM
12-12-2003 04:30 AM
Re: LVM PB
Example:
root# ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 14 2000 /dev/vg00/group
crw-rw-rw- 1 root root 64 0x010000 Jul 13 2002 /dev/vg01/group
crw-rw-rw- 1 informix informix 64 0x020000 Jul 13 2002 /dev/vg02/group
crw-rw-r-- 1 informix informix 64 0x060000 Jul 19 2002 /dev/vg20/group
crw-r--r-- 1 root sys 64 0x030000 Jun 27 2000 /dev/vgswap/group
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 04:31 AM
12-12-2003 04:31 AM
Re: LVM PB
ll /dev/*
Also did you do pvcreate on disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 04:31 AM
12-12-2003 04:31 AM
Re: LVM PB
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 04:32 AM
12-12-2003 04:32 AM
Re: LVM PB
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 05:07 AM
12-12-2003 05:07 AM
Re: LVM PB
If you have MC/SG or have had it on this system it creates a file /dev/slvmvg with the same major/minor numbers.
If it's there then mv it to temp, rename /etc/lvmtab & run vgscan -v
If it's not there then just rename lvmtab & run vgscan -v
HTH,
Jeff
BTW - see this TKB doc:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1071252229477+28353475&docId=200000067003049
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2003 05:09 AM
12-12-2003 05:09 AM
Re: LVM PB
mv it to /tmp
And the problem is that file can cause vgscan to corrupt the lvmtab file.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2003 10:26 PM
12-14-2003 10:26 PM
Re: LVM PB
And necessarely, I must add a second physical volue to this existing VG00 while vgextend does not work. How to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 12:53 AM
12-15-2003 12:53 AM
Re: LVM PB
You probably have a corrupted /etc/lvmtab file & until you do those cleanup steps I listed you'll be unsuccessful with this vgextend.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:26 AM
12-15-2003 01:26 AM
Re: LVM PB
If you can not open Jeff's link, take a look at next thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=262807
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 07:00 AM
12-17-2003 07:00 AM
Re: LVM PB
Do as suggested and move the lvmtab out of the way and do:
vgscan ##to replace the lvmtab...there may be corruption in there.
Then try to add the disk again... I am somewhat puzzled why you get minor number errors when simply vgextending a VG. but it should be fixed with vgscan to recreate the lvmtab.
ALSO, you should pvcreate -fB on teh disk to wipe out any header info it may have on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2003 02:59 AM
12-19-2003 02:59 AM
Re: LVM PB
try
pvcreate -f -B (if bootable) /dev/rdsk/cxxxxx
vgextend vg00 /dev/dsk/cxxxxx
Regds.
L.