- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Connecting an external Surestore Unit
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
тАО08-29-2001 08:14 AM
тАО08-29-2001 08:14 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 08:24 AM
тАО08-29-2001 08:24 AM
Re: Connecting an external Surestore Unit
If you are talking of losing data on disks then it is possible in case you assign a clshing id to the Surestore , otherwise it is very simple.
1.Remove it physically and check for the SCSI id on the drive , disks attached to the contorller where you will attach the surestore.
2. Connect and bring up the box , you will be able to see the drive.
All the best.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 08:24 AM
тАО08-29-2001 08:24 AM
Re: Connecting an external Surestore Unit
All you need to do is vgexport the volume groups on the external surestore drives, unplug them and plug into the other HP server, then do an ioscan and insf -e to create the new disk device files, then you can use the vgimport command to load the data onto your new servers without losing anything!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 08:24 AM
тАО08-29-2001 08:24 AM
Solutionvgexport -m /var/tmp/vg??.map -p -s -v vg??
Copy the vg??.map file to the surestore's new home.
Move the surestore unit to the other box, power everything up and make sure that all the luns on the surestore are seen by the new box.
Now on the new box do a:
mkdir /dev/vg??
mknod /dev/vg??/group c 64 0x0?0000
vgimport -m /var/tmp/vg??.map -s -v vg??
vgchange -a y /dev/vg??
You should now be able to mount the file systems and see the data from your surestore unit.
I ABSOLUTELY DO recommend that you do a backup before you do anything JUST IN CASE!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:35 PM
тАО08-29-2001 01:35 PM
Re: Connecting an external Surestore Unit
prior to removing the unit, do I umount it at all. If so, do I umount it after the vgexport?
The unit is /dev/vg02/lvol1. When I do vgexport, I write it like this:
vgexport -m /var/tmp/vg02.map -p -s -v vg02
Right? Do I need to put in there the lvol1 or does the lvol1 not needed?
Also, for mknod
mknod /dev/vg/??group c 64 0x0?0000... major,minor numbers...where did you get those. Do I get them from the unit prior to detaching.
Please advise. thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:41 PM
тАО08-29-2001 01:41 PM
Re: Connecting an external Surestore Unit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 01:45 PM
тАО08-29-2001 01:45 PM
Re: Connecting an external Surestore Unit
so it looks like:
mknod /dev/vg02/group c 64 0x020000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 03:08 PM
тАО08-29-2001 03:08 PM
Re: Connecting an external Surestore Unit
You can do the vgexport at any time. the '-p' option stands for preview, but it will build the map file for you and that is really all you need for this operation. You don't have to worry about specifying the lvol with vgexport. It will export the entire volume group.
Prior to removing the unit, you should unmount the LVs, and deactivate the VG (vgchange -a n vg02). If you have any entries for these LVs in /etc/fstab, make sure that you remove them.
When importing into the new machine:
Prior to creating the group file with the mknod command, do an 'll /dev/vg*/group' and make sure that no other group file has a 0x020000 minor number.
Your mknod command in your last response is exactly correct.
I hope this helps you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 06:39 PM
тАО08-29-2001 06:39 PM
Re: Connecting an external Surestore Unit
The SAM interface finds all unassigned disks and connects all of them into volume groups. All you need to provide is the name of the volume (like vg02) and unless you have non-standard lvol names, that's it. SAM will create the VG directory and unique group file plus create the correct lvol names. You will have to manually provide alternate links (a second controller channel) if they exist.
If the lvols are non-standard, use the mapfile(s) created on the source system. SAM has a line to specify the name of the mapfile. Note that mapfiles are simple ASCII files that can be created by hand if necessary (except for the -s option which adds the serial number to the mapfile).
Bill Hassell, sysadmin