Operating System - HP-UX
1752778 Members
5882 Online
108789 Solutions
New Discussion

Re: How to mount a NetApp Volume currently being used on another host

 
NDO
Super Advisor

How to mount a NetApp Volume currently being used on another host

Hi All

 

I have a 11.23 server with the following file system from a NetApp:

/dev/vg05/lvol1    1551695872 1240285583 291947159   81% /xyz

 I need to unmount this file system , and mount this on another server running 11.31.

The unmounting bit is easy, them I might have to lvreduce/lvremove that lvol, them the NetApp admin will unmap this and map it onto another server.

But because this LUN has already data on it and I want to be able to see this data on another server, HOW do I set it up?

 

regards

 

FR

10 REPLIES 10
Patrick Wallek
Honored Contributor

Re: How to mount a NetApp Volume currently being used on another host

Do NOT lvreduce or lvremove on the current server.  That WILL wipe out any data that is there.

 

On the current server do the following:

 

# vgexport -p -v -s -m /tmp/vg05.map /dev/vg05

# umount /xyz

# vgchange -a n vg05

 

Now have your Netapp admin present that storage / LUN to your other server.

 

On the 2nd server:

 

# ioscan -fnC disk

to see if you see the storage.

 

# insf -e

to create the disk device files.

 

Now create the /dev/vg05 (or whatever you want to name it) directory and then use mknod to create the group file.

 

# mkdir /dev/vg05

# mknod /dev/vg05/group c 64 0x050000

 

Use whatever minor number is available and appropriate.

 

Copy the /tmp/vg05.map from you other server to this server.

Now vgimport the vg.

 

# vgimport -s -v -m /tmp/vg05.map /dev/vg05

 

# mount /dev/vg05/lvol1 /xyz

 

Now your data should be available.

 

Don't forget to update /etc/fstab on this server so it mounts automatically.

NDO
Super Advisor

Re: How to mount a NetApp Volume currently being used on another host

What if the luns were previuosly mounted on a solaris system, How can I mount on an HP-UX server 11.31?

 

 

 

Dennis Handly
Acclaimed Contributor

Re: How to mount a NetApp Volume currently being used on another host

>What if the luns were previously mounted on a solaris system?

 

What type of filesystem?  I doubt they are compatible?

NDO
Super Advisor

Re: How to mount a NetApp Volume currently being used on another host

Hi

 

Thanks for your reply, I guess is not going to work, because in solaris there were a UFS file system but on HP-UX, they will be vxfs....

So its not going to work right?

 

FR

Dennis Handly
Acclaimed Contributor
NDO
Super Advisor

Re: How to mount a NetApp Volume currently being used on another host

 

 

Hi

 

From one the links you provide, it says that HFS its only being used on a PA-RISC systems, so I am using an itanium rx4640 system, so nothing I ca do right?

 

 

 

Dave Olker
HPE Pro

Re: How to mount a NetApp Volume currently being used on another host

How does the NetApp filer see the volume?  Is this presented via Fibre Channel?  iSCSI?  I'm wondering if the NetApp filer could present the volume to the HP-UX via NFS and have the HP-UX box make sense of the data.

 

Dave

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
NDO
Super Advisor

Re: How to mount a NetApp Volume currently being used on another host

Its presented via fiber

Dennis Handly
Acclaimed Contributor

Re: How to mount a NetApp Volume currently being used on another host

>it says that HFS its only being used on a PA-RISC systems, so I am using an integrity rx4640 system

 

I think that was for /stand.  You still may be able to choose when you create them.