Re: Inappropriate ioctl for device
Hello,
fedora schrieb:
> Do we need to set amanda-client.conf either in server or client?
amanda-client.conf is, like it's name let assume, for the client. You can
have one on your server too, if you backup/restore your server too (client
and server at once).
All in all you don't need that file on your clients. It's just a way where
you don't have to tell e. g. amrecover different options, like
tape-/index-server or other options you set inside the amanda-client.conf.
http://wiki.zmanda.com/index.php/Amanda-client.conf
> This is xinetd in client:
> service amanda {
> only_from = server.domain.com
> socket_type = dgram
> protocol= udp
> wait= yes
> user= amanda
> group = disk
> groups = yes
> server = /usr/local/libexec/amandad
> server_args = -auth=bsd amdump
> disable = no
> }
>
>
> The "only_from" part will determine the tape or index server which client
> will contact to.
Not the client contact the server here. It's the other way around. Inside
the (x)inetd.conf you setup services that open ports, other computer can
connect to.
# man xinetd
> Do we still need the amanda-client.conf file? I am a bit confused.
See above.
Regards
Marc
--
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78
http://www.medizinische-genetik.de
Re: Inappropriate ioctl for device
Marc Muehlfeld wrote:
>
> Hi,
> Check the content of your amanda-client.conf. Maybe there is a wrong
> "tapedev" set.
>
Yes u are right. the settings in amanda-client.conf still has /dev/null in
server site. By default that file will be created during installation. When
I was playing around with amanda I copied that file into my amanda path
/usr/local/etc/amanda/DailySet1 but I did not do it for client. Can I ask
something here?. Do we need to set amanda-client.conf either in server or
client? As far I as know the server will contact client via xinetd service.
This is xinetd in client:
service amanda
{
only_from = server.domain.com
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group = disk
groups = yes
server = /usr/local/libexec/amandad
server_args = -auth=bsd amdump
disable = no
}
The "only_from" part will determine the tape or index server which client
will contact to. Do we still need the amanda-client.conf file? I am a bit
confused. I have experienced amanda for 2 months and still learning. please
advise.
--
View this message in context:
http://www.nabble.com/Inappropriate-ioctl-for-device-tf4340412.html#a12379742
Sent from the Amanda - Users mailing list archive at Nabble.com.
Re: Inappropriate ioctl for device
Hi, fedora schrieb: > amrecover> extract amrecover: warning: using /dev/null as the tape device > will not work Check the content of your amanda-client.conf. Maybe there is a wrong "tapedev" set. Regards Marc -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: Inappropriate ioctl for device
Dear Alexandre,
Thanks for your email. I have found out that you are right to the type
setting in amanda.conf. I have not set
tapedev "/dev/nst0"
before. Now, it can be labelled.
Yours,
Richard Ao
Newsbook Limited
- Original Message -
From: "Alexandre Oliva" <[EMAIL PROTECTED]>
To: "richard" <[EMAIL PROTECTED]>
Cc: "amanda-users" <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 12:37 PM
Subject: Re: Inappropriate ioctl for device
> On Feb 9, 2001, "richard" <[EMAIL PROTECTED]> wrote:
>
> > ./amlabel DailySet1 DailySet100
> > rewinding
> > amlabel: rewinding tape: Inappropriate ioctl for device
>
> What is the tape device configured in DailySet1/amanda.conf?
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist*Please* write to mailing lists, not to me
Re: Inappropriate ioctl for device
On Feb 9, 2001, "richard" <[EMAIL PROTECTED]> wrote:
> ./amlabel DailySet1 DailySet100
> rewinding
> amlabel: rewinding tape: Inappropriate ioctl for device
What is the tape device configured in DailySet1/amanda.conf?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me
