Operating System - HP-UX
1830730 Members
1861 Online
110015 Solutions
New Discussion

Re: Moving HP Disk System 2100 across Different Systems

 
Sunil Singh_1
Advisor

Moving HP Disk System 2100 across Different Systems

Hi All I have to move one of my external box to another system..... How to do that without loosing data.

Every Thing is in whole disk format

Source Machine: -- RX2600

1:- Having Vg00, Vg01 Vg02 & Vg03

2:- Vg00& Vg01 are internal disks

3:-- Vg02 & Vg03 are the part of external Hp disk system 2100.



Query:--- I have to move HP disk system to another system, without loosing the data & volume group vg02 & vg03.


Destination System: - RX4640

1:- Having Vg00, Vg01 Vg02

2:- All are in internal hard disks.



9 REPLIES 9
Sunil Sharma_1
Honored Contributor

Re: Moving HP Disk System 2100 across Different Systems

Hi,

1. export volume group vg02 and vg03 on rx2600 system don't forget to use -m option to create map file.

2. connect DS2100 to new server.

3. create directory and group file in /dev directory. make sure monor number of group file should be unique. new volume group cn be anme vg03 ad vg4

4. import volume group (vgimport)

5. activate voulme group (vgchange)

6. make appropriate changes in fstab file and

7. mount file systems (mount -a)

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***

Re: Moving HP Disk System 2100 across Different Systems

Use vgexport and vgimport:

on the rx2600:

check the device minor numbers for your vg group files:

ll /dev/vg02/group /dev/vg03/group

They will probably be 0x020000 and 0x030000 - I will assume they are

unmount all filesystems etc.

vgexport -s -m /tmp/vg02.map /dev/vg02
vgexport -s -m /tmp/vg03.map /dev/vg03

copy the .map files onto your rx4640.

Physically move you ds2100 and chek you can see the disks on the rx46400 using ioscan.

Then on the rx4640:

mkdir /dev/vg03 /dev/vg02

mknod /dev/vg02/group c 64 0x020000
mknod /dev/vg03/group c 64 0x030000

vgimport -s -m /tmp/vg02.map /dev/vg02
vgimport -s -m /tmp/vg03.map /dev/vg03

vgchange -a y vg02
vgchange -a y vg03

vgcfgbackup vg02
vgcfgbackup vg03

create mount points and /etc/fstab entries...

That's pretty much it.

One gotcha though - when creating the group files on your rx4640 using mknod, make sure the device minor numbers you use (0x020000 and 0x030000 in my example) are not already in use. You can check this using:

ll /dev/*/group

If they are in use, just increment - they don't actually need to match what they were on the rx2600 - just be unique.

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Sunil Singh_1
Advisor

Re: Moving HP Disk System 2100 across Different Systems

Hi Duncan

I have already /dev/vg02 into rx4640

mknod /dev/vg02/group c 64 0x020000 this group file is alrady in use in rx4640 .....

I already written that,

1:- Having Vg00, Vg01 Vg02 is in rx4640...
Ranjith_5
Honored Contributor

Re: Moving HP Disk System 2100 across Different Systems

Hi Sunil,

You cannot import the disk system in the same vg names coz its already present in the destination server. Instead you can create folders /dev/vg03 and /dev/vg04 and create group files in thatand then do the import.
=========================================
Assuming that you have a map file of vg02 and vg03 the commands are respectively.

#vgimport -v -m vg02.map /dev/vg03

#vgimport -v -m vg03.map /dev/vg04

=========================================

Now your old vg02 will become vg03 and old vg03 will become vg04 in the new server.


regards,
Syam

Re: Moving HP Disk System 2100 across Different Systems

OK, missed that - just rename the vg02 on the rx4640, won't be a problem:

mkdir /dev/vg04

mknod /dev/vg04/group c 64 0x040000

vgimport -s -m /dev/vg02.map /dev/vg04

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Bob_Vance
Esteemed Contributor

Re: Moving HP Disk System 2100 across Different Systems

Using the above help, you will now have two *new* VGs, possibly vg03, vg04.

Any code on the system that needs the VG name will have to be changed, as well.

Most commonly, this would simply be the 'mount', itself.
So, be sure that /etc/fstab is modified to use the new VG names.

tks
bv
"The lyf so short, the craft so long to lerne." - Chaucer
Geoff Wild
Honored Contributor

Re: Moving HP Disk System 2100 across Different Systems

I would use Preview - in case you have to fall back:

vgexport -v -p -s -m /tmp/vg02.map /dev/vg02
vgexport -v -p -s -m /tmp/vg03.map /dev/vg03

ftp map files to new system as well as copy of /etc/fstab file

Then, umount filesystems, vgchange -a n /dev/vg02 and vg03.

Then move disk subsystem...

On new system, set up new vgs.

say vg12 (for old vg02)
say vg13 (for old vg03)

mkdir /dev/vg12
mknod /dev/vg12/group c 64 0x0c0000

mkdir /dev/vg13
mknod /dev/vg13/group c 64 0x0d0000

If hot swapped the disk sub system:
ioscan -fnC disk
insf -e

vgimport -s -v -m /tmp/vg02.map /dev/vg12

vgimport -s -v -m /tmp/vg03.map /dev/vg13

Update /etc/fstab file, then mount -a

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sanjay_6
Honored Contributor

Re: Moving HP Disk System 2100 across Different Systems

Hi sunil,

Maybe this link would help,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000075725050

the itrc doc id is KBRC00014628.

Hope this helps.

regds
Sunil Singh_1
Advisor

Re: Moving HP Disk System 2100 across Different Systems

Thanks to every one.