- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recreate/remount an unknown volume
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
тАО01-19-2004 01:18 AM
тАО01-19-2004 01:18 AM
Recreate/remount an unknown volume
Now I've been asked to get the disks mounted back up and recreate an environment that I don't know anything about! (this is an environment from a company that was aquired by ours long before I came on board!
Right now, I can only guess... maybe each set of drives were a raid 5 group, but I don't know if it was broken into multiple LUN's. Is there a way to scoop any of that info off the drives? ...maybe with dd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:21 AM
тАО01-19-2004 01:21 AM
Re: Recreate/remount an unknown volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:28 AM
тАО01-19-2004 01:28 AM
Re: Recreate/remount an unknown volume
vgscan and pvdisplay should give you a first overview.
Read vgscan-manpage carefully !
Is the OS-Release of the vanished 715 known ?
Would be bad if no LVM has been in use before ....
Good luck
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:32 AM
тАО01-19-2004 01:32 AM
Re: Recreate/remount an unknown volume
This will be no easy task & I believe you are correct i.e. the best & possibly only way to do this is with dd.
Assuming the system sees the PVs or LUNs & the devices have been created, you could do something like
dd if=/dev/rdsk/cXtYdZ of=/tmp/cXtYdZ.out bs=1k count=64
Then analyze the output for clues as to just what VG/LV structure existed. You may need to increase that count depending on just what the PE size was as LVM uses the entire 1st PE to hold the VG info.
I don't know of any way to salvage the data other than a dd stream that skips the VGDA data & starts at the actual beginning of the data & then after VG/LV recreation to stream it back.
Good Luck,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:33 AM
тАО01-19-2004 01:33 AM
Re: Recreate/remount an unknown volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:34 AM
тАО01-19-2004 01:34 AM
Re: Recreate/remount an unknown volume
You have an elephantine task ahead of you. Without having map files and VG information, it is going to be very difficult.
There is one way but it is not guaranteed. You can probe the VGIDs of each of the LUNs. Import all the LUNs matching a VGID using vgimport command.
Use the following command to find out the VGID.
echo 0x2010?2X|adb /dev/dsk/cxtydz|sed -e 's/2010://' -e 's/[ ]*//g'
say c0t0d1, c0t0d2, c0t0d3 are having the same VGIDs. Then they belonged to the same VG. Make sure you have VGIDs for all the disks otherwise vgimport will be unsuccessful.
You can import them using the commands
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgimport /dev/vg01 /dev/dsk/c0t0d1 /dev/dsk/c0t0d2 /dev/dsk/c0t0d3
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 01:37 AM
тАО01-19-2004 01:37 AM
Re: Recreate/remount an unknown volume
Go into SAM, go to Disks And File System, then go to Volume Groups and then from the Actions menu select Import. SAM will then look at all the disks on the system and tell you which ones have Volume Groups that can be imported. It will, I think, then create the VGs and import the VGs and LVOLs (named lvol1, lvol2, etc.) of the VGs you select.
Hopefully this 715 was on HP-UX 10.20 which did use LVM by default. I would kind of doubt that the drives were a raid 5 set, unless the Mylex tower supports Raid 5 itself. It is possible that the disks were mirrors.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 03:28 AM
тАО01-19-2004 03:28 AM
Re: Recreate/remount an unknown volume
If this was originally on an HPUX v9 (or earlier), will there be any chance that I would corrupt the data by trying to read it on a 10.20 system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2004 03:40 AM
тАО01-19-2004 03:40 AM
Re: Recreate/remount an unknown volume
You wouldn't corrupt them by reading. If it didn't work with adb, then you could try mounting them as they are like
mkdir /disk
mount /dev/dsk/c0t0d1 /disk
This will tell you if the disk was used as a whole disk.
On 9.05, it's a good chance that they were used as whole disks.
-Sri