System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Filesystems wont mount even though they are in fstab

 
SOLVED
Go to solution
Highlighted
Regular Advisor

Filesystems wont mount even though they are in fstab

Hi I have a strange problem . Cant figure it out so thought I'd bounce it off you great people.
Basically , I rebooted a unix Server (HP/UX) When it came back up I was missing about 5 filesystems (where Oracle resides as it happens) - no hardware issues etc that I can see. When i try to mount one of these individually I get (for example)
dubhptst: # mount /oracledata1
vxfs mount: mount option(s) incompatible with file system /dev/vg01/lvol3

Here are the entries in my fstab
Anyone any ideas - they have been up and running for a long time and didnt have problems before

/dev/vg01/lvol3 /oracledata1 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol1 /oracledata2 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg01/lvol4 /oracledata3 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol4 /oracledata4 vxfs rw,suid,largefiles,delaylog,datainlog 0 2


Thanks a mill,
Dave






18 REPLIES 18
Highlighted
Regular Advisor

Re: Filesystems wont mount even though they are in fstab

Hi , just an update to above , I think the 'largefiles' is the prob. I just edited the fstab at the time rather than originally creating them for 'largefiles'
I need to keep the data obviously that is on them , how do I get around this one ?
Thanks,
D
Highlighted
Honored Contributor

Re: Filesystems wont mount even though they are in fstab

You can set the largefiles option for the volumes and then they should mount.

man fsadm_vxfs

Highlighted
Acclaimed Contributor

Re: Filesystems wont mount even though they are in fstab

Hi Dave:

> I think the 'largefiles' is the prob.

No, the specification simply says that if the underlying filesystem has any largefiles then it's OK to mount. If you had said 'nolargefiles' and yet the filesystem contained some, then the mount would fail.

The problem is likely the 'detainlog' option. This is only available with OnLineJFS. Do you have that?

Regards!

...JRF...
Highlighted
Esteemed Contributor

Re: Filesystems wont mount even though they are in fstab

Hi Davey,

Something doesn't sound right. Can you post the exact output. Because mount /oracledata1 would do nothing but give you an error. Let's start with something simple try mount /dev/vg01/lvol3 /oracledata1 and then give the error. Besides, the error gives /dev/vg01/lvol3 is a filesystem?? Anyways try it out and what's ur operation system version?

Regards
Read, read and read... Then read again until you read "between the lines".....
Highlighted
Esteemed Contributor

Re: Filesystems wont mount even though they are in fstab

Hi,

As JRF said execute the following command swlist -l product | grep -i Online and check if your using the base JFS or online JFS. Easiest way to know this is if your working on filesystems you would be doing an extendfs on Base JFS and an fsadm on Online.

If it's installed, prob the following commands would help for your problem :-

/sbin/bcheckrc stop
/sbin/bcheckrc start

Hope the info helps

Regards
Read, read and read... Then read again until you read "between the lines".....
Highlighted
Exalted Contributor

Re: Filesystems wont mount even though they are in fstab

Shalom,

largefiles is an invalid parameter for /etc/fstab since 11iv1 and mount attempts with it set will fail.

After taking this out, try mount -a and post the results.

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
Highlighted
Acclaimed Contributor

Re: Filesystems wont mount even though they are in fstab

Hi (again) Dave:

> Anyone any ideas - they have been up and running for a long time and didnt have problems before

Define "long". There was a case of OnlineJFS licenses expiring over three years ago. See :

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1439325

...including the URL I offered therein.

Regards!

...JRF...
Highlighted
Acclaimed Contributor

Re: Filesystems wont mount even though they are in fstab

Hi (again):

> SEP: largefiles is an invalid parameter for /etc/fstab since 11iv1 and mount attempts with it set will fail.

This is *NOT* true. Re-read my post in this thread, the manpages or for that matter the 10.0 Largefiles whitepaper which states:

"mount will not mount a large-files filesystem if the -o nolargefiles option is specified. Conversely, the mount command will not mount a no-large-files filesystem if the -o largefiles option is specified. If no option is provided to mount, it will use the state of the filesystem itself to determine if it is mounted as largefiles or nolargefiles."

See:

http://docs.hp.com/lgfiles4.pdf

Regards!

...JRF...
Highlighted
Esteemed Contributor

Re: Filesystems wont mount even though they are in fstab

>SEP

The largefiles and nolargefiles are still valid. Just tried the option on a 11iv3 operating system. It's still very much a mount option. Although HFS filesystems are deprecated, they are still supported even on 11iv3 for backward compatibility. The default mount option on hfs is "nolargefiles", if this option is not present what would be the default mount options on an HFS filesystem just in case (hypothetically) someone mounted a filesystem as HFS . The option is still there and LARGEFILES is still considered to be a default option. :) steven

Regards
Read, read and read... Then read again until you read "between the lines".....