- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Populating the mirror’s OS partition
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
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
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-31-2012 03:51 AM
08-31-2012 03:51 AM
Populating the mirror’s OS partition
I have Initialize /dev/rdisk/disk9_p2 for the LVM structures and create a bootable disk using -B option using the pvcreate command.
#pvcreate -fb /dev/rdisk/disk9_p2
Physical volume "/dev/rdisk/disk9_p2" has been successfully created.
Above command took a long time and after few hours I have pressed ctrl+d then the output arrives stating "Physical volume "/dev/rdisk/disk9_p2" has been successfully created."
Then I tried extending the volume group vg00 using the vgextend command.
# vgextend vg00 /dev/disk/disk9_p2
and it says following error
vgextend: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgextend: Warning: couldn't query the list of physical volumes.
vgextend: Couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
here I am attaching some more details of my LVM configuration
# ioscan -kfnN /dev/disk/disk9
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 9 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk9 /dev/rdisk/disk9
/dev/disk/disk9_p1 /dev/rdisk/disk9_p1
/dev/disk/disk9_p2 /dev/rdisk/disk9_p2
/dev/disk/disk9_p3 /dev/rdisk/disk9_p3
# vgdisplay -v vg00
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 3
Act PV 2
Max PE per PV 4234
VGDA 4
PE Size (Mbytes) 8
Total PE 8458
Alloc PE 3912
Free PE 4546
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 541952m
VG Max Extents 67744
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 512
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 256
Allocated PE 256
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 64
Allocated PE 64
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 136
Current LE 17
Allocated PE 17
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 9560
Current LE 1195
Allocated PE 1195
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 7112
Current LE 889
Allocated PE 889
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 5768
Current LE 721
Allocated PE 721
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 2064
Current LE 258
Allocated PE 258
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk8_p2
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
PV Status available
Total PE 4224
Free PE 312
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk12
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
PV Status available
Total PE 4234
Free PE 4234
Autoswitch On
Proactive Polling On
ioscan -fnkNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 8 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk8 /dev/disk/disk8_p2 /dev/rdisk/disk8 /dev/rdisk/disk8_p2
/dev/disk/disk8_p1 /dev/disk/disk8_p3 /dev/rdisk/disk8_p1 /dev/rdisk/disk8_p3
disk 9 64000/0xfa00/0x2 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk9 /dev/disk/disk9_p2 /dev/rdisk/disk9 /dev/rdisk/disk9_p2
/dev/disk/disk9_p1 /dev/disk/disk9_p3 /dev/rdisk/disk9_p1 /dev/rdisk/disk9_p3
disk 10 64000/0xfa00/0x3 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk10 /dev/rdisk/disk10
disk 11 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk11 /dev/rdisk/disk11
disk 12 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk12 /dev/rdisk/disk12
disk 13 64000/0xfa00/0x6 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk13 /dev/rdisk/disk13
disk 14 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk14 /dev/disk/disk14_p2 /dev/rdisk/disk14 /dev/rdisk/disk14_p2
/dev/disk/disk14_p1 /dev/disk/disk14_p3 /dev/rdisk/disk14_p1 /dev/rdisk/disk14_p3
disk 15 64000/0xfa00/0x8 esdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/disk/disk15 /dev/rdisk/disk15
disk 17 64000/0xfa00/0x9 esdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/disk/disk17 /dev/rdisk/disk17
Can someone help me out in solving this issue so that I can proceed further.
- Tags:
- pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2012 04:00 AM
08-31-2012 04:00 AM
Re: Populating the mirror’s OS partition
Few additional command output
vgdisplay -v vg00 |grep "PV Name"
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk14":
vgdisplay: Warning: couldn't query the list of physical volumes.
PV Name /dev/disk/disk8_p2
PV Name /dev/disk/disk12
need more info, please ask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2012 04:41 AM
08-31-2012 04:41 AM
Re: Populating the mirror’s OS partition
Your first command was wrong.
It did not take a long time, it was waiting for you!
See "man pvcreate" - must be upper case "B"!
May I ask you why you want to mirror a already hardware mirrored drive?
However, disk14 was part of vg00 and is no longer available.
Send
# vgdisplay -v
# strings /etc/lvmtab
# ioscan -fn
(this is needed for further commands in order to check your hardware RAID)
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-31-2012 07:58 AM
08-31-2012 07:58 AM
Re: Populating the mirror’s OS partition
Hi Torsten
Thanks for the reply.
Inspite of Sam, I am now writing on his behalf
Yes! instead of b I have tried B and its works
I have one query how you can say that I am mirroring the disk which is already mirrored? can you please explain me.
I have attached the output of the following commands which you have asked for.
please find it attached.
how to make disk14 again available?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2012 10:26 AM
08-31-2012 10:26 AM
Re: Populating the mirror’s OS partition
Please post
# saconfig /dev/ciss0
# sautil /dev/ciss0
# ioscan -fnN
# ioscan -m dsf
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!