Wednesday, April 29, 2009

There is a Solaris kernel variable which tells it to accept negative timestamps over NFS:

Value too large for defined data type

From The System Administrator Zone

Jump to: navigation, search

An attempt to access a file on an NFS mounted file system fails:

# ls -l scheme.tar
scheme.tar: Value too large for defined data type

This could be a file with a strange time stamp.

There is a Solaris kernel variable which tells it to accept negative timestamps over NFS: nfs_allow_preepoch_time.

You can manually set it on a running Solaris system;

echo nfs_allow_preepoch_time/W1 | adb -wk

To make it permanent, so it the setting will survive a reboot, add to /etc/system:

* Solaris kernel variable which makes it accept negative
* timestamps over NFS: nfs_allow_preepoch_time.
*
* echo nfs_allow_preepoch_time/W1 | adb -wk
*
set nfs:nfs_allow_preepoch_time = 1

No comments:

Post a Comment