- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to remove the PV from "/etc/lvmtab"
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-17-2005 12:03 AM
10-17-2005 12:03 AM
how to remove the PV from "/etc/lvmtab"
One PV in mirror(vg00) has failed.
vgdisplay -v vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4384
VGDA 2
PE Size (Mbytes) 16
Total PE 4374
Alloc PE 3127
Free PE 1247
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 400
Current LE 25
Allocated PE 25
Used PV 1
....
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 400
Current LE 25
Allocated PE 25
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4374
Free PE 1247
Autoswitch On
I lvreduce the LV on mirror PV first.And then ran #vgreduce /dev/vg00 /dev/dsk/c3t0d6 ,but didn't work :
/dev/dsk/c3t0d6 still in /etc/lvmtab.
The Cur PV is "1", and Act PV also is "1". I think it's the problem why I can't reduce PV . but use what command to reduce PV ?
Thanks for your help !
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:10 AM
10-17-2005 12:10 AM
Re: how to remove the PV from "/etc/lvmtab"
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=895051
It says, # vgreduce -f /dev/vg00
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:11 AM
10-17-2005 12:11 AM
Re: how to remove the PV from "/etc/lvmtab"
check this doc,
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080049938
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:13 AM
10-17-2005 12:13 AM
Re: how to remove the PV from "/etc/lvmtab"
vgscan -av
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:25 AM
10-17-2005 12:25 AM
Re: how to remove the PV from "/etc/lvmtab"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:39 AM
10-17-2005 12:39 AM
Re: how to remove the PV from "/etc/lvmtab"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:49 AM
10-17-2005 12:49 AM
Re: how to remove the PV from "/etc/lvmtab"
I am afraid this command may change sth .
thanks for your help .
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:50 AM
10-17-2005 12:50 AM
Re: how to remove the PV from "/etc/lvmtab"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 12:53 AM
10-17-2005 12:53 AM
Re: how to remove the PV from "/etc/lvmtab"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 02:16 PM
10-17-2005 02:16 PM
Re: how to remove the PV from "/etc/lvmtab"
1. backup current /etc/lvmtab
#mv /etc/lvmtab /etc/lvmtab.bak
2. scan new config file
#vgscan
this step will update new /etc/lvmtab file
3. reduce pv
#vgreduce -f /dev/vg00
note: -f option is very importance.You want to know more for this option pls issue
#man vgreduce...
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 03:44 PM
10-17-2005 03:44 PM
Re: how to remove the PV from "/etc/lvmtab"
# vgreduce -l /dev/vg00 /dev/dsk/c3t0d6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 09:59 PM
10-17-2005 09:59 PM
Re: how to remove the PV from "/etc/lvmtab"
what is the output of diskinfo /dev/rdsk/c3t6d0??
ioscan -fnCdisk?
do you physically remove the disk module?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 11:25 PM
10-17-2005 11:25 PM
Re: how to remove the PV from "/etc/lvmtab"
if u are mv /etc/lvmtab to /etc/lvmtab.save
u have any problem, vgscan does only create a new lvmtab, compare after vgscan the new and the old lvmtab ...
i have done this anytime
regards gga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2005 01:52 PM
10-19-2005 01:52 PM
Re: how to remove the PV from "/etc/lvmtab"
The disk still there.
I will try these according to the suggests.
#vgreduce -l /dev/vg00 /dev/dsk/c3t6d0
BR