Operating System - HP-UX
1855421 Members
4131 Online
104110 Solutions
New Discussion

Unable to mount drive on new machine...

 
JerryT
Occasional Visitor

Unable to mount drive on new machine...

Here is my issue.  I created a new RAID 0 drive on Server 1, copied data to it, moved it to Server 2.  Performed the vgimport and other steps, and everything worked!!  I then attempted to make a copy of the original disk, and put the second disk into Server 1.  That has failed.  Detailed instructions below.

 

I recently built a drive on rx2660 with RAID controller.  Size of disk is 146GB.  I ran the following commands:

saconfig ciss0 -R 0 -p 2T:1:6

I used sam to create the volume groups, lvols, and filesystems.

I was forced to use a buffer size 8M, PV 12, LV 128.

 

I then copied data on to the drive, verified that it was accurate.

I performed vgexport, unmounted the drive, and put it in another server booted the server, and did the following:

echo “/dev/vg02/lvol1 /u1 vxfs defaults 0 2” >> /etc/fstab

 echo “/dev/vg02/lvol2 /ora vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg02/lvol3 /ora_AS vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg02/lvol4 /oradvr vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg02/lvol5 /oradvrtest vxfs defaults 0 2” >> /etc/fstab

mkdir /dev/vg02

mknod /dev/vg02/group c 64 0x020000

vgimport -v -m /tmp/vg02.mapfile /dev/vg02 /dev/dsk/cotod2

vgchange -a y /dev/vg02

mount /u1

mount /ora

mount /ora_AS

mount /oradvr

mount /oradvrtest

 

I then did the same procedure for disk #2 as shown below:

 

echo “/dev/vg07/lvol1 /u1 vxfs defaults 0 2” >> /etc/fstab

 echo “/dev/vg07/lvol2 /ora vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg07/lvol3 /ora_AS vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg07/lvol4 /oradvr vxfs defaults 0 2” >> /etc/fstab

echo “/dev/vg07/lvol5 /oradvrtest vxfs defaults 0 2” >> /etc/fstab

mkdir /dev/vg07

mknod /dev/vg07/group c 64 0x070000

 

 

vgimport -v -m /tmp/vg07.mapfile /dev/vg07 /dev/dsk/c0t0d4

 

But, when I perform the vgimport I receive the message:

Physical Volume "/dev/dsk/c0t0d3" contains no LVM information

 

Any ideas?

3 REPLIES 3
JerryT
Occasional Visitor

Re: Unable to mount drive on new machine...

Oops...  Copied the wrong error message.

 

Physical Volume "/dev/dsk/c0t0d4" contains no LVM information

Robert_Jewell
Honored Contributor

Re: Unable to mount drive on new machine...

> I then copied data on to the drive, verified that it was accurate

By what means did you copy the data? The error message is acting like the disk was never an LVM disk.

-Bob
----------------
Was this helpful? Like this post by giving me a thumbs up below!
Torsten.
Acclaimed Contributor

Re: Unable to mount drive on new machine...

Since this is a smart array logical drive, you should check first if the controller claims the logical drive (sautil and saconfig)!

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!