Operating System - HP-UX
1820291 Members
3241 Online
109622 Solutions
New Discussion юеВ

Moving Domain From Server To Another

 
AZayed
Super Advisor

Moving Domain From Server To Another

Dears,

Good day,

We are trying to move domain from server to another. we are using EVA 8000 with HP-UX 11.23 Every time we are trying to import the domain to another server it says : "cannot find physical disks !" and SAM trying to format it. We need to mount the partition it contain important data.

Regards,
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
3 REPLIES 3
Robert-Jan Goossens_1
Honored Contributor

Re: Moving Domain From Server To Another

Hi Ahmad,

Try to locate your moved disks with ioscan.

# ioscan -fnCdisk

Are the device files created for the disks?
If not create the device files and add them to a file in /tmp

# insf -e

# ioscan -fnCdisk

# vi /tmp/disks
/dev/dsk/cxtydz
/dev/dsk/cxtydz
etc

# ll /dev/*/group
pick a free volume group name and a free minor number

# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 minornumber

# mkdir /dev/vgxx

preview import
# vgimport -p -v -f /tmp/disks /dev/vgxx

If all looks ok, imort your disks into the volume group.

# vgimport -f /tmp/disks /dev/vgxx

activate the volume group
# vgchange -a y /dev/vgxx

Create mount point(s)
# mkdir /xyz

Mount your volume(s) on the mount point(s).
# mount /dev/vgxx/lvoly /xyz

Check the data.
# cd /xyz

Ok?
Add the moved filesystem and mount point info to the /etc/fstab.

Regards,
Robert-Jan
Emil Velez
Honored Contributor

Re: Moving Domain From Server To Another


Question 1
You have some disks on a HPUX box. How is the data structured LVM or VxVM or whole disk filesystems ?

Question 2
Have you presented the disks to the other server ?

Question 3
can you see the disks with
vxdisk -o alldgs or some other command. (might have to do a ioscan first)

Then you use vxdg or vgimport to access the structures on the disk so you can mount it.

AZayed
Super Advisor

Re: Moving Domain From Server To Another

Thanks,

We managed to recover the data and add the domain again to the system. As I understood, Why SAM doesn't have an option that add a domain without making file system ?? !!

Regards,
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.