Operating System - HP-UX
1819873 Members
2735 Online
109607 Solutions
New Discussion юеВ

How to mount root filesystem in recovery mode.

 
Guna_2
Regular Advisor

How to mount root filesystem in recovery mode.

Hi

i booted my machine in recovery mode from cd. In that place i want to mount my / from lvm. But i am not understanding how can i specify the hardware path.

And i listed /dev/dsk directory. It shows a file cxtxdxs1lvm. What is this s1lvm


Can any one guide me


Regards,
Guna
4 REPLIES 4
Mridul Shrivastava
Honored Contributor

Re: How to mount root filesystem in recovery mode.

cxtxdxs1lvm is the root fs and you have to use this logical volume for mounting .
Time has a wonderful way of weeding out the trivial
Guna_2
Regular Advisor

Re: How to mount root filesystem in recovery mode.

Hi
If it si root fs how shall i specify the logical volume device file

Shall i able to mount like this

mount -F vxfs /dev/dsk/cxtxdxs1lvm/lvol2

Regards,
Guna
Ralph Grothe
Honored Contributor

Re: How to mount root filesystem in recovery mode.

You first would have to activate the root VG (e.g. vgchange -a y vg00), and then mount the LV like its fstab entry.
Madness, thy name is system administration
Mridul Shrivastava
Honored Contributor

Re: How to mount root filesystem in recovery mode.

Once vg is activated, you need to execute the following for mounting:

/sbin/fs/vxfs/mount /dev/dsk/c2t0d0s2lvm /ROOT
/sbin/fs/hfs/mount /dev/dsk/c2t0d0s1lvm /ROOT/stand
Time has a wonderful way of weeding out the trivial