1836636 Members
1624 Online
110102 Solutions
New Discussion

Mount file Automatically

 
SOLVED
Go to solution
prashanth B R
Advisor

Mount file Automatically


Hi,
I have done following change in /etc/fstab
/dev/temp/lvol1 /temp vxfs rw,suid,largefiles,delaylog,datainlog 0 2
But my file is not getting load once i restart
the server
but if give
mount /dev/temp/lvol1 /temp then it will be load.
Version HP ux 11.23 connected to storage through SAN switch

with regards
Prashanth
8 REPLIES 8
Wouter Jagers
Honored Contributor

Re: Mount file Automatically

Hiya,

- check /etc/rc.log for mounting errors during startup.
- when the FS is mounted (manually), check the output of "mount -p" (without the quotes). Make sure the filesystem type is correct.

Let us know what you find :)

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
prashanth B R
Advisor

Re: Mount file Automatically

Hi ,

i am getting follwing error
mountall: cannot mount /dev/temp/lvol1
mountall: diagnostics from mount
vxfs mount: mount option(s) incompatible with file system /dev/temp/lvol1
mountall: cannot mount /dev/sapdata7/sapdata7
mountall: diagnostics from mount
vxfs mount: mount option(s) incompatible with file system /dev/sapdata7/sapdata7 checking quotas

after mounting manually
mount -p

i am getting

/dev/920/920_64 /oracle/RQ1/920_64 vxfs ioerror=mwdisable,larg
efiles,delaylog,nodatainlog,dev=40030001 0 0
/dev/vg00/lvol6 /opt vxfs ioerror=mwdisable,dela
ylog,nodatainlog,dev=40000006 0 0
/dev/vg00/lvol5 /home vxfs ioerror=mwdisable,dela
ylog,nodatainlog,dev=40000005 0 0
/dev/backup/backup /backup vxfs ioerror=mwdisable,larg
efiles,delaylog,nodatainlog,dev=40160001 0 0
-hosts /net autofs ignore,indirect,nosuid
,soft,nobrowse,dev=4c000000 0 0
/dev/temp/lvol1 /temp vxfs ioerror=mwdisable,dela
ylog,nodatainlog,dev=40210001 0 0
/dev/sapdata7/sapdata7 /oracle/RQ1/sapdata7 vxfs ioerror=mwdisable,dela
ylog,nodatainlog,dev=40200001 0 0

with regards
Prashanth
Asif Sharif
Honored Contributor

Re: Mount file Automatically

Wouter Jagers
Honored Contributor

Re: Mount file Automatically

from the manpage of mount_vxfs:

NOTE: The datainlog option is available only
with the HP OnLineJFS product.

Do you have OnlineJFS ?

Anyway, I suggest you give it a go with "nodatainlog" instead ;-)

Let us know what happens.

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
Patrick Wallek
Honored Contributor
Solution

Re: Mount file Automatically

It may be that the 'largefiles' option you have specified in /etc/fstab does NOT match how the filesystem was created. If you did not specify largefiles when you created the filesystem then this is the problem.

To check the filesystem do:

# fsadm /temp

You should get output of either 'largefiles' or 'nolargefiles'. If you see 'nolargefiles' then that is your problem. You either need to remove 'largefiles' from /etc/fstab, or make the filesystem largefiles capable.

If you have online JFS you can do the following:

# fsadm -F vxfs -o largefiles /temp

Now your filesystem should mount correctly when the machine is rebooted.
Wouter Jagers
Honored Contributor

Re: Mount file Automatically

True, didn't think of that.. *slaps self*
an engineer's aim in a discussion is not to persuade, but to clarify.
James George_1
Trusted Contributor

Re: Mount file Automatically

It looks like you didn't do the
# fsadm -F vxfs -o largefiles /mountpoint .

If you mention largefiles in the fstab file, then you should do this, other wise the FS will not come up after reboot.

Rgds / James
forum is for techies .....heaven is for those who are born again !!
prashanth B R
Advisor

Re: Mount file Automatically

Thanks for the help,

basically it was not largefiles.

with regards
Prashanth