- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Volume group HS but disks OK
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
04-28-2005 09:49 PM
04-28-2005 09:49 PM
I can see the logical volumes in /dev/vgdata1. But in "sam", theses disks are in state unused ! The vgdata1 volume group is invisible in the "sam" list.
How can i recover my vgdata1 and the data that are stored in my disks.
Thanks a lot for help.
grandiere
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 09:52 PM
04-28-2005 09:52 PM
Re: Volume group HS but disks OK
Post the output of vgdisplay -v /dev/vgdata1
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:05 PM
04-28-2005 10:05 PM
Re: Volume group HS but disks OK
#ll /dev/vgdata1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:06 PM
04-28-2005 10:06 PM
Re: Volume group HS but disks OK
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgdata1".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:12 PM
04-28-2005 10:12 PM
Re: Volume group HS but disks OK
Please check
strings /etc/lvmtab
and make sure that the device file matches with the one you get through the ioscan.
if it doesn't matches.
mv /etc/lvmtab /etc/lvmtab.old
vgscan
vgchange -a y /dev/vgdata1
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:12 PM
04-28-2005 10:12 PM
Re: Volume group HS but disks OK
Theses logical volumes are used for Sybase devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 10:33 PM
04-28-2005 10:33 PM
Re: Volume group HS but disks OK
If yes (which i am sure of), then run ioscan -fn and check the device file name for the disks (I suppose the disks in DS 2100 must be in some RAID arrangement, and what is being presented to the OS by this DS is only logical drives).
If you do not find the dev file name for these disks, build these files using "insf -e", take a backup of "/etc/lvmtab" and run "vgscan".
Now u should activate the VG.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:22 PM
04-28-2005 11:22 PM
Re: Volume group HS but disks OK
The commande vgchange responds like this.
--------------------------------------------
[PRISME3]/ $vgchange -a y /dev/vgdata1
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t2d0":
Device busy
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t4d0":
Device busy
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c4t6d0":
Device busy
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c4t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vgdata1":
Quorum not present, or some physical volume(s) are missing.
--------------------------------------------
The vgdata1 is not in RAID arangement.
The ioscan is OK.
--------------------------------------------
disk 5 0/10/0/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 6 0/10/0/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 7 0/10/0/0.4.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t4d0 /dev/rdsk/c4t4d0
disk 8 0/10/0/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
--------------------------------------------
Thanks for you help.
GRANDIERE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:29 PM
04-28-2005 11:29 PM
Re: Volume group HS but disks OK
Can you please post the o/p of
strings /etc/lvmtab??
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:39 PM
04-28-2005 11:39 PM
Re: Volume group HS but disks OK
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c5t9d0
/dev/dsk/c5t10d0
/dev/vgdata
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
/dev/dsk/c2t2d0
/dev/vgdata1
/dev/dsk/c4t2d0
/dev/dsk/c4t4d0
/dev/dsk/c4t6d0
/dev/vgdata2
/dev/dsk/c5t0d0
/dev/dsk/c5t1d0
/dev/dsk/c5t8d0
/dev/vgdata3
/dev/dsk/c5t2d0
/dev/vgdata4
/dev/dsk/c5t3d0
/dev/vgdata5
/dev/dsk/c5t4d0
/dev/vgdata6
/dev/dsk/c5t5d0
/dev/vgdata7
/dev/dsk/c5t6d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:42 PM
04-28-2005 11:42 PM
Re: Volume group HS but disks OK
Regards,
SUraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:46 PM
04-28-2005 11:46 PM
Re: Volume group HS but disks OK
After moving your /etc/lvmtab do a vgscan and then try to activate the VG.
If it still doesn't work, execute the following commands and make sure the size doesn't return with 0KB
diskinfo /dev/rdsk/c4t2d0; diskinfo /dev/rdsk/c4t4d0; diskinfo /dev/rdsk/c4t6d0
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 11:54 PM
04-28-2005 11:54 PM
Re: Volume group HS but disks OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:06 AM
04-29-2005 12:06 AM
Re: Volume group HS but disks OK
I think you forgot to move the /etc/lvmtab,
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
post the output.
vgchange -a y /dev/vgdata1
still problems??
do a diskinfo on the disk as mentioned in my previous thread.
post the output
--Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:13 AM
04-29-2005 12:13 AM
Re: Volume group HS but disks OK
That the new output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:19 AM
04-29-2005 12:19 AM
Re: Volume group HS but disks OK
SCSI describe of /dev/rdsk/c4t2d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
[PRISME3]/etc $diskinfo /dev/rdsk/c4t4d0
SCSI describe of /dev/rdsk/c4t4d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
[PRISME3]/etc $diskinfo /dev/rdsk/c4t6d0
SCSI describe of /dev/rdsk/c4t6d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
[PRISME3]/etc $diskinfo /dev/rdsk/c4t0d0
SCSI describe of /dev/rdsk/c4t0d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
See the fourth disk is OK and in the same disk array.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:23 AM
04-29-2005 12:23 AM
Re: Volume group HS but disks OK
I would requuest you to follow the following steps.
# insf -e C disk
# mv /etc/lvmtab /etc/lvmtab.old.1
# vgscan -v
# vgchange -a y /dev/vgdata1
If it still doesn't work, execute the following commands and make sure the size doesn't return with 0KB
diskinfo /dev/rdsk/c4t2d0; diskinfo /dev/rdsk/c4t4d0; diskinfo /dev/rdsk/c4t6d0
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:30 AM
04-29-2005 12:30 AM
Re: Volume group HS but disks OK
Size reported by diskinfo for c4t2d0, c4t4d0 and c4t6d0 is 0 KB.
Hope you have the backups handy...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:32 AM
04-29-2005 12:32 AM
Re: Volume group HS but disks OK
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:35 AM
04-29-2005 12:35 AM
Re: Volume group HS but disks OK
For the rest the the attached file ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 12:42 AM
04-29-2005 12:42 AM
Re: Volume group HS but disks OK
I will call HP for change disks. Thanks a lot for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 03:08 AM
04-29-2005 03:08 AM
Re: Volume group HS but disks OK
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 07:30 PM
04-29-2005 07:30 PM
Re: Volume group HS but disks OK
No vgimport and vgexport are required to move VG's from one system to another. You can restore LVM configuration through vgcfgrestore command. but at this stage I think that also will not work as your Vg has three failed disks out of total 4. Still try it out othewise create new Vg on new disks ( this is recomended as your new disks are of double sizes then earlier ones). Were these LVOL being used as raw space ? If not you can get the LVOL sizes from any bdf output prior to failures.If yes you require old "vgdisplay -v /dev/vg01" output to know the sizes of these LVOL's prior to failure.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 03:08 AM
05-03-2005 03:08 AM
Re: Volume group HS but disks OK
I thank you very++ much for your help !
I will remake my vgdata1 with new disks and restore data from backups.
Regards.
Emmanuel GRANDIERE