Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

mounting a data disk on a new build system

SOLVED
Go to solution
Paula J Frazer-Campbell
Honored Contributor

mounting a data disk on a new build system

Hi
I removed a disk using sam from my system before doing and rm -r * at root to clean a corrupt universe install (long story).

I have now reinstalled HP-UX 11 on the system and wish to bring this disk back on line without damaging the data on it.

Best method for doing this please.

Paula

If you can spell SysAdmin then you is one - anon
8 REPLIES
Trevor Dyson
Trusted Contributor

Re: mounting a data disk on a new build system

Hi,

Is it an LVM disk? If not LVM and it had a filessyetm then it should be easy to reinstate.

mkdir /mymount
mount /dev/dsk/c?t?d? /mymount

edit /etc/fstab/to make it permanent.

I somehow think I may have missed your real problem though.

Cheers, Trevor
I've got a little black book with me poems in
Madhu Sudhan_1
Respected Contributor

Re: mounting a data disk on a new build system

If you are using lvm, then did you do vgexport ?

Thanks,
...Madhu
Think Positive
Paula J Frazer-Campbell
Honored Contributor

Re: mounting a data disk on a new build system

Hi
No like a fool I did not vgexport it, I let sam do it.

Now at 23:10 after a long day my brain has gone and I just cannot think how to bring it back on line.

Any ideas greatfully received.

Paula

If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: mounting a data disk on a new build system

Trevor
It is a lvm disk :-
Error on mount is:-

mount /dev/dsk/c5t6d0 /anite
/dev/dsk/c5t6d0: unrecognized file system

Paula
If you can spell SysAdmin then you is one - anon
Trevor Dyson
Trusted Contributor

Re: mounting a data disk on a new build system

Try this...

mkdir /dev/vgpray
mknod /dev/vgpray/group c 64 0x010000

(this assumes that you currently only have one volume group configured. If you have more, then make the 0x01 to one greater than the number of VG's you currently have.)

vgimport /dev/vgpray /dev/dsk/c?t?d?

Then check /dev/vgpray to see if any LVs are there. If so then ..woohoo!.

Activate the volume group:

vgchange -a y /dev/vgpray

Then try to mount the lvol(s)

mkdir /lvol1
mount /dev/vg00/lvol1 /lvol1

Repeat for others if there are any.

I've got a little black book with me poems in
Paula J Frazer-Campbell
Honored Contributor

Re: mounting a data disk on a new build system

Hi guys
Thanks for you help.
I gave up mounted it with nfs and restored from tape.

xxx
Paula
If you can spell SysAdmin then you is one - anon
Sergej Kleva
Frequent Advisor

Re: mounting a data disk on a new build system

Hi!
I got similar problem:
I got 2 identical disks! 18 GB each
On first disk is hp-ux 11.11 (/dev/dsk/c2t5d0) and on second is 11.00 (/dev/dsk/c2t6d0).

When i tried to mount disk device i got:
#mount /dev/dsk/c2t5d0 /hp1111
/dev/dsk/c2t5d0: unrecognized file system

Than i was tried with Trevor Dyson advice and i got it right, but still i cannot mount /dev/vgpray/lvol3 !!! I got following error:
# mount /dev/vgpray/lvol3 /hp1111
mount - unrecognized vxfs version number

Please help me!

How can i "read" what is in /dev/vgpray/lvol3
Geoff Wild
Honored Contributor
Solution

Re: mounting a data disk on a new build system

Sergej,

You should really start a new thread....not piggy back on this one.

Anyways, you can NOT mount a 11.11 file system created with defaults on HP-UX 11.0...

The vxfs version is 4 in 11.i and 3 in 11.0...

If you really want to do this, then you need to (on the 11.i system) create your file systems like this:

mkfs -F vxfs -o largefiles -o version=3 /dev/vg20/rlvol19


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.