- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to eliminate invisible disk from vg00
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
05-08-2008 01:51 AM
05-08-2008 01:51 AM
I want to eliminate one disk from vg00, but it is not ok.
-- Logical volumes ---
LV Name /dev/vg00/lvol11
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 2560
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 1280 1280
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c2t0d0 01833 current ??? 01833 stale
00001 /dev/dsk/c2t0d0 01834 current ??? 01834 stale
00002 /dev/dsk/c2t0d0 01835 current ??? 01835 stale
And when I do
# lvreduce -m 0 /dev/vg00/lvol11 /dev/dsk/c2t1d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvreduce: Warning: couldn't query all of the physical volumes.
lvreduce: Physical volume "/dev/dsk/c2t1d0" does not belong
to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol11" is not reduced.
I know thant c2t1d0 is the disk, because I have list of the disk and
# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
Could anyone help me?
Thanks a lot of,
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 01:58 AM
05-08-2008 01:58 AM
Re: How to eliminate invisible disk from vg00
>>dev/dsk/c2t0d0 1280 1280
You reduced the wrong disk
your lvdisplay output shows the another disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:00 AM
05-08-2008 02:00 AM
Re: How to eliminate invisible disk from vg00
do strings /etc/lvmtab file
then u can confirm this disk is not belogns to any volume group.if it is not belongs to any volume group,
do ioscan -fnc disk identify the disk
then remove it
rmsf -H then hardware path
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:03 AM
05-08-2008 02:03 AM
Re: How to eliminate invisible disk from vg00
to volume group "/dev/vg00".
see this one also from u thread which means this disk is not belong the volume group
vg00
so identify correctly then remove it
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:03 AM
05-08-2008 02:03 AM
Re: How to eliminate invisible disk from vg00
/dev/vg00
j
/dev/dsk/c2t1d0
but at the ioscan does not appers:
# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:10 AM
05-08-2008 02:10 AM
Re: How to eliminate invisible disk from vg00
Is it damaged or plugged out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:15 AM
05-08-2008 02:15 AM
Re: How to eliminate invisible disk from vg00
Dear carmen
please vgscan command then again check wiht ioscan -funC disk
and please revert back soon
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:16 AM
05-08-2008 02:16 AM
Re: How to eliminate invisible disk from vg00
I only want to remove the configuration and leave it ok. because when this disk c2t1d0 its in the vg00 and the lvols has this information ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:23 AM
05-08-2008 02:23 AM
Re: How to eliminate invisible disk from vg00
Dear Camre strings /etc/lvmtab file showing it is in vg00
can u try this command
lvreduce -m 0 /dev/vg00 /dev/dsk/c2t1d0
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:29 AM
05-08-2008 02:29 AM
Re: How to eliminate invisible disk from vg00
But its not possible with lvreduce...
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t1d0
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvreduce: Warning: couldn't query all of the physical volumes.
lvreduce: Physical volume "/dev/dsk/c2t1d0" does not belong
to volume group "/dev/vg00".
Logical volume "/dev/vg00/lvol1" is not reduced.
# strings /etc/lvmtab
/dev/vg00
j
/dev/dsk/c2t1d0
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 02:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2008 03:04 AM
05-08-2008 03:04 AM
Re: How to eliminate invisible disk from vg00
I have done:
# lvreduce -m 0 /dev/vg00/lvolXX
with every lvol
After that:
1. save /etc/lvmtab to another file
2. remove /etc/lvmtab
3. use vgscan(1m) -v to re-reate /etc/lvmtab
4. NOW use vgcfgbackup(1m) to save the LVM setup