Chuck Amadi wrote:

So I know I have to disable the hardware compression but the mt command doesn't fix the issue as it states it's a read-only filesystem and it dosen't make any difference when I run chmod og+w and mt -f /dev/st0 datcompression 0


There are actually two different implementions of mt.
One is named "mt-GNU", the other is named "mt-st".
You probably need the "mt-st" (for SCSI-devices).
Many systems have symlinked mt to mt-st.
Make sure you're using the good version.
The output "mt --version" should clearly state
"mt-st v. 0.7" (or a higher number maybe).
(The mt-GNU says:  "GNU mt version 2.4.2.91" on one of my systems/)

The "mt-st" does not know the "datcompression" command,
but is issued as:  "mt -f /dev/st0 compression 0".
(At least on my systems.)


I have tried the mailing archives and gooogling but to no avail.

When I run amlabel I also get the folowing>
myserver:/usr/sbin # su amanda -c /usr/sbin/amlabel DailySet1
Usage: /usr/sbin/amlabel [-f] <conf> <label> [slot <slot-number>]

The argument after -c should be quoted. And you need to TWO arguments: conf and the label

su amanda -c "/usr/sbin/amlabel DailySet1 YourLabel042"

If not quoted the rest of the args are just passed to the
loginshell (to be used like: "su someone -c somecmd ENV=VAR")
and not used as args of the "somecmd".


I have checkecd /usr/sbin/amcheck which has permissions that root and
disk own the utility


# -rwsr-x---   1 root   disk      189134 Jul  1  2004 amcheck
When I run amcheck command here's my output.

myserever:/usr/sbin # /usr/sbin/amcheck DailySet1
amcheck: running as user "root" instead of "amanda"

Do what the message says: you should run as user amanda, not as user root.

# su - amanda
$ whoami
amanda
$ /usr/sbin/amcheck DailySet1

myserver:/usr/sbin # su amanda -c /usr/sbin/amdump DailySet1
could not open conf file "/etc/amanda/amanda.conf": No such file or
directory
amgetconf: errors processing config file "/etc/amanda/amanda.conf"

Forgetting the quotes, resulting in an empty config, which amdump
interprets as an empty string to locate the directory containing amanda.conf.



-- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************




Reply via email to