Operating System - HP-UX
1836617 Members
1761 Online
110102 Solutions
New Discussion

fstab , mnttab discrepency

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

fstab , mnttab discrepency

Hi there

I am currently running following version of ignite on one of our systems

# swlist -l product | grep -i ignite
Ignite-UX A.2.1.26 HP-UX System Installation Services

When attempting to make a recovery tape we are receiving the following message from

/var/opt/ignite/logs/makrec.log1

save_config: error - unknown disk type for /dev/vg00/lvol3, not SCSI or
HPFL
grep: can't open /var/tmp/swapinfo.tmp
grep: can't open /var/tmp/lvlnboot.tmp
save_config: error - cannot determine primary swap size


/dev/vg00/lvol3 is the volume group in fstab for the root filesystem,

/dev/vg00/lvol3 / vxfs delaylog 0 1

run bdf and this shows
/dev/root 102400 39435 59032 40% /

bdf /dev/vg00/lvol3

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 102400 39557 62616 39%

mnttab shows what is mounted

/dev/root 102400 39557 58919 40% /

Why is lovl3 not being mounted ?

take your time and think things through
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: fstab , mnttab discrepency

Have a look at lvlnboot -v
definitions.

Remember / is 'mounted' before /etc (which contains fstab). This is necessary so you can load your kernel..
This information is stored in the BDRA (the -B option of pvcreate of your boot disk)

Later,
Bill
It works for me (tm)
steven Burgess_2
Honored Contributor

Re: fstab , mnttab discrepency

Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk
/dev/dsk/c0t11d0 (8/4.11.0)
PV Name: lvol1 on: /dev/dsk/c0t5d0
Root: lvol3 on: /dev/dsk/c0t5d0
Swap: lvol2 on: /dev/dsk/c0t5d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0

ioscan

disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST32272WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0

/ # swapinfo -mt
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 7 1017 1% 0 - 1 /dev/vg00/lvol2
dev 128 7 121 5% 0 - 1 /dev/vg02/lvol5
dev 512 7 505 1% 0 - 1 /dev/vg02/lvol12
reserve - 578 -578
total 1664 599 1065 36% - 0 -


So there doesn't seem to be an issue with my config

Could you please help



pvdisplay -v /dev/dsk/c0t5d0

--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 25 25

Plus /vol2 etc etc



take your time and think things through
Steven Gillard_2
Honored Contributor
Solution

Re: fstab , mnttab discrepency

There's been a few threads recently about /dev/root and what it is. Usually it appears in mnttab following a boot into maintenance mode - it is a 'fail-safe' device pointer to the root file system that is used when there is a problem with LVM.

To correct the condition is simple:

# mv /etc/mnttab /etc/mnttab.orig
# mount

The /etc/mnttab file will be rebuilt and it will show the correct lvol3 entry for /. Hopefully that will take care of your ignite problem.

See the following thread for more info:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x25337b8d1de3d5118ff40090279cd0f9,00.html

Regards,
Steve
Printaporn_1
Esteemed Contributor

Re: fstab , mnttab discrepency

Hi,

#mv /etc/mnttab /etc/mnnttab.orig
#mount -a

this is normal , it will happen after

- boot into single user
- maintenance mode
- support CD
enjoy any little thing in my life
fg_1
Trusted Contributor

Re: fstab , mnttab discrepency

Steven

I recently put a reply to someone's posting who was having the same issue. Perform the following steps:

1) cp /etc/mnttab /etc/mnttab.121201 (current date)

2) vi /etc/mnttab : reorder the sequence of the way you want to view the mounting of your filesystems and make sure that /dev/vg00/lvol3 is mounted as /.

3) mount -a

4) All filesystems should appear as listed in the mnttab file, but if you want to you can also perform an edit of the /etc/fstab file to make certain that it matches the mnttab file. Just for consistency.

Good luck.