- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cant create a new volume group
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
10-10-2005 02:15 AM
10-10-2005 02:15 AM
Cant create a new volume group
The sysstem has disk drives mirrored at volume group level. One of the drives which was mirrored for the file system /Vg00 crushed and was never replaced. We then had an upgrade and changed the system board and new paths were created. Right now I get this error 'Volume group could not be created" when I try to create a new volume group using any number.
If i try to recreate the lmvtab my volume group vg00 disappears and I will be able to add a new volume group but my system files are in vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:34 AM
10-10-2005 02:34 AM
Re: Cant create a new volume group
Where are you trying to vgcreate the new VG? On the old mirrored drive that was replaced, or on another drive? What minor number are you using for the new VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:34 AM
10-10-2005 02:34 AM
Re: Cant create a new volume group
Also, are there any other vg's besides vg00 listed in the /dev directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:54 AM
10-10-2005 02:54 AM
Re: Cant create a new volume group
check your maxvgs kernel parameter, if its 10 make sure that your using a hex number smaller than a. 0x010000 - 0x0a0000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:58 AM
10-10-2005 02:58 AM
Re: Cant create a new volume group
You can try to reduce the mirror copy to 0 , ie unmirrir and then vgreduce with -f option and get rid of the failed PV .
Once this is done pls try again and post your observations.
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 07:59 AM
10-10-2005 07:59 AM
Re: Cant create a new volume group
Sense you have different paths now, you may have to use vgscan -av to get it to scan the disks. If you still have a phantom disk (the crashed one that was removed) in the vg you can remove it with vgreduce -f and it may come down to you having to boot in lvm management mode and exporting and importing the root vg.
You didn't specify why it wouldn't let you create a new vg so I will just list some obvious things to check till you can post back with the specific error messages and such.
Vgcreate from the command line requires you to create the vg directory /dev/vgyy and to create the group node mknod /dev/vgyy/group c 64 0x0y0000 then create the vg.
You should also run pvcreate on the new disk that you want to create the vg from to make sure its formatted correctly.
I hope that helps some
Howard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 06:55 PM
10-10-2005 06:55 PM
Re: Cant create a new volume group
SEAGATE ST318404LC 0/0/1/1.2.0 vg00
/ :># strings /etc/lvmtab
/dev/vg00
o=9,M
/dev/dsk/c1t2d0
/dev/dsk/c6t8d0
/dev/vg01
o=9Y
/dev/dsk/c2t2d0
/dev/dsk/c7t8d0
/dev/vg02
o=9Y
/dev/dsk/c6t9d0
/dev/dsk/c7t9d0
/dev/vg03
o=9Y
/dev/dsk/c6t10d0
/dev/dsk/c7t10d0
/dev/vg04
/dev/dsk/c6t11d0
/dev/dsk/c7t11d0
/dev/vg05
/dev/dsk/c6t12d0
/dev/dsk/c7t12d0
/#vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4335
Free PE 5
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 84
Current LE 21
Allocated PE 21
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 140
Current LE 35
Allocated PE 70
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 500
Current LE 125
Allocated PE 250
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 552
Current LE 138
Allocated PE 276
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 1064
Current LE 266
Allocated PE 532
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 976
Current LE 244
Allocated PE 488
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/stale
LV Size (Mbytes) 6000
Current LE 1500
Allocated PE 3000
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/stale
LV Size (Mbytes) 6000
Current LE 1500
Allocated PE 3000
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 4340
Free PE 5
Autoswitch On
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4342
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 7168
Free PE 1512
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg01/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg01/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg01/lvol5
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg01/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg01/lvol7
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg01/lvol8
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg01/lvol9
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t2d0
PV Status available
Total PE 4340
Free PE 244
Autoswitch On
PV Name /dev/dsk/c7t8d0
PV Status available
Total PE 4340
Free PE 1268
Autoswitch On
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4342
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8192
Free PE 488
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg02/lvol1
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol5
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol7
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg02/lvol8
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c6t9d0
PV Status available
Total PE 4340
Free PE 244
Autoswitch On
PV Name /dev/dsk/c7t9d0
PV Status available
Total PE 4340
Free PE 244
Autoswitch On
VG Name /dev/vg03
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4342
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8192
Free PE 488
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg03/lvol1
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol5
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol7
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol8
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 512
Allocated PE 1024
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c6t10d0
PV Status available
Total PE 4340
Free PE 244
Autoswitch On
PV Name /dev/dsk/c7t10d0
PV Status available
Total PE 4340
Free PE 244
Autoswitch On
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 17
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 8683
VGDA 2
PE Size (Mbytes) 4
Total PE 8681
Alloc PE 8500
Free PE 181
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg04/lvol1
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol2
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol3
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol4
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol5
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol6
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol7
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol8
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol9
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol10
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol11
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol12
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol13
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol14
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol15
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol16
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
LV Name /dev/vg04/lvol17
LV Status available/stale
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c6t11d0
PV Status available
Total PE 8681
Free PE 181
Autoswitch On
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t8d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c7t11d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg05".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 08:41 PM
10-10-2005 08:41 PM
Re: Cant create a new volume group
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=422226
Your lvmtab entry for /dev/vg00 is corrupted.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 03:26 AM
10-11-2005 03:26 AM
Re: Cant create a new volume group
ioscan -fnC disk
and check its output in order to find bad disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 04:41 AM
10-11-2005 04:41 AM
Re: Cant create a new volume group
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 25 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST336607LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 26 0/0/2/0.0.0 sdisk CLAIMED DEVICE FUJITSU MAJ3364MC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 16 0/10/0/0.9.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c6t9d0 /dev/rdsk/c6t9d0
disk 17 0/10/0/0.10.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c6t10d0 /dev/rdsk/c6t10d0
disk 21 0/10/0/0.11.0 sdisk CLAIMED DEVICE FUJITSU MAJ3364MC
/dev/dsk/c6t11d0 /dev/rdsk/c6t11d0
disk 22 0/10/0/0.12.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c6t12d0 /dev/rdsk/c6t12d0
disk 18 0/12/0/0.8.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c7t8d0 /dev/rdsk/c7t8d0
disk 19 0/12/0/0.9.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c7t9d0 /dev/rdsk/c7t9d0
disk 20 0/12/0/0.10.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c7t10d0 /dev/rdsk/c7t10d0
disk 23 0/12/0/0.11.0 sdisk CLAIMED DEVICE SEAGATE ST336607LC
/dev/dsk/c7t11d0 /dev/rdsk/c7t11d0
disk 24 0/12/0/0.12.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC
/dev/dsk/c7t12d0 /dev/rdsk/c7t12d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 06:14 AM
10-11-2005 06:14 AM
Re: Cant create a new volume group
The problem is that one disk of vg00 is missing and one disk of vg04 has been replaced but not put back to the VG.
Have you replaced /dev/dsk/c7t11d0?
Where is /dev/dsk/c6t8d0 gone?
There were extents allocated to these disks.
You can do a vgcfgrestore to /dev/c7t11d0 if you replaced it and want it to be put back in vg04.
#vgcfgrestore -n /dev/vg04 /dev/dsk/c7t11d0
Or use -R option if you wish to do this when vg is active.
Now use vgsync to sync the stale PE's.
#vgsync
Repeat to see the details.
#vgdisplay -v /dev/vg04
The same thing can be repeated slight differently for rootvg also but your disk at the path is missing still.
HTH,
Devender