General
cancel
Showing results for 
Search instead for 
Did you mean: 

how to mount LVM disks in recovery shell

shahab
Occasional Contributor

how to mount LVM disks in recovery shell

Hi,when I want to mount my LVM disks in recovery shell, the following error accures:

version 5 layout
15625 sectors, 15625 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
15625 data blocks, 14529 free data blocks
1 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 15625 data blocks
* Loading mount to mount/dev/ram1 file system...
UX:vxfs mount: ERROR: V-3-22168: Cannot open portal device: No such file or dire ctory
* Mounting /dev/ram1 file system succeeded!
* Copying /dev.old files back to /dev succeeds!
* Loading insf to create disk device files...
* Creating disk device files...
* Loading the recovery commands...


The file system check 'fsck -y /dev/rdsk/c4t0d0s4'
will now be executed.

Select one of the following:
a. Run fsck -y.
b. Prompt for the fsck execution string on c4t0d0s4.

m. Return to the 'HP-UX Recovery MENU.'

select: a

Mounting /dev/dsk/c4t0d0s4 to /ROOT/stand as read only.
Loading /sbin/mount...
UX:vxfs mount: ERROR: V-3-22168: Cannot open portal device: No such file or directory
Creating temporary ROOT partition.
Loading /sbin/umount...
umount /ROOT/stand.
ERROR; umount /ROOT/stand failed!

and in /ROOT :

cd /ROOT
# ll
total 16
dr-xr-xr-x 9 bin bin 8192 Dec 4 06:02 stand

How can i mount LVM disks?
6 REPLIES
OFC_EDM
Respected Contributor

Re: how to mount LVM disks in recovery shell

Maybe this link will help you out
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1000266
The Devil is in the detail.
OFC_EDM
Respected Contributor

Re: how to mount LVM disks in recovery shell

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=118899

Note these links are old and you may want to do a man on the commands before proceeding to checkout if they're correct for your version of HP-UX.


Cheers
The Devil is in the detail.
Sagar Sirdesai
Trusted Contributor

Re: how to mount LVM disks in recovery shell

Hi Use the chroot / command to change the root and then mount

Sagar
shahab
Occasional Contributor

Re: how to mount LVM disks in recovery shell

Thank you for reply.
the problem is just /stand can be mount in /ROOT.

I need /etc ,/dev , ...
shahab
Occasional Contributor

Re: how to mount LVM disks in recovery shell

The problem is solved.
My HP-UX bootable cd was old version.
with new version (created by ignite)
all LVM are mount now.
shahab
Occasional Contributor

Re: how to mount LVM disks in recovery shell

The problem is solved.
My HP-UX bootable cd was old version.
with new version (created by ignite)
all LVM are mount now.