Operating System - HP-UX
1835963 Members
1996 Online
110088 Solutions
New Discussion

Raw restore and vxfs version

 
Ninad_1
Honored Contributor

Raw restore and vxfs version

Hi Gurus,

I desperately need your help.
We have restored raw filesystem backup from HP-UX 11.11 to HP-UX 11.00 ( its a vxfs filesystem ) and when I try to mount the filesystem on the HP 11.00 server it gives following error
#mount -F vxfs /dev/vg_migr_01/lvol_db051 /mnt
mount - unrecognized vxfs version number

Please suggest me a method to bring up the filesystem

Bundles of thanks,
Nad
7 REPLIES 7
Alex Lavrov.
Honored Contributor

Re: Raw restore and vxfs version

Raw filesystem?

"raw" and "filesystem" cannot be used together. Filesystem is a known standard structure of files and raw device is just space on the disk ...

You cannot mount raw device as filesystem, that's why it does not work.

Look here:


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=664557
I don't give a damn for a man that can only spell a word one way. (M. Twain)
renarios
Trusted Contributor

Re: Raw restore and vxfs version

Hi Nad,

Please check this thread: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=544830

Cheerio,

Renarios
Nothing is more successfull as failure
Stephen Keane
Honored Contributor

Re: Raw restore and vxfs version

Run the following command (don't forget the -m flag !!)

# mkfs -F vxfs -m /dev/vg_migr_01/lvol_db051

It will tell you whether there is actually a filesystem on your device, without changing it.

If that fails, you haven't got a filesystem on the device.
Ninad_1
Honored Contributor

Re: Raw restore and vxfs version

Hi,

I will clarify few things.
There are some vxfs filesystems on my HP 11.11 server which are backed up as raw filesystems , I got these restored on HP 11.00 and when I try to mount these filesystems it gives the error as mentioned
mount - unrecognized vxfs version number.

I tried the same with test filesystem on HP11.00 to HP11.00 - it works - I need not create a filesystem on the target if I get the raw filesystem restored.

Hope I am clear - even though the situation is a bit complication as it is non standard.
Please let me know if anyone requires any more details.

Regs,
Nad
Stephen Keane
Honored Contributor

Re: Raw restore and vxfs version

# mkfs -F vxfs -m /dev/vg_migr_01/lvol_db051

Doesn't create a filesystem it tells you how a filesystem was created. You could also fsck the filesystem, either command should be run without mounting the filesystem. If either command fails, you won't be able to mount the filesystem.
Alzhy
Honored Contributor

Re: Raw restore and vxfs version

Ninad,

So you backed up RAW (meaning you used vxdump) to some media or stream and you restored via vxrestore. I would have thought vxrestore on your 11.0 system woul dhave alredy flagged this during your vxrestore so I am exploring the possibility that you possibly used dd or some other backup tool that dows raw device backup (i.e. /dev/vgxx/rora01).

Let me ask you, what version of JFS (or Oline JFS) are you running on your 11.11 boxen? If it is less than 3.0 - then you cannot mount a VxFS version 4.0 layout on that release. You will need to upgrade VxFS (JFS to at least a 3.0 or 3.3).

I bet that your 11.11 filesystem layout is at 4.0. You can find out by doing a fstyp -v dev/vgxx/lvolxx.
Hakuna Matata.
Ninad_1
Honored Contributor

Re: Raw restore and vxfs version

Thanks everyone for your responses. I guess as mentioned I need to upgrade JFS on HP 11.00 , but unfortunately that option is not possible. We are trying to sort out this problem using DBA tasks like export import the schema - basically all this restore was done for a database whose backup was taken as raw filesystem backup from the production server.
Anyways Thanks alot for your responses and more importantly your instant replies.

Regs,
Nad