- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error on lvcreate after the boot-disk is damag...
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
тАО11-20-2005 08:57 PM
тАО11-20-2005 08:57 PM
error on lvcreate after the boot-disk is damaged and replaced
i have replaced my boot-disk (c1t0d0) before he is damaged and i forgot to move a part of a LV to another disk.
If i create a new LV then the error appears: "Couldn't query physical volume "/dev/dsk/c1t0d0":
The specified path does not correspond to physical volume attached to
this volume group.
How can i remove the residuary entrys for the old boot-disk ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 09:13 PM
тАО11-20-2005 09:13 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
lvdisplay -vk /dev/vgxx/lvolx - stale lvol
note down PV key.
lvreduce -m 0 -k /dev/vgxx/lvolx, once this is done, do vgcfgrestore -n /dev/vgxx /dev/rdsk/cxtxdx
vgactivate -a y vgxx
vgsync
This should do it. Check by booting through this disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 09:14 PM
тАО11-20-2005 09:14 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
Use: #vgredice -f vg00 /dev/dsk/c1t0d0
And try to re-create again it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 09:35 PM
тАО11-20-2005 09:35 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
lvreduce -m 0 -k /dev/vg00/lvol9
lvreduce: "MirrorCopies" parameter "0" is not smaller than existing number "0";
therefore no mirrors are removed.
vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t0d0
vgcfgrestore: Could not open Physical Volume "/dev/rdsk/c1t0d0".
Info: i cant see the disk c1t0d0 at the command "ioscan"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 09:58 PM
тАО11-20-2005 09:58 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
lvdisplay /dev/vg00/lvol9
vgdisplay vg00
Is disk as CLAIMED in ioscan??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2005 10:11 PM
тАО11-20-2005 10:11 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol9
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 15008
Current LE 938
Allocated PE 938
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t0d0":
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 14
Open LV 14
Max PV 16
Cur PV 4
Act PV 3
Max PE per PV 5120
VGDA 6
PE Size (Mbytes) 16
Total PE 9833
Alloc PE 8588
Free PE 1245
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 0/0/1/1.2.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST173404LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST173404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
i cant see the disk in ioscan because the "old" disk is damaged.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 09:47 PM
тАО11-22-2005 09:47 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
Is this happend after you did a pvmove from the old boot disk to the other boot disk c1t2d0 and after that replace the boot disk.
After you replaced the disk did you do a insf -e to make a device file for the new disk and then a vgsync vg00.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2005 07:10 PM
тАО11-23-2005 07:10 PM
Re: error on lvcreate after the boot-disk is damaged and replaced
- install damaged harddisk
- vgreduce /dev/vg00 /dev/dsk/c1t0d0
- vgchange -a y /dev/vg00
- vgdisplay (c1t0d0 not on display)
- uncase damaged harddisk
- new vol can now be created
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2005 07:13 PM
тАО11-23-2005 07:13 PM