We are facing issues while backing up our 1205 GB filesystem on LTO5 Tape. During backup the "backup: The lseek call failed." messages were generated, I want to know why these messages were generating
AIX version is: 6100-08-00-0000
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
1) AIX version is: 6100-08-00-0000 is the DVD release. You should update to a SP.
2) Get the SP files using smit suma or FixCentral, download.
3) Once you have the downloads, smitty update_all.
Lastly, why are you using backup (i.e., backup by inode) rather than backupbyfilename.
Usually backups are by filename and/or made for a whole volume group. # savevg -i -f /dev/rmt0 vgName
or # cd /some/directory; find . | backup -if /dev/rmt0
In your case it looks like the last option would be:
Note also, if doing backup by inode - as your example - you should unmount /backup first
Example (where I write to a file, not a tape)
If you continue to have these lseek errors, file a call with IBM or your BP for support and diagnosis.
This User Gave Thanks to MichaelFelt For This Post:
We are using the find /backup | backup -ivf /dev/rmt0command to backup our filesystem however the AIX level was at base level without SP which is now updated to 6100-08-02-1316. I will take the backup again and contact IBM if the problem still persist.
Yes Michael you are correct. Actually I was only looking at logs which is echoing that backup is going by filename backup -ivf /dev/rmt0 command, but when I go through the script I found that backup is going with backup -f'/dev/rmt0' -'0' '-U' command. Now I have modified the script & taking the backup again and let me check whether this change will resolve the lseek failed errors or not.
Hello I am trying to run rpc program to query an entry from a file at the server side that is in the form of <mm> <dd> <event>. I get the proper result at the server. I have verified it by printf statements just before return statement of the result at server side. But somehow I am unable to... (0 Replies)
I tried to use lseek system call to determine the number of bytes in a file. To do so, I used open system call with O_APPEND flag to open a file. As lseek returns the current offset so I called lseek for opened file with offset as zero and whence as SEEK_CUR. So I guess it must return the number of... (3 Replies)
Hi Experts,
I have a code like this.
=====
#include....
int main()
{
int count = 0;
while(1){
printf("\n Interation number is: %d \n ",count);
rv = system(" test.sh > log.txt " );
if (-1 == rv)
{
printf("Could not generate static log: error... (12 Replies)
In AIX 5.1, a daily run script that backing up oracle data failed yesterday with following errors:
The Tivoli backup of DBPROD failed.
What could be the issue, OS, backup or Oracle? (3 Replies)
I am having difficulty in doing ontape -s -L 0. At first it was giving a message Archive failed - function to write to tape failed code -l errno 5.
After about 24 hours it says "could not write archive tape. What do I do?
Can anyone please advise on what the problem is and what I can do?
... (0 Replies)
I'm getting following message at my EOD backup script:sh: line1: /dev/rct0: cannot create What could be the possible causes for this error and how could I resolve it? (10 Replies)
Hi folks,
I'm trying to organize functions in my ksh program into libraries.
If I run my program as any ksh user it will succeed.
Only when I run my program as tcsh user (i.e oracle) I failed.
Example
=======
The ksh code:
tornado:/tmp # cat nir.ksh
#! /bin/ksh
cdromPath=`pwd`... (1 Reply)