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
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
02-10-2005 03:29 AM
02-10-2005 03:29 AM
We have an N-Class server with two Tachyon fibre channel cards. A while back this sever was connected to a VA storage array. We moved it onto an EMC box but kept all the data intact on the VA, since we might need to use it again.
Stupidly no mapfiles were created of the volume groups on the VA. I now have a requirement to patch the server back into the VA, but obviously I have no mapfiles with which to re-import the volume groups and create the logical volumes. Am I correct in understanding, from the man page, that vgscan will help me out by probing all the PVs and recreating it all for me? Leaving me to just vgchange the VGs once they are back?
If not, is there any other way to bring back those VGs? All the data is intact on the VA - has not changed in any way, the cables were just pulled from it and it's been sitting doing nothing.
Thanks for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:35 AM
02-10-2005 03:35 AM
Re: vgscan
a vgscan -v -p is enough
You then need to prepare for a vgimport and vgimport /dev/vgNN /dev/dsk/cztyd0 /dev/dsk/cztyd1 /dev/dsk/cztyd2 ...
afterwards vgchange and see if everything is ok.
For cross-checking I'd recommend You to recover an old /etc/lvmtab and /etc/lvmconf to /tmp and compare the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:38 AM
02-10-2005 03:38 AM
Re: vgscan
Did you ever run an ignite on the machine ? -Ignite creates map files in /etc/lvmconf directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:41 AM
02-10-2005 03:41 AM
Re: vgscan
Of course, the device nodes for these new devices will need to be in existence before any vgscan can "see" them so after connecting them cables, you will need to do an ioscan -f and an insf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:43 AM
02-10-2005 03:43 AM
Re: vgscan
So vgscan will rebuild the /etc/lvmtab.. then I need to import the VGs manually, which is fine since I have the lvmtab for reference.
The only problem here, if I understand correctly, is that we did use non-standard naming conventions for the LVs. So I will get a bunch of lvol1, lvol2 etc for each VG - and I will then have to mount those volumes in order to ascertain what data they contain and hence at what mountpoints to put them under?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:47 AM
02-10-2005 03:47 AM
Re: vgscan
# for DSK in *
do
VGID=$(echo "0x2008?4D" | adb $DSK | awk '{print $NF}')
echo "$DSK $VGID" >> /tmp/list
done
# sort -bk 2 /tmp/list >> /tmp/PV-VGID.list
remove DVD-ROM and VG00 from the file and import the VGs that have the identical second column (VGID).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:48 AM
02-10-2005 03:48 AM
Re: vgscan
remove DVD-ROM and VG00 from the file and import the PVs that have the identical second column (VGID).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:50 AM
02-10-2005 03:50 AM
Re: vgscan
also beware - the maps and backups in the current /etc/lvmconf/ get update by every run of vgcfgbackup, so don't trust them.