Operating System - HP-UX
1833776 Members
2386 Online
110063 Solutions
New Discussion

system showing two root file systems

 
SOLVED
Go to solution
ShreeS
Advisor

system showing two root file systems

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/root 409600 244515 155962 61% /


and
#strings /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1

"Please guide me which one is my root file system."

Please Reply me ASAP.
6 REPLIES 6
spex
Honored Contributor

Re: system showing two root file systems

/
Patrick Wallek
Honored Contributor
Solution

Re: system showing two root file systems

/dev/vg00/lvol1 is actually your "root" or "/" filesystem.

/dev/root sometimes shows up if any work has been done in LVM maintenance mode.

The basic fix is:

# mv /etc/mnttab /etc/mnttab.old
# mount -a

Now do a 'bdf' and see if the "/" filesystem shows up correctly.

If that doesn't work have a look at this document in the HP Tech Knowledge base:

Submitted Date: Fri Apr 20 23:00:00 MDT 2007
Title: Mirrored Root Volume Group with bdf shows /dev/root mounted on /
Document ID: emr_na-c01027831-2
Last Modified Date: Tue May 29 23:00:00 MDT 2007
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01027831-2
rajdev
Valued Contributor

Re: system showing two root file systems

Hi Shrekanth,

As mentioned by the previous replier, the most likely reason will be that you have booted in maintanence mode. In this case
you don't have to worry much (unless there
was some other reason to boot -lm mode )
you can reboot the server in normal mode and
the bdf will show /dev/vg00/lvol1 as /.

check what runlevel you are currently.
# who -r [[ if it is > 2 then you are not in maintanence mode and this will not apply ]]


Regards
David Bellamy
Respected Contributor

Re: system showing two root file systems

actually /dev/vg00/lvol3 is the root fs and /dev/vg00/lvol1 is /stand
ShreeS
Advisor

Re: system showing two root file systems

thanks to all.


ShreeS
Advisor

Re: system showing two root file systems

thx