System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Attach San Disk to Tru64 then to HP-UX

Joaquin Martinez_1
Frequent Advisor

Attach San Disk to Tru64 then to HP-UX

Hello. Please, bear with me. We are planning to migrate some data (Oracle dump mostly) from one of our Tru64 server (v5.1) to one HP-UX box (11.31). The Tru64 box has SAN disks attched to it, so we were wondering, in order to avoid using NFS and thus use the network, if we could make the backup, detach the disk from the TRU64 box and attach it to the HP-UX box, but one thing I am not sure on what kind of procedure I can follow to accomplish this task. So, if any of you have any idea or insight about this, it would be appreciated to know.

Any additional info you would need, please let me know and thanks.
13 REPLIES
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

If a Tru64 disk uses an AdvFS file system,
then I doubt that an HP-UX system would
understand its contents. There might be some
basic UNIX file system which both systems
might understand, but if you're not already
using it, then the conversion time might
outweigh the benefit of simply switching the
disk over.

> [...] avoid using NFS [...]

There are many ways to avoid using NFS. One
example: a "tar" pipeline using
remsh/rsh/ssh. That would still involve the
network, of course.

Regardless of the method you choose, I'd run
a test on some non-critical data before I
trusted any scheme to do the right thing with
any valuable data. Moving the disk would
certainly add danger which copying its
contents would not.
Joaquin Martinez_1
Frequent Advisor

Re: Attach San Disk to Tru64 then to HP-UX

Steven, thanks a lot for your reply.

>but if you're not already
>using it, then the conversion time might
>outweigh the benefit of simply switching
>the disk over.

Can't I just create a new filesystem with this filesystem type and dump the data in there ? that way I wont have to convert my whole Tru64 system to this type. Is that possible?

Yeah, I know about the tar, we are just trying to avoid using the network and opt for a faster way (deatching/attaching of disks from san) if possible.
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

> [...] Can't I just create a new filesystem
> with this filesystem type and dump the data
> in there ?

On some new disk, sure. I assume that UFS
is the thing to use on the Tru64 side. I
haven't looked at HP-UX closely enough to
know anything. I use AdvFS on Tru64, and
"vxfs" (or whatever the complex thing is
called) on HP-UX, so I've never tried to do
anything like this. It should be relatively
easy to run a small experiment.

But if you need to copy the stuff once from
AdvFS to UFS, and again from UFS to whatever,
then a network method might start to look
more attractive.
Joaquin Martinez_1
Frequent Advisor

Re: Attach San Disk to Tru64 then to HP-UX

Thanks.

This is a one time procedure, as we are basically migrating, we wont be doing this much. I will try to run an small experiment:

1) Attach a disk to the Tru64 box
2) Createa UFS file system type on this new disk
3) Dump the data to this filesystem
4) Detach the disk from the Tru64 box
5) Attach the disk to the HP-UX
6) Mount the file system

At first, I dont see UFS on HP-UX, but will search a litle bit. I will let you know how it goes.

Thanks again.
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

> At first, I dont see UFS on HP-UX, [...]

I still know nothing, but these could be
interesting:

man 1m mount

man 1m fstyp

I'd guess that "hfs" is about as close as
you'll find. Note that large-file capability
is optional on HP-UX. (The "64" in Tru64 did
have some benefits.)
Kapil Jha
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

Rather than doing whole AdvFS>UFS>Vxfs

I think better would be take the backup on tape and create file system and restore the data from tape.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

> I think better would be [...] tape.

Would tape be better than the network?
Kapil Jha
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

>>"in order to avoid using NFS and thus use the network"

I think Jaoquin is avoid using network in that case I think tape is pretty feasible in this.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

> I think Jaoquin is avoid using network [...]

And why would that be? Because it's slower?
And tape would be faster?
Joaquin Martinez_1
Frequent Advisor

Re: Attach San Disk to Tru64 then to HP-UX

I thought about the tape idea, but it would be extremely slow. Also, the tape drive on the box is not working at all, so it would have to be first replaced.

The idea of not using the network is because of either things, network slowness and bottleneck.

Keep in mind this is a 2TB database.

An update: We tried to do it over the network the day before yesterday, and it took almost day and a half only to make the backup.

Thanks for the suggestions. Next thing I will try is to setup an small test with a lun from the san.
Rob Leadbeater
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

Hi,

I very much doubt that you will get a Tru64 filesystem, be it AdvFS or UFS to be recognised by HP-UX.

What is your network infrastructure ?

How are you currently backing up ?

Presumably this 2TB database is important so it's surprising that you don't appear to have a working tape backup...

Cheers,

Rob
Joaquin Martinez_1
Frequent Advisor

Re: Attach San Disk to Tru64 then to HP-UX

Hi Rob.

Network infraestructure is mixed, 1Gigabit and 10/100, not sure enough.

Yes, we are currently backing up, but it takes many trys to get the tape to work, it will have to be replaced soon.

So, it woulnd't be possible to get a working filesystem on the HP-UX side from the Tru64, huh ?
Steven Schweda
Honored Contributor

Re: Attach San Disk to Tru64 then to HP-UX

> [...] some data [...]
> [no other clues?]

> Keep in mind this is a 2TB database.

It's easier to keep it in mind after you
reveal it.

> So, it woulnd't be possible [...]

Have you run the experiment? I'd trust
reality over a free opinion. (But I wouldn't
bet much on success.)