Operating System - HP-UX
1753946 Members
8157 Online
108811 Solutions
New Discussion юеВ

Re: Mounting HDD from One system to another

 
SOLVED
Go to solution
R.K. #
Honored Contributor

Re: Mounting HDD from One system to another

Sure....you can try this now.
Don't fix what ain't broke
Malps
Advisor

Re: Mounting HDD from One system to another

Hi R.K.
As you said

5. You need to "transfer" it to the /etc/lvmconf directory on the new system before you issue this command:
# vgimport -v /dev/vgxx /dev/dsk/cxtydz

What do you mean by "transfer to /etc/lvmconf" directory on the new system?

Also can I use following command

# vgimport -v /dev/vg01 /dev/dsk/c2t1d0 /dev/dsk/c3t2d0

As I want to make these two disks (/dev/dsk/c2t1d0 & /dev/dsk/c3t2d0) a part of volume group vg01.

Thank You!
R.K. #
Honored Contributor

Re: Mounting HDD from One system to another


>>You need to "transfer" it to the /etc/lvmconf directory

Since we are not using mapfile.....so no need to transfer the file from tape to running server.

Yes..use below command if both these disks were in same VG in down server.
# vgimport -v /dev/vg01 /dev/dsk/c2t1d0 /dev/dsk/c3t2d0
Don't fix what ain't broke
Torsten.
Acclaimed Contributor

Re: Mounting HDD from One system to another

Solution is easy.

You did

# mount /dev/dsk/c3t2d0 /newdisk

but the disk is a bootable disk, all the data is in partition 2, so you need to mount the "s2" part:

# mount /dev/dsk/c3t2d0s2 /newdisk

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!   
Torsten.
Acclaimed Contributor

Re: Mounting HDD from One system to another

Sorry, the command was nonsense.

You need to vgimport both "s2" devices, then mount the lvols.

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!   
Malps
Advisor

Re: Mounting HDD from One system to another

Hi R.K.

The Issue is finally resolved.

I thanks a lot for your timely help.

Please suggest any good readings so that I can be confident as far as LVM is concerned!

Bye Take Care!!!
Johnson Punniyalingam
Honored Contributor

Re: Mounting HDD from One system to another

Hi Malps,

check Below Thread for , LVM documentation

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1259562397968+28353475&threadId=446311

Finally .. Please D'not forget to assign points for people who help to resolve your problem.

0 points for my post.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
R.K. #
Honored Contributor

Re: Mounting HDD from One system to another

Hi Malps..

Attached a doc for LVM which discusses some common activities done in LVM.

Regds..
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: Mounting HDD from One system to another

Another troubleshooting doc that might be helpful for you.
Don't fix what ain't broke
Malps
Advisor

Re: Mounting HDD from One system to another

Hey Thanks R.K.

This all seems a lot of Information as of now!!

Thanks for sharing!!

Cheers!