Operating System - HP-UX
1834827 Members
2691 Online
110070 Solutions
New Discussion

Repeated /dev/vg00/lvol3 -> /dev/root

 
SOLVED
Go to solution
Nico van Royen
Frequent Advisor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

The boot string gives me the (according to ioscan) /dev/dsk/c2t5d0 disk:
--
boot_string:
boot_string: disc(10/8.5.0:0)/stand/vmunix
--

the lifcp info on both disks are indeed the 'hpux -lq'.

- Nico
If all else fails, try reading the manual...
Clemens van Everdingen
Honored Contributor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Hi Nico,

That seems to be fine.
Still wondering:

What could cause a running system to switch

/dev/vg00/lvol3 mounted on /
change to

/dev/root mounted on /

So what happend just before the change ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Clemens van Everdingen
Honored Contributor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Nico,

can you do a stings lvmtab ?

Is /dev/root in there ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Nico van Royen
Frequent Advisor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

What happened during the change.. well.. good question. The change to /dev/root happens on (appearent) random time.. sometimes during day time operation, sometimes at night.
Durin an earlier investigation several months back I had put every service, daemon or process on debug or verbose logging to syslog.
On some of the occasions I saw sendmail mailing a mail to root, which by /etc/mail/aliases is forwarded to a central mail server at the same second the change to /dev/root occured. But then again.. the change to /dev/root also has happened without this.


The lvmtab is also the same (in contents and in filesize) as for the attempt with suggestions made before this weekend. Its full unedited contents is:
# strings /etc/lvmtab
/dev/vgaspkg04sw
/dev/dsk/c1t3d0
/dev/dsk/c2t13d0
/dev/vgaspkg04db
/dev/dsk/c1t4d0
/dev/dsk/c2t14d0
/dev/vgnuispkg02
/dev/dsk/c1t12d0
/dev/dsk/c2t2d0
/dev/vgaspkg03sw
/dev/dsk/c1t13d0
/dev/dsk/c2t3d0
/dev/vgaspkg03db
/dev/dsk/c1t14d0
/dev/dsk/c2t4d0
/dev/vg00
/dev/dsk/c1t15d0
/dev/dsk/c2t5d0
#

- Nico
If all else fails, try reading the manual...
Clemens van Everdingen
Honored Contributor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Nico,

If the problem occurs, is the /dev/root line also in /etc/fstab ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Nico van Royen
Frequent Advisor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Clements,

No.. the /dev/root entry only appears inside the /etc/mnttab and bdf / df output.

- Nico
If all else fails, try reading the manual...
Clemens van Everdingen
Honored Contributor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Hi,

One last suggestion !
I guess that the maount command is needed to get /dev/root in bdf output !

If so, you could write some script around mount command to get something logged to syslog.

Since I am no script kiddie, I would not directly know how to do this.

Also, might be a suggestion to log a call to HP !

Ik heb geen idee meer !

Groeten
Clemens
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Nico van Royen
Frequent Advisor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

We'll see what HP's answer will be.
There initial answer was the old 'trick' to remove mnttab followed by an mount -a wich appearently doesn't work in this case.

If they find any solution, I'll be sure to post it here.
Thanks again for all suggestions, tips and cooperation.

- Nico
If all else fails, try reading the manual...
Nico van Royen
Frequent Advisor

Re: Repeated /dev/vg00/lvol3 -> /dev/root

Solution found:

I would post again a message in here when my problem with /dev/root was fixed.
After several attempt from HP's support desk, it turned out that the patch PHCO_25640 (a libc patch) was able to fix the problem.

The system is running now for 2 weeks and no problems again with the /dev/root entry.
If all else fails, try reading the manual...