Hello all,
I am trying to configure amanda to run without a tapedrive, so that it
backups up to a disk partition.
So far I have downloaded amanda 2.4.2p2-tapeio, and installed it as per
INSTALL file, then I configured amanda as per Clintons email to this
list: http://groups.yahoo.com/group/amanda-users/message/29732
When I go to run amlabel or anything else for that matter I get the
error:
[amanda@jabba amanda]$ /usr/local/sbin/amlabel DiskDump DiskDump00
rewinding
amlabel: tape_rewind: rewinding tape: file:/backup/DiskDump:
Input/output error
I am new to amanda and apologise for anything simple that I am not
understanding, but I thought that by specifing tapedev I indicated that
I did not wish to rewind the device (as implied by # the no-rewind tape
device etc).
has anyone encountered this problem before and if so do they know what
is going on here?
much appreciation for any help offered.
Chris Freeman.
my amanda.conf file includes:
#runtapes 1 # number of tapes to be used in a single run of
amdump
#tpchanger "chg-manual" # the tape-changer glue script
tapedev "file:/backup/DiskDump" # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
#changerfile "/usr/adm/amanda/DailySet1/changer"
#changerfile "/usr/adm/amanda/DailySet1/changer-status"
#changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
#changerdev "/dev/null"
tapetype HARD-DISK # what kind of tape it is (see tapetypes
below)
labelstr "^DiskDump[0-9][0-9]*$" # label constraint regex: all
tapes must match
...
holdingdisk sdb1 {
comment "main holding disk"
directory "/backup/HoldingDisk" # where the holding disk is
use 290 Mb # how much space can we use on it
# a non-positive value means:
# use all space but that value
chunksize 1Gb # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
# N Kb/Mb/Gb split images in chunks of size N
# The maximum value should be
# (MAX_FILE_SIZE - 1Mb)
# 0 same as INT_MAX bytes
}
...
define tapetype HARD-DISK {
comment "hard-disk"
length 50000 mbytes
}
is there anything else that is relavent to the problem?