- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error to reduce one disk in my 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
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
тАО04-08-2004 01:39 AM
тАО04-08-2004 01:39 AM
this is command vgreduce /dev/sl3vgl39 /dev/dsk/c42t2d4.
I run command pvdisplay -v /dev/dsk/c42t2d4 and see that i have one lost lvol , because i have "???" in status field
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 01:42 AM
тАО04-08-2004 01:42 AM
Re: Error to reduce one disk in my VG
strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 01:44 AM
тАО04-08-2004 01:44 AM
Re: Error to reduce one disk in my VG
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/sl3vgl39
/dev/dsk/c42t1d4
/dev/dsk/c9t0d2
/dev/dsk/c9t0d3
/dev/dsk/c9t0d4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 01:50 AM
тАО04-08-2004 01:50 AM
Re: Error to reduce one disk in my VG
are you sure that /dev/dsk/c42t2d4 is correct? Into /etc/lvmtab it there isn't!
Then either it has already been removed or it doesn't exist.
Anyway '???' in status field means that physical volume/LUN had problems and cannot recognize on system.
Any messages in /var/adm/syslog/syslog.log about disk problems?
It sounds like an hw problem.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 01:54 AM
тАО04-08-2004 01:54 AM
Re: Error to reduce one disk in my VG
Missing pv can be removed from that vg.
vgreduce -f vgxx
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 02:49 AM
тАО04-08-2004 02:49 AM
Re: Error to reduce one disk in my VG
#vgreduce -f /dev/vg_name .
But first , backup your VG and lvmtab .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 03:28 AM
тАО04-08-2004 03:28 AM
Re: Error to reduce one disk in my VG
The new meesage is vgreduce: Physical volume "/dev/dsk/c42t1d4" could not be removed since some of its
physical extents are still in use. This message it occurs because i have one lost lvol with status "???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 03:31 AM
тАО04-08-2004 03:31 AM
Re: Error to reduce one disk in my VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 04:29 AM
тАО04-08-2004 04:29 AM
Re: Error to reduce one disk in my VG
Okay, you will need to lvreduce the Lvol and remove any attachment to the disk involved.
lvreduce the lvols which reside on this disk and then you should be able to remove the disk from the VG without doing a vgscan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2004 05:14 AM
тАО04-08-2004 05:14 AM
SolutionTry this link below on how to first get the lost lv back and then remove it using lvremove. Then do a vgreduce.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065011327
The ITRC doc id is KBRC00005706
Hope this helps.
Regds