cancel
Showing results for 
Search instead for 
Did you mean: 

Location of /stand mount point ?

SOLVED
Go to solution
eric lipede_1
Regular Advisor

Location of /stand mount point ?

Hi
What are the consequences, if any, of mounting /stand on a logical volume other than /dev/vg00/lvol1 ? Thks in advance
30 REPLIES
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

HPUX 11v2 and 11v3
Torsten.
Acclaimed Contributor
Solution

Re: Location of /stand mount point ?

/stand must be the first LVOL on the disk and all configuration must be correct to allow a system boot.

If something is wrong, the system cannot access the kernel, so it will not boot.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Hi
Yes, thats what I thought, however, I came across this (not my doing i have to say !!)

/dev/vg00/lvol13 557056 253845 284277 47% /stand

uptime
2:33pm up 33 days, 14:57, 5 users, load average: 0.01, 0.01, 0.01

Now, as far as I can tell, the reboot was successful. So, in your experience:
1. Can this be left as is;or
2. should this be moved (lvol1 isnt being used) via maintainance mode and remounted on the correct mount point?

...whats the best way forward here - thks
Matti_Kurkela
Honored Contributor

Re: Location of /stand mount point ?

If you create a "fake /stand" elsewhere but don't delete the old /dev/vg00/lvol1, the system will boot just fine and will seem to work... but any new kernel configuration changes and kernel patches won't actually "take".

For example, swlist will indicate that new patches will be properly installed and configured, since the new kernel image can be created successfully. It's just that after a reboot, the old kernel will still be used instead of the new one.

The bootloader will still look for a kernel in the first filesystem of the disk selected for booting. Unless you've customized the boot parameters, the kernel will expect to find the root filesystem on the same disk the kernel and the bootloader has been loaded from.

MK
MK
Dennis Handly
Acclaimed Contributor

Re: Location of /stand mount point ?

>/dev/vg00/lvol13 557056 253845 284277 47% /stand

Were you using DRD? Do you actually see a vmunix there?

>as far as I can tell, the reboot was successful.

Yes, the kernel knows how to get to itself.

>1. Can this be left as is

I wouldn't think so.
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

What does

# lvlnboot -v

tell you?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Hi
the kernel sits in /stand/vmunix and the system reboots fine. I have no idea why the creator decided this. Whats the best fix here?
Thks
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

/stand# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c2t0d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0

lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgciapk".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vglock".


more /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/lvol12 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol9 /var/adm/crash vxfs delaylog 0 2
/dev/vg00/lvol10 ... swap pri=1 0 0
/dev/vg00/lvol11 /oracle vxfs delaylog,largefiles 0 2


lvdisplay -v /dev/vg00/lvol1
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 19
Allocated PE 38
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0s2 19 19
/dev/dsk/c2t1d0s2 19 19


/dev/vg00/lvol1 is unused ??
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

Here you can see

Boot: lvol1 on: /dev/dsk/c2t0d0s2



So the system still boots from LVOL1.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

:-)

Yes, Im getting all that but my question is this:

bdf shows that /stand isnt mounted on lvol1, rather lvol13 (actually this exists on 2 servers).

Whats the fix ?

thks
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Sorry, just to be clear.
We know the system boots fine. We also know that lvlnboot seems to produce the correct info. What is off is that fstab and bdf shows a different mount point.

So, what do you think the fix is?

thks
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

And...the system according to IGNITE isnt booting from lvol1 ??

save_config: warning - /dev/vg00/lvol1 has an umounted VxFS filesystem on it. Therefore, any file system content in /dev/vg00/lvol1 will not be backed up
.
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

LVOL1 is used for boot, but later you mount a different /stand.

Any changes apply to this other /stand, so it is never used for boot.

Fix the fstab file.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Torsten
Thks - Im assuming the lvlnboot -R wasnt run either.
Ok so you are suggesting that /stand was mounted on lvol13 but the kernel still thinks its on lvol1 ?

The if im getting you, editing the fstab and rebooting will resolve ? The original lvol1 has bad block set to off....
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

>> The original lvol1 has bad block set to off....


This is the default. Don't change.


Is there any reason for this lvol13???


The kerenl don't "think" it is booted from lvol1, it is in fact booted from lvol1!


The system reads the location from the LABEL file in LIF, this is what the system reports in "lvlnboot -v" - so you can be sure it is booted from LVOL1.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Torsten,
Let me start off by saying I believe you. Im not debating your conclusion. What I am however asking is: why is IGNITE saying theres no FS mounted on lvol1, why is bdf showing that its mounted on lvol13, even jolly old SAM says theres an unmounted FS on lvol1. We cant ignore those messages over the others. The fact that the lvnlnboot
ouput contradicts the other items cant be ignored. - Im interested to know why.
So, would a fix simply be editing fstab ?
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

As the LABEL carries the lvol info, and bdf says lvol13 where is the disconnect ?
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

According to what you posted above your "new" stand is on LVOL12, LVOL1 is in fact not mounted.


If you backup LVOL1, the ignite backup is most likely useless.



Your system is still booting from LVOL1, once this is gone, your system will not boot again.


Do you want to try this???

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

>>> Is there any reason for this lvol13???

I dont know. I wasnt involved in this setup. I can only point out that bdf, SAM, lvdisplay and lvlnboot dont match up
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Torsten ...you realize that this isnt "my" system. I am as surprised as you. What I am trying to do is to unravel the mess.

So, what do you think the fix is ?
thks
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

I'm quite sure replacing lvol12 by lvol1 in fstab will fix it after a reboot.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Thks !
Torsten.
Acclaimed Contributor

Re: Location of /stand mount point ?

But as a first step I would mount LVOL1 to a temp. mount point and check the contents and health.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
eric lipede_1
Regular Advisor

Re: Location of /stand mount point ?

Good idea, I also noticed that its got bad block to "on"