Operating System - HP-UX
1752782 Members
5792 Online
108789 Solutions
New Discussion юеВ

How mounting an external disk containing a lvm ?

 
SOLVED
Go to solution
Tim Nelson
Honored Contributor
Solution

Re: How mounting an external disk containing a lvm ?

You are safe to overide the quorum option.

All these vgimport / vgchange commands do not change data on the disk. They are only reading/importing the VG info / LVM header on the disk.

So unless you physically smash it on the ground or purposefully overrite the data you will not loose anything.

Another note: Once imported, if you do not remember which lvol has your data ( assuming there is more than 1 lvol ) you can repeat the fsck and mount on each one until you find what you are looking for.

RINCE Fr├йd├йric
Occasional Advisor

Re: How mounting an external disk containing a lvm ?

Ok,

/dev/vgnew is active but

when I type fsck on /dev/vgnew/rlvolx (x from 1 to 9) I have the message : fsck : /etc/defaults/fs is used for determining the file system type cannot open device /dev/vgnew/rlvolx file system failure

JB
Robert-Jan Goossens
Honored Contributor

Re: How mounting an external disk containing a lvm ?

start with the lvol9 and work you way back to 1 untill you find you old home

# fsck -F vxfs /dev/vgnew/rlvol9

# mount /dev/vgnew/lvol9 /oldhome

etc

disregard lvol1 (stand)+ lvol2 (swap)and lvol3 (/)
RINCE Fr├йd├йric
Occasional Advisor

Re: How mounting an external disk containing a lvm ?

not again ...

The message is "File system check failure aborting ..."

Thanks
JB
RINCE Fr├йd├йric
Occasional Advisor

Re: How mounting an external disk containing a lvm ?

If you have a solution ?

Sorry for me it's 0H30 in France so I go to bed ...
I hope tomorrow you will find a solution for my server ...
Thanks a lot and wait ...

Bye
JB