Amanda-Users

amrecover setdisk failed: Unexpected end of file

2006-09-28 11:51:45
Subject: amrecover setdisk failed: Unexpected end of file
From: Thomas Ginestet <thomas.ginestet AT gpsa DOT fr>
To: "'Amanda List'" <amanda-users AT amanda DOT org>
Date: Thu, 28 Sep 2006 17:46:05 +0200
Hi list,

I've got a strange thing when using amrecover (amanda 2.5.0p2-1)

My /etc and my /home are backed up on my server, but setdisk /home fails while using setdisk /etc works fine....

It gives me:

amrecover> setdisk /etc
200 Disk set to /etc.
amrecover> ls
2006-09-27 xml/
2006-09-27 wgetrc
2006-09-27 vim/
2006-09-27 updatedb.conf
2006-09-27 udev/
2006-09-27 ucf.conf
2006-09-27 timezone
2006-09-27 terminfo/
2006-09-27 syslog.conf
(.....)

amrecover> setdisk /home
200 Disk set to /home.
200- Opaque list of /
amrecover: Unexpected end of file, check amindexd*debug on server backup


My amindexd debug file (chunked to keep interesting parts):

amindexd: > DISK /etc
amindexd: - 2006-09-27 0 P552LJ01 1 1
amindexd: - 2006-09-27 0 P552LJ01 1 1
amindexd: < 200 Disk set to /etc.
amindexd: > OISD /
amindexd: uncompress command: /bin/gzip -dc '/var/lib/amanda/Tests/index/vdesk1/_etc/20060927_0.gz' 2>/dev/null | sort > '/var/lib/amanda/Tests/index/vdesk1/_etc/20060927_0'
amindexd: f /var/lib/amanda/Tests/index/vdesk1/_etc/20060927_0
amindexd: < 200 "/" is a valid directory
amindexd: > OLSD /
amindexd: < 200- Opaque list of /
amindexd: < 201- 2006-09-27 0 P552LJ01:1,1 1 /
amindexd: < 201- 2006-09-27 0 P552LJ01:1,1 1 /.pwd.lock
amindexd: < 201- 2006-09-27 0 P552LJ01:1,1 1 /adduser.conf
amindexd: < 201- 2006-09-27 0 P552LJ01:1,1 1 /adjtime
amindexd: < 201- 2006-09-27 0 P552LJ01:1,1 1 /aliases
(......)

amindexd: > DISK /home
amindexd: - 2006-09-27 0 P552LJ01 3 1
amindexd: - 2006-09-27 0 P552LJ01 4 2
amindexd: - 2006-09-27 0 P552LJ01 5 3
amindexd: - 2006-09-27 0 P552LJ01 6 4
amindexd: - 2006-09-27 0 P552LJ01 7 5
amindexd: - 2006-09-27 0 P552LJ01 8 6
amindexd: - 2006-09-27 0 P552LJ01 9 7
(.......)
amindexd: < 200 Disk set to /home.
amindexd: > OISD /
amindexd: uncompress command: /bin/gzip -dc '/var/lib/amanda/Tests/index/vdesk1/_home/20060927_0.gz' 2>/dev/null | sort > '/var/lib/amanda/Tests/index/vdesk1/_home/20060927_0'
amindexd: f /var/lib/amanda/Tests/index/vdesk1/_home/20060927_0
amindexd: < 200 "/" is a valid directory
amindexd: > OLSD /
amindexd: < 200- Opaque list of /
amindexd: < 201- 2006-09-27 0 P552LJ01:3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,
(.....)
04,17005,17006,17007,17008,17009,17010,17011,17012,17013,17014,17015,17016,17017,17018,17019,17020,17021,17022,17023,17024,17025,17026,17027,17028,17029,17030,17031,17032,17033,17034,17035,17036,17037,17038,17039,17040,17041,17042,17043,17044,17045,17046,17047,17048,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,17062,17063,17064,17065,17066,17067,17068,17069,17070,17071,17072,17073,17074,17075,17076,17077,17078,17079,17080,17081,17082,17083,17084,17085,17086,17087,17088,17089,17090,17091,17092,17093,17094,17095,17096,17097,17098,17099 3 /

The sendbackup debug file tells me that the total bytes written is 254GiB, which was the right amount of data to be backed up.


Any help would be appreciate...


Thomas




<Prev in Thread] Current Thread [Next in Thread>
  • amrecover setdisk failed: Unexpected end of file, Thomas Ginestet <=