Operating System - HP-UX
1829149 Members
2186 Online
109986 Solutions
New Discussion

How to install new harddisk in system

 
SOLVED
Go to solution
Henry Chua
Super Advisor

How to install new harddisk in system

If I have a ignite recovery disk, and my system crashed.

1. Can I just put in the raw unformated harddisk and setup the system using the disk?

2. By doing so, do I get back the all the vg and lvs?

3. If the system has a bad physical block, will I be able to create a recovery disk, then fix the error upon installation?

4. Do I need to configure the BIOS or anything if I am installing a harddisk of a different model (different size etc.). If so, how do I do that?

thank you all for your help!!
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: How to install new harddisk in system

Hi Henry,

Did you mean you have a free disk and you want to recover the system using the ignite tape onto it?.

If so, yes. If you didn't make any changes to your Volume groups then you will be able to get everything restored including importing of the volume groups. All you have to do is to put the disk in any slot, boot the system through make_tape_recovery tape, interact with the installation and select the new disk as the boot disk.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Henry Chua
Super Advisor

Re: How to install new harddisk in system

Thanks for the info Sri.

But I was thinking of installing a bigger harddrive this time... do I need to configure anything to make it work?

Thank you all for your kind advise!!!
V. Nyga
Honored Contributor

Re: How to install new harddisk in system

Hi Henry,

if the ignite recovery disk is made with the option -i than you get a menu during installation where you can configure a bigger disk. Otherwise I don't know if it will work.

To 2: You get in minimum all datas from your boot disk - depends to the options you set in make_recovery.

To 3: If the system doesn't boot after fsck, you only can try to mount the old disk to the system after booting with new disk. But then I think you don't need to create a recovery disk - just copy the files you need.
If the system doesn't mount because it asks for fsck, then try to mount with option -f (for force).

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Sridhar Bhaskarla
Honored Contributor
Solution

Re: How to install new harddisk in system

Henry,

In fact, make_tape_recovery/ignite is the safe way to increase the size of the boot disks. So, the answer is happily yes.

You do not need to anything. Simply boot the system from make_tape_recovery tape, interact with install window and select the new disk.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Venkat Bala_2
Advisor

Re: How to install new harddisk in system

Hi! Leandro,

From what I understand you had the application disk on a separate volume group (let's say vg01).

This should work just fine as I do this day in and day out.

ioscan -fnkCdisk
Note the device name for the application disk (let's say /dev/dsk/c1t2d0)

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport /dev/vg01 /dev/dsk/c1t2d0
vgchange -a y vg01
vgcfgbackup vg01
vgscan -v

Make sure that you /etc/fstab is intact, if not restore /etc/fstab from the latest full backup. Then run

mount-a

If you cannot find restorable /etc/fstab then you would have to mount each filesystem manually.

Hope this helps!!

-Venkat