- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM and disk question.
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
08-22-2008 07:20 AM
08-22-2008 07:20 AM
LVM and disk question.
root@yeti:/>vgdisplay vgy11
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
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/vgy11
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 25599
VGDA 2
PE Size (Mbytes) 4
Total PE 25596
Alloc PE 25000
Free PE 596
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
notice the warning. The server is accessing its disk just fine and the DB's are running. However this warning concerns me. I did switch out a fiber channel port last night which i imagine is causing this issue.
Would it be wise to rename /etc/lvmconf to lvmconf.old and run a new vgscan? doesn't the make the system unavailable if i execute this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:26 AM
08-22-2008 07:26 AM
Re: LVM and disk question.
1) please post a full vgdisplay -v /dev/vgy11
2) If this is truly just a bogus disk that you do not want or need a vgreduce -f may fix before going to the vgscan road.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:32 AM
08-22-2008 07:32 AM
Re: LVM and disk question.
root@host:/>vgdisplay -v /dev/vgy11
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
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/vgy11
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 25599
VGDA 2
PE Size (Mbytes) 4
Total PE 25596
Alloc PE 25000
Free PE 596
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
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/vgy11/lvol111
LV Status available/syncd
LV Size (Mbytes) 100000
Current LE 25000
Allocated PE 25000
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c11t0d1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
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 25596
Free PE 596
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:35 AM
08-22-2008 07:35 AM
Re: LVM and disk question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:41 AM
08-22-2008 07:41 AM
Re: LVM and disk question.
If you can figure out what physical device it is, and if it is hot-swappable then pull it out...
What type of disk config, direct attached SCSI ? One of the drives may have have its light on solid. That would be my guess.
I would guess a pile of lbolt errors are in syslog.log as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:43 AM
08-22-2008 07:43 AM
Re: LVM and disk question.
disk 44 0/0/4/1/0.182.0.0.0.10.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t10d0 /dev/rdsk/c10t10d0
disk 45 0/0/4/1/0.182.0.0.0.11.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t11d0 /dev/rdsk/c10t11d0
disk 46 0/0/4/1/0.182.0.0.0.12.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t12d0 /dev/rdsk/c10t12d0
disk 47 0/0/4/1/0.182.0.0.0.13.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t13d0 /dev/rdsk/c10t13d0
disk 48 0/0/4/1/0.182.0.0.0.14.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t14d0 /dev/rdsk/c10t14d0
disk 49 0/0/4/1/0.182.0.0.0.15.0 sdisk CLAIMED DEVICE HITACHI DISK-SUBSYSTEM
/dev/dsk/c10t15d0 /dev/rdsk/c10t15d0
disk 75 0/0/6/1/0.110.0.1.0.0.0 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d0 /dev/rdsk/c14t0d0
disk 76 0/0/6/1/0.110.0.1.0.0.1 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d1 /dev/rdsk/c14t0d1
disk 77 0/0/6/1/0.110.0.1.0.0.2 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d2 /dev/rdsk/c14t0d2
disk 78 0/0/6/1/0.110.0.1.0.0.3 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d3 /dev/rdsk/c14t0d3
disk 79 0/0/6/1/0.110.0.1.0.0.4 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d4 /dev/rdsk/c14t0d4
disk 80 0/0/6/1/0.110.0.1.0.0.5 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d5 /dev/rdsk/c14t0d5
disk 81 0/0/6/1/0.110.0.1.0.0.6 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d6 /dev/rdsk/c14t0d6
disk 82 0/0/6/1/0.110.0.1.0.0.7 sdisk CLAIMED DEVICE HITACHI OPEN-V
/dev/dsk/c14t0d7 /dev/rdsk/c14t0d7
disk 83 0/0/6/1/0.110.0.1.0.1.0 sdisk CLAIMED DEVICE HITACHI OPEN-V
from c9 to c14. could i vgreduce -f and then extend the vg to c14txdx?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 07:53 AM
08-22-2008 07:53 AM
Re: LVM and disk question.
volume group from an vgexport?
It may be possible to rebuild the
volume group with a vgimport.
Either specifying the new disk path
or with the -s using the disk identifer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2008 11:44 PM
08-22-2008 11:44 PM
Re: LVM and disk question.
Perform the below steps to get the VG to use the new device files.
# Stop applications using the filesystems.
# Unmount filesystems belonging to the VG.
# Deactivate the VG (vgchange -a n vgy11)
# Note the group device file details (ls -l /dev/vgy11)
# Create a temp map file for safety (vgexport -s -p -m /tmp/vgy11.map vgy11)
# Export the VG (vgexport vgy11)
# Create the directory (mkdir /dev/vgy11)
# Create group device file (mknod /dev/vgy11/group c 64 0xx0000 where xx is the minor no as noted in previous command)
# Import the VG with new device files (vgimport /dev/vgy11
# Activate the VG (vgchange -a y vgy11)
# Check the VG (vgdisplay -v vgy11)
# Mount as before.
Regards,
Vihang.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2008 02:04 AM
08-23-2008 02:04 AM
Re: LVM and disk question.
One more thing here:
was this disk "/dev/dsk/c9t0d1" was in mirror under this VG vgy11?
If yes then you have to lvreduce first on this vg using -k option
e.g
lvreduce -k -m mirror_copies lv_path
then
vgreduce...
best way is to use previously exported map file as disk eventhough has different name but still contains same vg info in header.