- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hard disk information recovery.
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-18-2004 01:57 PM
05-18-2004 01:57 PM
I will appreciate any help.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:03 PM
05-18-2004 02:03 PM
SolutionTry these steps (I am using vg02 as an example, use whatever VG name and minor number is appropriate for your site):
# cd /dev
# mkdir vg02
# mknod vg02/group c 64 0x020000
(I am using /dev/dsk/c1t2d0 as an example -- again use whatever is appropriate in your case)
# vgimport -v /dev/vg02 /dev/dsk/c1t2d0
If it works you should get a list of LVOLs that were on the disk labeled starting with lvol1.
You can now activate the VG and mount the LVOLs.
# vgchange -a y vg02
# mount /dev/vg02/lvol1 /mnt
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:04 PM
05-18-2004 02:04 PM
Re: Hard disk information recovery.
when u mention delete, did you rm everything or pvremove the whole disk?
if u have done the above, it is quite impossible to recover anything from the disk unless you have backup before the deletion.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:08 PM
05-18-2004 02:08 PM
Re: Hard disk information recovery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:09 PM
05-18-2004 02:09 PM
Re: Hard disk information recovery.
# vgexport /dev/myvg
then you have a good chance of recovery.
If you did this, then no.
# lvremove /dev/myvg/mylvol
# vgreduce .....
# vgremove .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2004 02:12 PM
05-18-2004 02:12 PM
Re: Hard disk information recovery.
I believe LVM will backup the header and then be replaced once the command has run.
try vgcfgrestore VGXX
If the disk is mirrored then run vgsync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 10:47 AM
05-19-2004 10:47 AM
Re: Hard disk information recovery.
I tried patrick's suggestion, but this was the result:
# mkdir vg01
# mknod vg01/group c 64 0x010000
# vgimport -v /dev/vg01 /dev/dsk/c3t5d0
Beginning the import process on Volume Group "/dev/vg01".
vgimport: Warning: Volume Group contains "0" PVs, "1" specified. Continuing.
vgimport: Quorum not present, or some physical volume(s) are missing.
Volume group "/dev/vg01" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
# vgchange -a y vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
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 "vg01":
Quorum not present, or some physical volume(s) are missing.
Is there anything else I can do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 11:02 AM
05-19-2004 11:02 AM
Re: Hard disk information recovery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2004 01:25 PM
05-19-2004 01:25 PM
Re: Hard disk information recovery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 01:38 AM
05-20-2004 01:38 AM
Re: Hard disk information recovery.
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
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 "vg01":
Quorum not present, or some physical volume(s) are missing.
Is there anything else I can do?
***********************************
Regarding the above, you do not have quorum present... meaning GREATER THAN 50% of the disks. Here, simply add an option to not require quorum...
# vgchange -a y -q n vg01
Hope this helps!
Tonya Underwood
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 04:22 AM
05-20-2004 04:22 AM
Re: Hard disk information recovery.
vgchange -a y -q n vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
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 "vg01":
Quorum not present, or some physical volume(s) are missing
Dani, I'm in multi-user mode, with the root's account.
Thank you al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2004 04:28 AM
05-20-2004 04:28 AM
Re: Hard disk information recovery.
vgchange -a y -q n vg01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c3t5d0":
Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c3t5d0":
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 "vg01":
Quorum not present, or some physical volume(s) are missing
Dani, I'm in multi-user mode, with the root's account.
Thank you al
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 05:30 AM
05-21-2004 05:30 AM
Re: Hard disk information recovery.
vgcfgrestore -n /dev/vg01 /dev/rdsk/
NOTE THE rdsk not dsk!!!!
Maybe that will help...
Tonya Underwood
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 05:58 AM
05-21-2004 05:58 AM
Re: Hard disk information recovery.
Does that disk show up in lvmtab under vg01?
If so, run:
vgreduce -l /dev/vg01
If that does not work run:
vgreduce -f /dev/vg01
IF that works, it will tell you the next steps to take!
Let me know if any of this works!
Thanks!
Tonya Underwood