Operating System - HP-UX
1752652 Members
5666 Online
108788 Solutions
New Discussion юеВ

Re: help fo boot disk failure recovery

 
GNOM
Frequent Advisor

Re: help fo boot disk failure recovery

thanks all for your replies.

Finaly I reinstalled the system an old ignite. Now the system boot fine but I have another problem. Then system give different special files for external LUNS (C5t1d0 and C6t0d0 instead of C4t1d0 and C5t0d0). So I'm not able to import old VG.

I tried to remove special files and recreate them but no change.

My question is if it's possible to create manualy a special file for a device. Exple : for the disk in path 0/4/0/0.1.0 with instance 3 create the special fife /dev/dsk/C4t1dO ?

Regards
Torsten.
Acclaimed Contributor

Re: help fo boot disk failure recovery

You don't really need to modify the device files, but you can import the "old vg" with new device files.

What is this command telling you?

# vgscan -p -v

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Avinash20
Honored Contributor

Re: help fo boot disk failure recovery

Do the folloing

# strings /etc/lvmtab
# mv /etc/lvmtab /etc/lvmtab.
# vgscan -v
# strings /etc/lvmtab

If everything all-right
# vgchange -a y
# fsck -y
# mount -a
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Johnson Punniyalingam
Honored Contributor

Re: help fo boot disk failure recovery

My question is if it's possible to create manualy a special file for a device. Exple : for the disk in path 0/4/0/0.1.0 with instance 3 create the special fife /dev/dsk/C4t1dO ?

NO.

vgimport "device file" much better apporach.

Example:-

# Scan your current system to identify all disks by their volume groups.

/usr/sbin/vgscan -p -v

# Import the LVM disk to the current system, citing the block device special file name you noted when the system booted up and the mapfile you created when invoking vgexport at the beginning of the procedure. You can preview the effect of the import by using the -p option.

vgimport -pv -m mapfile /dev/vg06 block_device_special_file
vgimport -v -m mapfile /dev/vg06 block_device_special_file

Thanks,
Johnson











Problems are common to all, but attitude makes the difference