Operating System - HP-UX
1827245 Members
2206 Online
109716 Solutions
New Discussion

Re: always not mounted/missing file system

 
lawrence g. jimenez
New Member

always not mounted/missing file system

i need help, everytime i reboot our server the /oracle file system is always missing and not mounted. if i use mount /oracle error 'mount option(s) incompatible with file system /dev/vg01/lvol11' i try to use the command

mount /dev/vg01/lvol11 /orcle

it works but everytime i reboot my server file system /oracle always not mounted.
what should i do? please help thank you very much!
6 REPLIES 6
Biswajit Tripathy
Honored Contributor

Re: always not mounted/missing file system

Add an entry for this filesystem in /etc/fstab file.
- Biswajit
:-)
Mic V.
Esteemed Contributor

Re: always not mounted/missing file system

The file /etc/fstab tells HP-UX which filesystems to mount when the system boots. The syntax:

mount /oracle

will work if there's an entry in /etc/fstab that describes *how* to mount /oracle -- HP-UX needs to know what part of the disk to mount at "/oracle". The "what part of the disk" is the /dev/vg01/lvol11 in your successful mount command.

Try adding a line (probably at the end) of your /etc/fstab:

/dev/vg01/lvol11 /oracle vxfs defaults 0 2

(There are a lot of parameters you can use; I'm making the assumption that your filesystem is a vxfs filesystem. If it's not, you need to change "vxfs" to something else. You should probably change "defaults" to something more appropriate -- see what other, similar filesystems are mounted as -- perhaps delaylog, datainlog, and so forth. See:

man 4 fstab

for more information.)

If you're adding more filesystems, you'll need to do this for each new filesystem. One easy way to add filesystems is with the "SAM" utility (sam). SAM (System Administration Manager) takes care of all the details for you.
What kind of a name is 'Wolverine'?
Steven E. Protter
Exalted Contributor

Re: always not mounted/missing file system

Most likely cause.

You have largefiles option in /etc/fstab on an 11i v1 system or above. That option worked in 11.00 but was deprecated in 11i v1.

If thats not the issue then try a generic set of mount options in /etc/fstab for the oracle fs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Charles Egbon
Regular Advisor

Re: always not mounted/missing file system

Hi Lawrence,

If you are not sure of the integrity of the filesystem, try and run "fsck" on the LV device. Thereafter, check the entries in /etc/fstab for:
/dev/vg01/lvol11 /oracle vxfs defaults 0 2
or similar.
Reboot to confirm the process.

All the best.

Charles
lawrence g. jimenez
New Member

Re: always not mounted/missing file system

hi to all, thanks for the reply.

in my /etc/fstab there is an entry of my /oracle file system.

/dev/vg01/lvol11 /oracle vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

but still when i reboot my server my /oracle file system didn't mount and i mounted it manually.

one more thing i have a largefiles option in my /etc/fstab, do you think this is one of the cause of my problem now?

how to convert nolargefiles to largefiles option? will it work if i will vi(edit) then delete the nolargefiles to largefile? then reboot the server?

Biswajit Tripathy
Honored Contributor

Re: always not mounted/missing file system

Execute the following command immediately after
you rebooted the system and see if there are any
error messages:

$ dmesg -

(Make sure to redirect the output of the above
command to a file as any subsequent "dmesg -"
command will not print the same messages again).

- Biswajit
:-)