cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX Volume Mount Error

Amit Dixit_2
Regular Advisor

HP-UX Volume Mount Error

Message contains an attachment
Hi,
I am having an HP-UX D Class 9000 Series
server running 10.20.

One of its volume is not getting mounted
but if shutdown and restart the server few
times it gets detected.

Probably the disk is faulty which i need
to replace.

I am having few question for the same
(I.E. How to replace the faulty
disk from the VOLUME and get the
resynced/data back on to the new disk.)

1. How should I identify the faulty disk.
2. What is the process to replace the disk.
3. How to add the disk to the existing volume
and getting the system back to the original
state.

I am having the latest backup from where
I can restore the data.

Please tell me the entire process.

Your adivse would be great help to me + full
points to you.

Thanks,
Amit.

NOTE : FOR YOUR INFORMATION I AM SENDIG THE
vgdisplay output.




1 REPLY 1
Shaikh Imran
Honored Contributor

Re: HP-UX Volume Mount Error

Hi,
This is a bit lengthy process
NOTE : This is just a concept :
Take the O/P of
#strings/etc/lvmtab
#ioscan -kfnC disk
At the time of failure identify which of the following Volume groups are not activated on the server.
VG01
VG02 OR
VG03
identify that volume group belongs to which
Physical disk by the combine use of the above 2 commands.

Take the backup either using sam or cpio

I will advise you to add the disk when all the disks are detected and create a new volume group and new filesystems on that with different names and mount those lvols at the same time and do cpio file-systemwise.
Then slowly remove the disk and check whether everything is working fine.
Identify the path of the disk from ioscan and then replace the disk.

Example :
if your old filesystem is /dev/vg01/lvol1 mounted on /test
mount the new filesystem say /dev/vg05/lvol on /test1
run this for backup
#cd /test
#find . -depth -print |cpio -pdlmvua /test1
This will copy entire contents to test1
Do same for all the lvols on Vg01
Ensure no applications are running while backup.
After this just change the mount point in fstab for all the lvols on vg01 to vg05

Still a lot to Go
This was just a concept.

Regards

I'll sleep when i am dead.