UNIX errno (error number) values can be found in your system's "errno.h" file.
On AIX, this file is in /usr/include/sys. If you don't have it, you probably
have to install a development package (like a C compiler) in order to get it.
The errno 27 says that the file size is too large. This is almost certainly due
to your ulimit setting being too small. On AIX, the default is typically
something like 2097151 blocks (one block is 512 bytes), or 1,073,741,312 bytes.
This is the same as 1023.999... MB (just under 1 GB). You can determine the
ulimit from the command line with this command:
ulimit -f
or
ulimit -a <== shows all ulimits, not just file size
To increase the ulimit, issue this command:
ulimit -f nnnn
(nnnn is the number of 512-byte blocks you want to set the ulimit to)
or
ulimit -f nolimit <== recommended
Also, check out the file /etc/security/limits where these limits are
permanently set. You'll want to go here to make changes that hold across
boot-up.
Andy
Andy Raibeck
IBM Storage Systems Division
ADSM Client Development
e-mail: storman AT us.ibm DOT com
ADSM-L AT VM.MARIST DOT EDU
03/31/98 07:26 AM
Please respond to ADSM-L AT VM.MARIST DOT EDU
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: Error 27 using dsmfmt command
Everyone,
I've just been working with my Unix sysadmin (I will be the ADSM admin)
to
set up the initial set of files on our ADSM server, and we got two errors
while formatting the large disk files to use for the backup pool. Has
anyone seen this error, or can tell me where to find error explanations for
the 'dsmfmt' command?
** Commands that failed:
dsmfmt -m -data /adsm/adsm1/backup_vol1.dsm 2845
dsmfmt -m -data /adsm/adsm2/backup_vol2.dsm 3850
** Error Message on each:
"Error writing file <filename>; error number 27"
** Notes:
(1) all other dsmfmt commands worked fine, including ones for a 1025 MB
database file, and for a 512 MB volume to use for an archive pool;
(2) The AIX file systems were listed as having enough room for these
files, although just barely; my given sizes would use up all but maybe 5 MB
on each disk
We are using AIX 4.x and ADSM v3.1 .
Are we running into the old 2 GB limit on ADSM volumes? I thought that
version 3.1 got rid of that limitation.
Thanks in advance!
Tony
----------------------------------
Tony White, Research Scientist II Tony.White AT gtri.gatech DOT edu
Tony White, Research Scientist II Tony.White AT gtri.gatech DOT edu
GTRI Computer Coordinator (404) 894-8157 fax: 894-9337
GT/GTRI/AIST, Atlanta, GA 30332-0816
"Optimist: a Yugo owner with a trailer hitch."
|