- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New disk to be added to VG
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
02-22-2008 01:16 PM
02-22-2008 01:16 PM
New disk to be added to VG
We added the new LUN and that LUN is having the new two disks.
When I am doing vgextend, I got the below error:
godavari# vgextend /dev/vg02 /dev/dsk/c16t0d5 /dev/dsk/c18t0d5
vgextend: Couldn't install the physical volume "/dev/dsk/c16t0d5".
The path does not specify a valid physical volume.
vgextend: Couldn't install the physical volume "/dev/dsk/c18t0d5".
The path does not specify a valid physical volume.
godavari#
Then I have tried pvcreate, that is also showing the below error, can you advise, what need to be done for adding the disks to vg02.
godavari# pvcreate /dev/rdsk/c16t0d5
pvcreate: The physical volume already belongs to a volume group
godavari# pvcreate /dev/rdsk/c18t0d5
pvcreate: The physical volume already belongs to a volume group
godavari# swlist | grep -i online
B3929CA B.11.11.03.03 HP OnLineJFS
OnlineDiag B.11.11.19.01 HPUX 11.11 Support Tools Bundle, June 2007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 09:39 PM
02-22-2008 09:39 PM
Re: New disk to be added to VG
Assuming there is a SAN in the picture here.....
The error message you recieved from the pvcreate should only happen if the new LUNS you have recently added to your host belong to another defined Volume Group that is either local or on another server. It may also be possible that these LUNS could have at some point belonged to VG on a your server or a different node no longer associated with the drive and they were never scrubbed of there data; hence the VG header information is still contained on the drives and pvcreate saves your life by not allowing you to proceed.
If these LUNS are SAN based please make sure to verify the electonic serial numbers on the drives are not zoned to more than one host. I cannot stress how dangerous from a data loss perspective this could be if you do not verify the use of these LUNS.
If you have verified no host local or remote have current/defined VGs with these LUNS present then use the -f option with your pvcreate and then vgextend them into your VG.
If these LUNS are simple disk drives added to your host localy ie hot plug or some other JBOD attached container still verify the local use of these devices in other local VGs within your host and if they are not in use you should be ok to proceeed with the same -f option with your pvcreate and then vgextend them into your VG.
Please validate all of your information and GOOD LUCK!!!
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2008 09:02 AM
02-23-2008 09:02 AM
Re: New disk to be added to VG
# pvdisplay -l /dev/dsk/c18t0d6
/dev/dsk/c18t0d6:LVM_Disk=yes
If it already has metadata then it is your choice about what to do :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2008 03:39 AM
03-02-2008 03:39 AM
Re: New disk to be added to VG
The error could be because of tis LUN was used before in HPUX lvm.
check with:
strings /etc/lvmtab
pvdisplay -v
if this lun is part of the current VGs.
you could also check on lower level with adb and xd.
then
pvcreate -f
vgextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2008 09:41 PM
03-02-2008 09:41 PM
Re: New disk to be added to VG
pvcreate -f then
vgextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2008 10:07 PM
03-03-2008 10:07 PM
Re: New disk to be added to VG
#pvcreate -f /dev/rdsk/c18t0d5
#vgextend /dev/vg02 /dev/dsk/c16t0d5 /dev/dsk/c18t0d5
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01027999-1
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2008 01:06 AM
03-22-2008 01:06 AM
Re: New disk to be added to VG
u should give insf -e disk
check ioscan -funC disk
do pvcreate
then add it in u volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2008 07:09 AM
03-24-2008 07:09 AM
Re: New disk to be added to VG
Use -f option along with pvcreate but ensure, that PV is not being used by any VG which does have critical data.
Then you do vgextend , I hope ,it work for you.
Thanks -ajeshvv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2008 09:46 AM
04-06-2008 09:46 AM