- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: missing vg00 at /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
05-26-2005 03:37 PM
05-26-2005 03:37 PM
missing vg00 at /etc/lvmtab
# vgscan -a
Creating "/etc/lvmtab".
Couldn't stat physical volume "/dev/dsk/c0t6d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t1d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t2d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t3d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t4d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t5d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t6d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t7d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t8d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t9d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t10d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t11d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t12d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t13d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t14d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c4t15d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t1d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t2d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t3d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t4d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t5d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t6d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t7d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t8d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t9d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t10d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t11d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t12d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t13d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t14d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c5t15d0":
Invalid argument
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c4t0d3
/dev/dsk/c5t0d3
*** LVMTAB has been created successfully.
*** If PV links are configured in the system.
*** Do the following to resync information on disk.
*** #1. vgchange -a y
*** #2. lvlnboot -R
# strings /etc/lvmtab
/dev/vg01
/dev/dsk/c4t0d0
/dev/dsk/c5t0d0
/dev/vg02
/dev/dsk/c4t0d1
/dev/dsk/c5t0d1
/dev/vg03
/dev/dsk/c4t0d2
/dev/dsk/c5t0d2
/dev/dsk/c4t0d3
/dev/dsk/c5t0d3
output "strings /etc/lvmtab" indicated that there is no vg00. In my systrem consists of vg00, vg01, vg02, and vg03.
something wrong ??
regards,
piyut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 03:56 PM
05-26-2005 03:56 PM
Re: missing vg00 at /etc/lvmtab
when i run pvdisplay:
# pvdisplay -v /dev/dsk/c0t6d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t6d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t6d0".
# ioscan -nfkC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/0/0/1/1.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:02 PM
05-26-2005 04:02 PM
Re: missing vg00 at /etc/lvmtab
Something must have gone wrong. What happened before this error started?
Give us the o/p of
i) "ioscan -fnC disk"
ii) "diskinfo /dev/rdsk/c0t6d0"
iii) "pvdisplay -v /dev/dsk/c0t6d0"
iv) "ll /dev/(r)dsk/*"
Did u try "vgcfgrestore"?
The message
"Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c4t0d3
/dev/dsk/c5t0d3"
indicates that these two devices were not included in any of the volumes, while "strings /etc/lvmtab" whows them to be the part of VG03.
Provide us the above o/p.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 04:03 PM
05-26-2005 04:03 PM
Re: missing vg00 at /etc/lvmtab
ioscan -fnC disk
See if those disks are all present in ioscan.
A possible cause is that a disk failed and vg00 can't be activated due to quorum not being present.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 06:18 PM
05-26-2005 06:18 PM
Re: missing vg00 at /etc/lvmtab
Before I run vgscan -a , I mv /etc/lvmtab to /etc/lvmtab.ori
I want to remove VG04 but i can't do it before.
file /etc/lvmtab.ori:
# strings /etc/lvmtab.ori
/dev/vg00
/dev/dsk/c3t6d0
/dev/dsk/c0t6d0
/dev/vg01
/dev/dsk/c4t0d0
/dev/dsk/c5t0d0
/dev/vg02
/dev/dsk/c4t0d1
/dev/dsk/c5t0d1
/dev/vg03
/dev/dsk/c4t0d2
/dev/dsk/c5t0d2
/dev/vg04
/dev/dsk/c4t0d3
/dev/dsk/c5t0d3
I removed VG04 and extend VG03.Before do this, I run "vgscan -a" and have errors.
# strings /etc/lvmtab
/dev/vg01
/dev/dsk/c4t0d0
/dev/dsk/c5t0d0
/dev/vg02
/dev/dsk/c4t0d1
/dev/dsk/c5t0d1
/dev/vg03
/dev/dsk/c4t0d2
/dev/dsk/c5t0d2
/dev/dsk/c4t0d3
/dev/dsk/c5t0d3
o/p that suraj want:
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/0/0/1/1.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
disk 3 1/0/2/0/0.4.13.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 1/0/2/0/0.4.13.0.0.0.1 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 38 1/0/2/0/0.4.13.0.0.0.2 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 40 1/0/2/0/0.4.13.0.0.0.3 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
disk 6 1/0/2/0/0.4.13.0.0.1.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
disk 9 1/0/2/0/0.4.13.0.0.2.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 11 1/0/2/0/0.4.13.0.0.3.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t3d0 /dev/rdsk/c4t3d0
disk 13 1/0/2/0/0.4.13.0.0.4.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 15 1/0/2/0/0.4.13.0.0.5.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t5d0 /dev/rdsk/c4t5d0
disk 17 1/0/2/0/0.4.13.0.0.6.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 19 1/0/2/0/0.4.13.0.0.7.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t7d0 /dev/rdsk/c4t7d0
disk 21 1/0/2/0/0.4.13.0.0.8.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
disk 23 1/0/2/0/0.4.13.0.0.9.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t9d0 /dev/rdsk/c4t9d0
disk 25 1/0/2/0/0.4.13.0.0.10.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t10d0 /dev/rdsk/c4t10d0
disk 27 1/0/2/0/0.4.13.0.0.11.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t11d0 /dev/rdsk/c4t11d0
disk 29 1/0/2/0/0.4.13.0.0.12.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t12d0 /dev/rdsk/c4t12d0
disk 31 1/0/2/0/0.4.13.0.0.13.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t13d0 /dev/rdsk/c4t13d0
disk 33 1/0/2/0/0.4.13.0.0.14.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t14d0 /dev/rdsk/c4t14d0
disk 34 1/0/2/0/0.4.13.0.0.15.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c4t15d0 /dev/rdsk/c4t15d0
disk 5 1/0/4/0/0.3.13.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 7 1/0/4/0/0.3.13.0.0.0.1 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 37 1/0/4/0/0.3.13.0.0.0.2 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 39 1/0/4/0/0.3.13.0.0.0.3 sdisk CLAIMED DEVICE HP OPEN-E*8
/dev/dsk/c5t0d3 /dev/rdsk/c5t0d3
disk 8 1/0/4/0/0.3.13.0.0.1.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t1d0 /dev/rdsk/c5t1d0
disk 10 1/0/4/0/0.3.13.0.0.2.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t2d0 /dev/rdsk/c5t2d0
disk 12 1/0/4/0/0.3.13.0.0.3.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t3d0 /dev/rdsk/c5t3d0
disk 14 1/0/4/0/0.3.13.0.0.4.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t4d0 /dev/rdsk/c5t4d0
disk 16 1/0/4/0/0.3.13.0.0.5.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t5d0 /dev/rdsk/c5t5d0
disk 18 1/0/4/0/0.3.13.0.0.6.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t6d0 /dev/rdsk/c5t6d0
disk 20 1/0/4/0/0.3.13.0.0.7.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t7d0 /dev/rdsk/c5t7d0
disk 22 1/0/4/0/0.3.13.0.0.8.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t8d0 /dev/rdsk/c5t8d0
disk 24 1/0/4/0/0.3.13.0.0.9.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t9d0 /dev/rdsk/c5t9d0
disk 26 1/0/4/0/0.3.13.0.0.10.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t10d0 /dev/rdsk/c5t10d0
disk 28 1/0/4/0/0.3.13.0.0.11.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t11d0 /dev/rdsk/c5t11d0
disk 30 1/0/4/0/0.3.13.0.0.12.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t12d0 /dev/rdsk/c5t12d0
disk 32 1/0/4/0/0.3.13.0.0.13.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t13d0 /dev/rdsk/c5t13d0
disk 35 1/0/4/0/0.3.13.0.0.14.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t14d0 /dev/rdsk/c5t14d0
disk 36 1/0/4/0/0.3.13.0.0.15.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM
/dev/dsk/c5t15d0 /dev/rdsk/c5t15d0
# diskinfo /dev/rdsk/c0t6d0
SCSI describe of /dev/rdsk/c0t6d0:
vendor: HP 36.4G
product id: ST336753LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
# pvdisplay -v /dev/dsk/cot6d0
pvdisplay: "/dev/dsk/cot6d0": No such file or directory
Usage: pvdisplay
[-v]
[-b BlockList]
PhysicalVolumePath...
# pvdisplay -v /dev/dsk/c0t6d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t6d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t6d0".
# ll /dev/dsk/*
brw-r----- 1 bin sys 31 0x006000 Dec 31 2003 /dev/dsk/c0t6d0
brw-r----- 1 bin sys 31 0x012000 Dec 31 2003 /dev/dsk/c1t2d0
brw-r----- 1 bin sys 31 0x036000 Dec 31 2003 /dev/dsk/c3t6d0
brw-r----- 1 bin sys 31 0x040000 Jul 19 2004 /dev/dsk/c4t0d0
brw-r----- 1 bin sys 31 0x040100 Jul 19 2004 /dev/dsk/c4t0d1
brw-r----- 1 bin sys 31 0x040200 Sep 6 2004 /dev/dsk/c4t0d2
brw-r----- 1 bin sys 31 0x040300 Nov 25 2004 /dev/dsk/c4t0d3
brw-r----- 1 bin sys 31 0x04a000 Jul 19 2004 /dev/dsk/c4t10d0
brw-r----- 1 bin sys 31 0x04b000 Jul 19 2004 /dev/dsk/c4t11d0
brw-r----- 1 bin sys 31 0x04c000 Jul 19 2004 /dev/dsk/c4t12d0
brw-r----- 1 bin sys 31 0x04d000 Jul 19 2004 /dev/dsk/c4t13d0
brw-r----- 1 bin sys 31 0x04e000 Jul 19 2004 /dev/dsk/c4t14d0
brw-r----- 1 bin sys 31 0x04f000 Jul 19 2004 /dev/dsk/c4t15d0
brw-r----- 1 bin sys 31 0x041000 Jul 19 2004 /dev/dsk/c4t1d0
brw-r----- 1 bin sys 31 0x042000 Jul 19 2004 /dev/dsk/c4t2d0
brw-r----- 1 bin sys 31 0x043000 Jul 19 2004 /dev/dsk/c4t3d0
brw-r----- 1 bin sys 31 0x044000 Jul 19 2004 /dev/dsk/c4t4d0
brw-r----- 1 bin sys 31 0x045000 Jul 19 2004 /dev/dsk/c4t5d0
brw-r----- 1 bin sys 31 0x046000 Jul 19 2004 /dev/dsk/c4t6d0
brw-r----- 1 bin sys 31 0x047000 Jul 19 2004 /dev/dsk/c4t7d0
brw-r----- 1 bin sys 31 0x048000 Jul 19 2004 /dev/dsk/c4t8d0
brw-r----- 1 bin sys 31 0x049000 Jul 19 2004 /dev/dsk/c4t9d0
brw-r----- 1 bin sys 31 0x050000 Aug 26 2004 /dev/dsk/c5t0d0
brw-r----- 1 bin sys 31 0x050100 Aug 26 2004 /dev/dsk/c5t0d1
brw-r----- 1 bin sys 31 0x050200 Sep 6 2004 /dev/dsk/c5t0d2
brw-r----- 1 bin sys 31 0x050300 Nov 25 2004 /dev/dsk/c5t0d3
brw-r----- 1 bin sys 31 0x05a000 Jul 19 2004 /dev/dsk/c5t10d0
brw-r----- 1 bin sys 31 0x05b000 Jul 19 2004 /dev/dsk/c5t11d0
brw-r----- 1 bin sys 31 0x05c000 Jul 19 2004 /dev/dsk/c5t12d0
brw-r----- 1 bin sys 31 0x05d000 Jul 19 2004 /dev/dsk/c5t13d0
brw-r----- 1 bin sys 31 0x05e000 Jul 19 2004 /dev/dsk/c5t14d0
brw-r----- 1 bin sys 31 0x05f000 Jul 19 2004 /dev/dsk/c5t15d0
brw-r----- 1 bin sys 31 0x051000 Jul 19 2004 /dev/dsk/c5t1d0
brw-r----- 1 bin sys 31 0x052000 Jul 19 2004 /dev/dsk/c5t2d0
brw-r----- 1 bin sys 31 0x053000 Jul 19 2004 /dev/dsk/c5t3d0
brw-r----- 1 bin sys 31 0x054000 Jul 19 2004 /dev/dsk/c5t4d0
brw-r----- 1 bin sys 31 0x055000 Jul 19 2004 /dev/dsk/c5t5d0
brw-r----- 1 bin sys 31 0x056000 Jul 19 2004 /dev/dsk/c5t6d0
brw-r----- 1 bin sys 31 0x057000 Jul 19 2004 /dev/dsk/c5t7d0
brw-r----- 1 bin sys 31 0x058000 Jul 19 2004 /dev/dsk/c5t8d0
brw-r----- 1 bin sys 31 0x059000 Jul 19 2004 /dev/dsk/c5t9d0
brw-r----- 1 bin sys 31 0x06a000 Aug 26 2004 /dev/dsk/c6t10d0
brw-r----- 1 bin sys 31 0x06b000 Aug 26 2004 /dev/dsk/c6t11d0
brw-r----- 1 bin sys 31 0x06c000 Aug 26 2004 /dev/dsk/c6t12d0
brw-r----- 1 bin sys 31 0x06d000 Aug 26 2004 /dev/dsk/c6t13d0
brw-r----- 1 bin sys 31 0x06e000 Aug 26 2004 /dev/dsk/c6t14d0
brw-r----- 1 bin sys 31 0x06f000 Aug 26 2004 /dev/dsk/c6t15d0
brw-r----- 1 bin sys 31 0x061000 Aug 26 2004 /dev/dsk/c6t1d0
brw-r----- 1 bin sys 31 0x062000 Aug 26 2004 /dev/dsk/c6t2d0
brw-r----- 1 bin sys 31 0x063000 Aug 26 2004 /dev/dsk/c6t3d0
brw-r----- 1 bin sys 31 0x064000 Aug 26 2004 /dev/dsk/c6t4d0
brw-r----- 1 bin sys 31 0x065000 Aug 26 2004 /dev/dsk/c6t5d0
brw-r----- 1 bin sys 31 0x066000 Aug 26 2004 /dev/dsk/c6t6d0
brw-r----- 1 bin sys 31 0x067000 Aug 26 2004 /dev/dsk/c6t7d0
brw-r----- 1 bin sys 31 0x068000 Aug 26 2004 /dev/dsk/c6t8d0
brw-r----- 1 bin sys 31 0x069000 Aug 26 2004 /dev/dsk/c6t9d0
# ll /dev/rdsk/*
crw-r----- 1 bin sys 188 0x006000 Apr 13 14:04 /dev/rdsk/c0t6d0
crw-r----- 1 bin sys 188 0x012000 Dec 31 2003 /dev/rdsk/c1t2d0
crw-r----- 1 bin sys 188 0x036000 Apr 13 14:04 /dev/rdsk/c3t6d0
crw-r----- 1 bin sys 188 0x040000 Jul 19 2004 /dev/rdsk/c4t0d0
crw-r----- 1 bin sys 188 0x040100 Jul 19 2004 /dev/rdsk/c4t0d1
crw-r----- 1 bin sys 188 0x040200 Sep 6 2004 /dev/rdsk/c4t0d2
crw-r----- 1 bin sys 188 0x040300 May 26 21:46 /dev/rdsk/c4t0d3
crw-r----- 1 bin sys 188 0x04a000 Jul 19 2004 /dev/rdsk/c4t10d0
crw-r----- 1 bin sys 188 0x04b000 Jul 19 2004 /dev/rdsk/c4t11d0
crw-r----- 1 bin sys 188 0x04c000 Jul 19 2004 /dev/rdsk/c4t12d0
crw-r----- 1 bin sys 188 0x04d000 Jul 19 2004 /dev/rdsk/c4t13d0
crw-r----- 1 bin sys 188 0x04e000 Jul 19 2004 /dev/rdsk/c4t14d0
crw-r----- 1 bin sys 188 0x04f000 Jul 19 2004 /dev/rdsk/c4t15d0
crw-r----- 1 bin sys 188 0x041000 Jul 19 2004 /dev/rdsk/c4t1d0
crw-r----- 1 bin sys 188 0x042000 Jul 19 2004 /dev/rdsk/c4t2d0
crw-r----- 1 bin sys 188 0x043000 Jul 19 2004 /dev/rdsk/c4t3d0
crw-r----- 1 bin sys 188 0x044000 Jul 19 2004 /dev/rdsk/c4t4d0
crw-r----- 1 bin sys 188 0x045000 Jul 19 2004 /dev/rdsk/c4t5d0
crw-r----- 1 bin sys 188 0x046000 Jul 19 2004 /dev/rdsk/c4t6d0
crw-r----- 1 bin sys 188 0x047000 Jul 19 2004 /dev/rdsk/c4t7d0
crw-r----- 1 bin sys 188 0x048000 Jul 19 2004 /dev/rdsk/c4t8d0
crw-r----- 1 bin sys 188 0x049000 Jul 19 2004 /dev/rdsk/c4t9d0
crw-r----- 1 bin sys 188 0x050000 Aug 26 2004 /dev/rdsk/c5t0d0
crw-r----- 1 bin sys 188 0x050100 Aug 26 2004 /dev/rdsk/c5t0d1
crw-r----- 1 bin sys 188 0x050200 Sep 6 2004 /dev/rdsk/c5t0d2
crw-r----- 1 bin sys 188 0x050300 Nov 25 2004 /dev/rdsk/c5t0d3
crw-r----- 1 bin sys 188 0x05a000 Jul 19 2004 /dev/rdsk/c5t10d0
crw-r----- 1 bin sys 188 0x05b000 Jul 19 2004 /dev/rdsk/c5t11d0
crw-r----- 1 bin sys 188 0x05c000 Jul 19 2004 /dev/rdsk/c5t12d0
crw-r----- 1 bin sys 188 0x05d000 Jul 19 2004 /dev/rdsk/c5t13d0
crw-r----- 1 bin sys 188 0x05e000 Jul 19 2004 /dev/rdsk/c5t14d0
crw-r----- 1 bin sys 188 0x05f000 Jul 19 2004 /dev/rdsk/c5t15d0
crw-r----- 1 bin sys 188 0x051000 Jul 19 2004 /dev/rdsk/c5t1d0
crw-r----- 1 bin sys 188 0x052000 Jul 19 2004 /dev/rdsk/c5t2d0
crw-r----- 1 bin sys 188 0x053000 Jul 19 2004 /dev/rdsk/c5t3d0
crw-r----- 1 bin sys 188 0x054000 Jul 19 2004 /dev/rdsk/c5t4d0
crw-r----- 1 bin sys 188 0x055000 Jul 19 2004 /dev/rdsk/c5t5d0
crw-r----- 1 bin sys 188 0x056000 Jul 19 2004 /dev/rdsk/c5t6d0
crw-r----- 1 bin sys 188 0x057000 Jul 19 2004 /dev/rdsk/c5t7d0
crw-r----- 1 bin sys 188 0x058000 Jul 19 2004 /dev/rdsk/c5t8d0
crw-r----- 1 bin sys 188 0x059000 Jul 19 2004 /dev/rdsk/c5t9d0
crw-r----- 1 bin sys 188 0x06a000 Aug 26 2004 /dev/rdsk/c6t10d0
crw-r----- 1 bin sys 188 0x06b000 Aug 26 2004 /dev/rdsk/c6t11d0
crw-r----- 1 bin sys 188 0x06c000 Aug 26 2004 /dev/rdsk/c6t12d0
crw-r----- 1 bin sys 188 0x06d000 Aug 26 2004 /dev/rdsk/c6t13d0
crw-r----- 1 bin sys 188 0x06e000 Aug 26 2004 /dev/rdsk/c6t14d0
crw-r----- 1 bin sys 188 0x06f000 Aug 26 2004 /dev/rdsk/c6t15d0
crw-r----- 1 bin sys 188 0x061000 Aug 26 2004 /dev/rdsk/c6t1d0
crw-r----- 1 bin sys 188 0x062000 Aug 26 2004 /dev/rdsk/c6t2d0
crw-r----- 1 bin sys 188 0x063000 Aug 26 2004 /dev/rdsk/c6t3d0
crw-r----- 1 bin sys 188 0x064000 Aug 26 2004 /dev/rdsk/c6t4d0
crw-r----- 1 bin sys 188 0x065000 Aug 26 2004 /dev/rdsk/c6t5d0
crw-r----- 1 bin sys 188 0x066000 Aug 26 2004 /dev/rdsk/c6t6d0
crw-r----- 1 bin sys 188 0x067000 Aug 26 2004 /dev/rdsk/c6t7d0
crw-r----- 1 bin sys 188 0x068000 Aug 26 2004 /dev/rdsk/c6t8d0
crw-r----- 1 bin sys 188 0x069000 Aug 26 2004 /dev/rdsk/c6t9d0
Condition of my server running normally, now. (without VG00 at /etc/lvmtab)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 07:38 PM
05-26-2005 07:38 PM
Re: missing vg00 at /etc/lvmtab
Issue "#vgcfgrestore -n /dev/vg00 -l" command and see if you can see the 2 disks c0t6d0 & c3t6d0 in the o/p.
If yes, you would need to restore vg00 using vgcfgrestore.
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t6d0 /dev/rdsk/c0t6d0
Then run "vgscan -v"
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2005 11:30 AM
05-27-2005 11:30 AM
Re: missing vg00 at /etc/lvmtab
from ur second response..i think you moved the lvmtab to lvmtab.ori and deleted vg04 and extended vg03. Is this what you meant, could you clarify further, from first.. what you did before you ran into errors...with vgscan -a.
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 02:44 PM
05-29-2005 02:44 PM
Re: missing vg00 at /etc/lvmtab
# vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c3t6d0 (Bootable)
/dev/rdsk/c0t6d0 (Bootable)
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t6d0 /dev/rdsk/c0t6d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
anything else ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 02:49 PM
05-29-2005 02:49 PM
Re: missing vg00 at /etc/lvmtab
u right, i move /etc/lvmtab to /etc/lvmtab.ori.
before do that, i try to remove vg04 but i can't.i forgot what i did..sorry.i remember, i remove /dev/vg04/group and than i make mknod /dev/dsk/vg04.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 03:09 PM
05-29-2005 03:09 PM
Re: missing vg00 at /etc/lvmtab
Please remember, all LVM commands update /etc/lvmtab , after it finishes the action .Since you moved /etc/lvmtab , thats the reason you couldn't remove vg04, or perform any lvm actions.
To recover
1) copy lvmtab.ori to /etc/lvmtab.
2) Remove vg04 using umount,lvremove and vgreduce and then by vgremove. (never remove group file before you have done this).follow the below procedure.
a) umount all the FS using LV's from vg04.
mount | grep -i vg04.
umount /dev/vg04/lv(nn).
b) vgdisplay to see how many PV are there in it.
vgdisplay -v vg04
c) remove all the PV leaving only one.
vgreduce /dev/vg04
d) vgremove vg04 (remove the VG vg04)
3) Then you can proceed adding vg03
a) mkdir /dev/vg03
b) ll /dev/vg*/group
c) use the next minor number which is in sequence.
mknod /dev/vg03/group c 64 0xnn0000
where nn , is the next number in sequence to command shown in step 3.b
d)pvcreate /dev/rdsk/cXtYdZ
e)vgcreate /dev/vg03 /dev/rdsk/cXtYdZ
f)lvcreate -L
g)newfs -F
h)mkdir
i) mount /dev/vg03/lvolX
n,X,Y,Z are numbers that you many get from commands specific to your machine. I have generalized.
The errors your are getting because it coudn't find /etc/lvtab file as you had moved it orior to your actions.
I hope this helps.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 03:27 PM
05-29-2005 03:27 PM
Re: missing vg00 at /etc/lvmtab
I have already remove vg04 last week. I extend vg03 after remove vg04 last week too.
Condition of server, now:
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2048000 138552 1894560 7% /
/dev/vg00/lvol1 298928 41288 227744 15% /stand
/dev/vg00/lvol8 4710400 2946160 1750768 63% /var
/dev/vg00/lvol7 2080768 1854072 226696 89% /usr
/dev/vg00/lvol4 1024000 134888 882184 13% /tmp
/dev/vg01/lvol2 20480000 620036 19549712 3% /oradata01/OPRD62
/dev/vg00/lvol6 2105344 1799792 303184 86% /opt
/dev/vg00/lvol5 5120000 1462544 3632288 29% /home
/dev/vg02/lvol1 92160000 36862920 54865120 40% /db11i
/dev/vg02/lvol2 10240000 3576278 6455542 36% /comshare
/dev/vg00/lvol9 4194304 3500236 655834 84% /bea
/dev/vg01/lvol1 92160000 85185640 6921384 92% /apps11i
/dev/vg03/lvol1 143360000 136675888 6631960 95% /appstest
In /etc/lvmtab, there is no vg00. this will be make me trouble if we reboot this server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 03:50 PM
05-29-2005 03:50 PM
Re: missing vg00 at /etc/lvmtab
from ur previous response i found this..
# vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c3t6d0 (Bootable)
/dev/rdsk/c0t6d0 (Bootable)
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t6d0 /dev/rdsk/c0t6d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
anything else ?
Please remember, the response from the command shows that you have made a systax error.
You can't give two raw device file at the end to "vgcfgrestore". you need to give one at a time.
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t6d0
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c0t6d0
Then check,
pvdisplay -v /dev/dsk/c3t6d0 | more
pvdisplay -v /dev/dsk/c0t6d0 | more
If it has indeed restored...
Then,move current lvmtab to /tmp/lvmtabtmp
Then issue the command
vgscan -a
Then check, whether vg00 is restored to lvtab.
#strings /etc/lvmtab
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 04:15 PM
05-29-2005 04:15 PM
Re: missing vg00 at /etc/lvmtab
kernel that running indicates 1 disk at /dev/vg00 but at vg00.conf indicates 2 disks for vg00
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c3t6d0
vgcfgrestore: Couldn't query physical volume "/dev/dsk/c0t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgrestore: Mismatch between the backup file and the running kernel:
Kernel indicates 1 disks for /dev/vg00; /etc/lvmconf/vg00.conf indicates 2 disks. Force restoring data per user request.
Volume Group configuration has been restored to /dev/rdsk/c3t6d0
# vgcfgrestore -R -n /dev/vg00 /dev/rdsk/c0t6d0
vgcfgrestore: Couldn't query physical volume "/dev/dsk/c0t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgrestore: Mismatch between the backup file and the running kernel:
Kernel indicates 1 disks for /dev/vg00; /etc/lvmconf/vg00.conf indicates 2 disks. Force restoring data per user request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 04:20 PM
05-29-2005 04:20 PM
Re: missing vg00 at /etc/lvmtab
# pvdisplay -v /dev/dsk/c0t6d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t6d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t6d0".
# pvdisplay -v /dev/dsk/c3t6d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c3t6d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c3t6d0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:05 PM
05-29-2005 06:05 PM
Re: missing vg00 at /etc/lvmtab
Do you have the /dev/slvmvg file
If so check this doc KBRC00012975
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:18 PM
05-29-2005 06:18 PM
Re: missing vg00 at /etc/lvmtab
check out this link about missing vg00 in /etclvmtab ..../dev/slvmvg is the problem:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=885990
regards,
Henk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:30 PM
05-29-2005 06:30 PM
Re: missing vg00 at /etc/lvmtab
thanks for your reply. I just solved this problem.
many thanks,
piyut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2005 06:31 PM
05-29-2005 06:31 PM
Re: missing vg00 at /etc/lvmtab
there is one disk internal stale.