Operating System - HP-UX
1826469 Members
3502 Online
109692 Solutions
New Discussion

Re: problem mounting a filesystem at bootup

 
Art Evans
Occasional Advisor

problem mounting a filesystem at bootup

I ran lvreduce on a vxfs, 12 Gb File system, cutting it in half and created another using the extra 6 Gb. The fstab and mnttab relect the changes, as well as bdf, i ran newfs,
and fsck. When the system is rebooted i get an error message that mount options are incompatible, and the FS fails to mount. But I can manually mount the FS.
also the new FS I created mounts fine. this is on a HP9000, 11.0 system.
every dog has his day, and some have two
11 REPLIES 11
Rick Garland
Honored Contributor

Re: problem mounting a filesystem at bootup

Check the fstab file for the correct FS type (hfs vs. vxfs)
Victor BERRIDGE
Honored Contributor

Re: problem mounting a filesystem at bootup

Arent you trying to mount in bad order,
that would explain why it succeeds after the system is brought up
look again in your /etc/fstab

like :
/dev/r5vg01/lvol2 /opt/oracle/product/7.2.3 vxfs rw,suid,delaylog,datainlog 0 3
before /dev/r5vg01/lvol1 /opt/oracle vxfs rw,suid,delaylog,datainlog 0 2

Art Evans
Occasional Advisor

Re: problem mounting a filesystem at bootup

the fstab is ok,
it reflects the proper mounting sequence. and the proper FS system, vxfs
every dog has his day, and some have two
Victor BERRIDGE
Honored Contributor

Re: problem mounting a filesystem at bootup

What are the mount options then?
Antoanetta Naghiu
Esteemed Contributor

Re: problem mounting a filesystem at bootup

Can you, please post the fstab?
Victor BERRIDGE
Honored Contributor

Re: problem mounting a filesystem at bootup

If you have noticed in my previous post, even in that order in fstab my system comes up because I use the order ( 0 2 ) and (0 3)

CHRIS_ANORUO
Honored Contributor

Re: problem mounting a filesystem at bootup

cp /etc/lvmtab to /etc/lvmtab.old; then run vgscan to recreate /etc/lvmtab
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Art Evans
Occasional Advisor

Re: problem mounting a filesystem at bootup

See Attach: for fstab
every dog has his day, and some have two
Victor BERRIDGE
Honored Contributor

Re: problem mounting a filesystem at bootup

Is it the last one in your fstab ?
# put 3 instead of the 2
# remove the rw,suid
# put also nolargefiles
#umount all
#mount all


And tell us what happens then
Art Evans
Occasional Advisor

Re: problem mounting a filesystem at bootup

it's /u77, i'll get back to you all, I've currently got user working in the FS.
every dog has his day, and some have two
Antoanetta Naghiu
Esteemed Contributor

Re: problem mounting a filesystem at bootup

Chris idea with lvmtab is a good one. Try it.
Take a look as well to see if you have lvm patches (those are for 11.0):

s700_800 11.00 LVM commands cumulative patch(PHCO_20870)
s700_800 11.00 cumulative SAM/ObAM patch(PHCO_21187)
s700_800 11.00 autox0 cumulative patch(PHKL_15955)
s700_800 11.00 fix race conditions in UP emulation(PHKL_16209)
s700_800 11.00 Invalid I/O sizes from JFS causes hangs(PHKL_18452)
s700_800 11.00 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch(PHKL_18543)
s700_800 11.00 Fibre Channel Mass Storage Driver Patch(PHKL_20207) s700_800 11.00 LVM Cumulative patch(PHKL_20419)
s700_800 11.00 SCSI IO & Pass-Thru Subsys Cumulative Patch(PHKL_20688)
s700_800 11.00 sysproc reaping, shmem core dumps, IDS/9000(PHKL_22032) s700_800 11.00 Cumulative STREAMS Patch(PHNE_20008)