1833788 Members
2352 Online
110063 Solutions
New Discussion

Re: Bug in mountall?

 
Martien Korenblom
Frequent Advisor

Bug in mountall?

Is there a bug in mountall?

When using mountall with a filesystem table (not /etc/fstab) containing ONLY nfs mount entries, mountall does not work. It failes with "mountall: file system table may be corrupt".

When I put a valid local filesystem in the filesystem table, it works, using mountall -F nfs
I don't have a solution, but I admire the problem
11 REPLIES 11
Ravi_8
Honored Contributor

Re: Bug in mountall?

Hi Morteil

Normally i use mountall when i am in single user mode to mount all file systesm, whereas in multiuser mode i use mount -a

can u post your fstab file
never give up
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

The file is completely valid, because when I add it to /etc/fstab and then use mountall it works.

mount -a is no option because I only want to mount NFS filesystems.
I don't have a solution, but I admire the problem
Ravi_8
Honored Contributor

Re: Bug in mountall?

Hi,

I understood your argument
can u post your /etc/fstab file with valid filesystem entry
never give up
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

Attached is the /etc/fstab (with only the local filesystems) and nfsmounts.diopter (with only NFS mounts).
The second line in nfsmounts.diopter is needed to make mountall work. Without this line it says 'file system table may be corrupt'

I'm using 'mountall -F nfs nfsmounts.diopter' to mount the filesystems in nfsmounts.diopter.
I don't have a solution, but I admire the problem
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

This is the nfsmounts.diopter file
I don't have a solution, but I admire the problem
Ravi_8
Honored Contributor

Re: Bug in mountall?

Hi Martein

I looked into your fstab file. there are no nfs entries.

Normally I make entries in /etc/fstab for file systems to be mounted via NFS. I am not facing any problem.
can you make those NFS entries in /etc/fstab and issue mountall command
never give up
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

As I said earlier, I'm NOT using /etc/fstab.

I'm using a file with only NFS-mounts!!
I don't have a solution, but I admire the problem
Sanjay_6
Honored Contributor

Re: Bug in mountall?

Hi,

Have you tried,

mountall /path/nfsmounts.diopter -

use a "-" at the end of the command.

Hope this helps.

regds
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

Tried it to no avail. A filename and - (standard input) are mutually exclusive.
I don't have a solution, but I admire the problem
Sanjay_6
Honored Contributor

Re: Bug in mountall?

Hi,

Try,

mountall -r /path/nfsmounts.diopter

Hope this helps.

regds
Martien Korenblom
Frequent Advisor

Re: Bug in mountall?

Okay, will try that when I'm on location again
I don't have a solution, but I admire the problem