- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remove a PV
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
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
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
тАО09-21-2009 05:47 AM
тАО09-21-2009 05:47 AM
/dev/vg00
/dev/disk/disk6_p2
I would like to remove disk6_p2 from VG00
# pvremove /dev/rdsk/c3t6d0
pvremove: Physical Volume "/dev/rdsk/c3t6d0" contains no LVM information
# dd if=/dev/zero of=/dev/rdsk/c3t6d0 bs=256k count=100
100+0 records in
100+0 records out
it dosen't work
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 05:52 AM
тАО09-21-2009 05:52 AM
SolutionHope 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
тАО09-21-2009 05:52 AM
тАО09-21-2009 05:52 AM
Re: remove a PV
# vgscan
Physical Volume "/dev/dsk/c4t8d0" is not part of a Volume Group
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c4t10d0
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3550A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/1/0/4/1.6.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c3t6d0 /dev/dsk/c3t6d0s2 /dev/rdsk/c3t6d0 /dev/rdsk/c3t6d0s2
/dev/dsk/c3t6d0s1 /dev/dsk/c3t6d0s3 /dev/rdsk/c3t6d0s1 /dev/rdsk/c3t6d0s3
disk 3 1/0/2/1/0.8.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 4 1/0/2/1/0.10.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
disk 5 1/0/4/1/0.1.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3550A
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 05:55 AM
тАО09-21-2009 05:55 AM
Re: remove a PV
Note:
The "disk" in your vg00 is disk6_p2 - not disk6 !!!
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
тАО09-21-2009 05:56 AM
тАО09-21-2009 05:56 AM
Re: remove a PV
how do I do that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 05:58 AM
тАО09-21-2009 05:58 AM
Re: remove a PV
# model
# vgdisplay -v
# strings /etc/lvmtab
# 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 06:02 AM
тАО09-21-2009 06:02 AM
Re: remove a PV
Primary bootpath : 1/0/0/3/0.0x6.0x0 (/dev/rdisk/disk6)
HA Alternate bootpath :
Alternate bootpath : 1/0/0/3/0.0x6.0x0 (/dev/rdisk/disk6)
Autoboot is ON (enabled)
# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk6 /dev/rdsk/c0t6d0
/dev/rdisk/disk6_p1 /dev/rdsk/c0t6d0s1
/dev/rdisk/disk6_p2 /dev/rdsk/c0t6d0s2
/dev/rdisk/disk6_p3 /dev/rdsk/c0t6d0s3
/dev/rdisk/disk7 /dev/rdsk/c1t2d0
/dev/rdisk/disk8 /dev/rdsk/c3t6d0
/dev/rdisk/disk8_p1 /dev/rdsk/c3t6d0s1
/dev/rdisk/disk8_p2 /dev/rdsk/c3t6d0s2
/dev/rdisk/disk8_p3 /dev/rdsk/c3t6d0s3
/dev/rdisk/disk9 /dev/rdsk/c4t8d0
/dev/rdisk/disk10 /dev/rdsk/c4t10d0
/dev/rdisk/disk11 /dev/rdsk/c6t1d0
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c0t6d0 /dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s1 /dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s1 /dev/rdsk/c0t6d0s3
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3550A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/1/0/4/1.6.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c3t6d0 /dev/dsk/c3t6d0s2 /dev/rdsk/c3t6d0 /dev/rdsk/c3t6d0s2
/dev/dsk/c3t6d0s1 /dev/dsk/c3t6d0s3 /dev/rdsk/c3t6d0s1 /dev/rdsk/c3t6d0s3
disk 3 1/0/2/1/0.8.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 4 1/0/2/1/0.10.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
disk 5 1/0/4/1/0.1.0 sdisk CLAIMED DEVICE _NEC DVD_RW ND-3550A
/dev/dsk/c6t1d0 /dev/rdsk/c6t1d0
# model
ia64 hp server rx7640
# vgdisplay -v
--- 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 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4347
Alloc PE 3712
Free PE 635
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2178g
VG Max Extents 69696
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 56
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 65536
Current LE 2048
Allocated PE 2048
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 32
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 9216
Current LE 288
Allocated PE 288
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 3072
Current LE 96
Allocated PE 96
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 4
Allocated PE 4
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 5248
Current LE 164
Allocated PE 164
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 32768
Current LE 1024
Allocated PE 1024
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk6_p2
PV Status available
Total PE 4347
Free PE 635
Autoswitch On
Proactive Polling On
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk6_p2
#
I have to mirrior c0t6d0 & c3t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 06:04 AM
тАО09-21-2009 06:04 AM
Re: remove a PV
I suspect that this is a continuation or an outgrowth of your earlier thread:
https://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1372824
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 06:07 AM
тАО09-21-2009 06:07 AM
Re: remove a PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2009 06:09 AM
тАО09-21-2009 06:09 AM
Re: remove a PV
vgextend: Physical Volume "/dev/dsk/c3t6d0" contains no LVM information