Operating System - HP-UX
1833030 Members
2391 Online
110049 Solutions
New Discussion

initialize Hardisk into new version hpux from old version

 
avizen9
Esteemed Contributor

initialize Hardisk into new version hpux from old version

HI,
i was using hpux 10.20 with few external hdd recently i had installed 11.11 in the same server, i had vg01 with 100gb data, after root partion formated can not see vg01 shows unused in sam, how to initialize this data in hpux 11.11

thanks,
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: initialize Hardisk into new version hpux from old version

Shalom,

Assuming you did not over-write part of the data, the command you are looking for is vgimport.

http://docs.hp.com/en/T1859-90038/ch04s03.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jozef_Novak
Respected Contributor

Re: initialize Hardisk into new version hpux from old version

Hello,

you can try to import the volume group (vgimport command). You need a list of physical device files that were comprising the volume group before (see manual page for vgimport).

You need to create the volume group control file manually prior to importing it, something like this:

# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x020000

then you can run vgimport.

J.
Ganesan R
Honored Contributor

Re: initialize Hardisk into new version hpux from old version

Hi Avizen,

It is not surprise that 11.11 could not see the VG01. Because 11.11 does not know anything about VG01 since you have installed freashly. You should have exported the VG01 with map file and import it after 11.11 installation.

Still you can import the VG01 to 11.11. You should knows the disks part of VG01.

Try these steps.

#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000

#vgimport -v /dev/vg01 /dev/dsk/c0t1d0 /dev/dsk/c0t3d0 ...
(specify all the disks which was part of VG01)

#vgchange -a y vg01

Then you can create mount points and mount it.
Best wishes,

Ganesh.