1834009 Members
4545 Online
110063 Solutions
New Discussion

/ mounted on /dev/root

 
SOLVED
Go to solution
Woo Kim Chye
Occasional Advisor

/ mounted on /dev/root

I have a A500 workstation running HP-UX 11.0. There was a power trip and the workstation was power off. However, after I power up the workstation, I found that the filesystem / was mounted on the /dev/root instead on /dev/vg00/lvol3. Following is the output of the bdf command:
Filesystem kbytes used avail %used Mounted on
/dev/root 147456 32095 108736 23% /
/dev/vg00/lvol1 87701 50825 28105 64% /stand
/dev/vg00/lvol8 1163264 559577 566338 50% /var
/dev/vg00/lvol7 1286144 547970 692084 44% /usr
/dev/vg00/lvol4 262144 45467 203171 18% /tmp
/dev/vg00/lvol6 1572864 560091 949496 37% /opt
/dev/vg00/lvol9 4096000 1343198 2581763 34% /home

The /etc/fstab still says that / is supposed to mount on /dev/vg00/lvol3 as shown below:
/dev/vg00/lvol3 / vxfs delaylog 0 1

lvdisplay says that the lvol is OK. fsck also says that the lvol is mounted.

The problem persist even I reboot the workstation.
Wonder anyone has faced this problem before.
Thanks.




5 REPLIES 5
Tim D Fulford
Honored Contributor

Re: / mounted on /dev/root

edit /etc/mnttab
/dev/vg00/lvol3 / ....etc....

I believe this happens after you boot in/from single user mode.

Tim
-
Krzysztof Kielak
Occasional Advisor

Re: / mounted on /dev/root

Hi,

try running lvlnboot -v and check if you have correct definition of root, boot, swap and dump. If not you can use lvlnboot with apropriate option to modify wrong setting

rgds
Chris
Bernie Vande Griend
Respected Contributor
Solution

Re: / mounted on /dev/root

All you need to do is:

rm /etc/mnttab
mount -a

bdf should now show root mounted in the right location.
If you want to be safe first do a, cp /etc/mnttab /etc/mnttab.keep

This is very common when the system boots into maintenance mode or similar situations.
Ye who thinks he has a lot to say, probably shouldn't.
James R. Ferguson
Acclaimed Contributor

Re: / mounted on /dev/root

Hi:

To repair this, do:

# rm /etc/mnttab
# mount -a

Regards!

...JRF...
Woo Kim Chye
Occasional Advisor

Re: / mounted on /dev/root

Thanks guys. It works.