Re: disk offline?

2005-06-02 Thread Alexander Jolk

Cameron Matheson wrote:


FAILURE AND STRANGE DUMP SUMMARY:
  devdb.tons /dev/ida/c0d0p2 lev 0 FAILED [disk
/dev/ida/c0d0p2 offline on
 devdb.tonservices.com?]
  gatorade.t /dev/sda6 lev 0 STRANGE

Ok, the whole /dev/ida/c0d0p2 thing is a word device i
will admit, but it's definitely not offline...


Does this setup pass amcheck?

Could you have a look in devdb.tons' /tmp/amanda/sendbackup.* file 
whether there's something suspicious going on?  It's most probably 
either a typo or a permissions problem.


Are you using GNUTAR or DUMP?  In case of GNUTAR, can you try giving the 
mountpoint instead of the device file, if my first suggestions don't help?



FAILED AND STRANGE DUMP DETAILS:

/-- gatorade.t /dev/sda6 lev 0 STRANGE
sendbackup: start [gatorade.tonservices.com:/dev/sda6
level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -f... -
sendbackup: info end
? gtar:
./ton/spool/doc_send/fax/oldstuff/064106020107:
Warning: Cannot st
at: No such file or directory
| gtar: ./tmp/.font-unix/fs-1: socket ignored
? gtar:
./ton/spool/doc_send/fax/oldstuff/064106020107/01.tif:
Warning: Ca
nnot stat: No such file or directory
| gtar: ./var/lib/mysql/mysql.sock: socket ignored
| Total bytes written: 11511255040 (11GB, 8.7MB/s)
sendbackup: size 11241460
sendbackup: end

ok, so i guess tar probably has problems w/ sockets?


Sockets get routinely ignored by tar, nothing to worry about.  The 
`Cannot stat' errors in the spool directory are certainly harmless, just 
a file that disappeared between the moment tar constructed its list of 
files to backup, and the moment it wanted to actually read them.



(that isn't so big of a deal), what is a problem is
that it shouldn't even be backing up anything in /tmp/
or oldstuff (here's my exclude file):

./tmp/*
./proc/*
./dev/*
*oldstuff*
./mnt/*
./opt/naroot/*
./var/tmp/*
./var/www/*
./sys/*

there's another thread on the whole amanda ignoring
excludes going on right now, but it doesn't seem like
any definite conclusion has been reached.  is this a
bug, or do i just have a badly formed exclude file?


Actually, there is no known problem whatsoever with exclude lists.  The 
other thread that you allude to, will most probably just debug the 
exclude file's syntax.  Same thing for you, are you sure that your 
exclude file is correctly taken into account?  Again, the files in 
/tmp/amanda/ on the client will tell you that.


You will notably find the complete command line that amanda uses for 
tar, in one of these files.  It doesn't hurt to try that line and see 
whether it fails; most probably the solution will pop out immediately if 
you try that.


Alex



--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29



Re: disk offline?

2005-06-02 Thread Alexander Jolk

Cameron Matheson wrote:


hmm, there is no sendbackup file... i'm assuming it
never got that file.  i did look around in a few of
the other files, and the problem seems to be here at
how it's running tar:

 /bin/tar --create --file /dev/null --directory
/dev/ida/c0d0p2
 --one-file-system --listed-incremental
/var/lib/amanda/gnutar-lists/devdb.tonser
vices.com_dev_ida_c0d0p2_0.new --sparse
--ignore-failed-read --totals .

--directory /dev/ida/c0d0p2!! i'm not sure why that
is... here's the entry from my disklist file:

devdb.tonservices.com /dev/ida/c0d0p2 root-tar

it's similar to my other clients which are all working
fine... why would it be sending this tar command? (the
other clients are all having '/' be their directory)


Actually, I thought that you could give either a device name or a 
directory, and amanda would convert  either one to whatever is needed 
for your dump program (device for DUMP, path for GNUTAR).  Apparently, 
this doesn't work out in your case; I remember there having been a bug 
some time ago, but I can't recall the specifics.  (Anybody remember more 
detail here?)


Anyway, if using the path instead of the device is fine with you, I'm 
pretty sure that would work.



Are you using GNUTAR or DUMP?  In case of GNUTAR,
can you try giving the mountpoint instead of the 
device file, if my first suggestions don't help?



hmmm, i never even thought about that... does that
mean that instead of specifying the device, i can just
type '/' and it will back up everything (except for
the stuff in excludes)?


Almost, yes.  Note the `--one-file-system' option to tar above: tar will 
stay within the same mounted filesystem, heeding excludes obviously. 
Barring an eventual bug in amanda, use whatever notation you are more 
comfortable with; to me, that would be directories, for other, that 
might be devices.


Alex





--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29



Re: disk offline?

2005-06-02 Thread Michael Loftis



--On June 2, 2005 12:05:58 PM -0700 Cameron Matheson [EMAIL PROTECTED] 
wrote:




devdb.tonservices.com /dev/ida/c0d0p2 root-tar

it's similar to my other clients which are all working
fine... why would it be sending this tar command? (the
other clients are all having '/' be their directory)


Whenusing tar reference MOUNTED filesystems not raw disk devices.  / is a 
mounted file system, the above is pretty clearly not, it should be like 
/var, /home, /usr, or somesuch.  You can't dump an unmounted filesystem or 
raw device with tar.


Re: disk offline?

2005-06-02 Thread Jon LaBadie
On Thu, Jun 02, 2005 at 09:23:34PM +0200, Alexander Jolk wrote:
 Cameron Matheson wrote:
 
 it's similar to my other clients which are all working
 fine... why would it be sending this tar command? (the
 other clients are all having '/' be their directory)
 
 Actually, I thought that you could give either a device name or a 
 directory, and amanda would convert  either one to whatever is needed 
 for your dump program (device for DUMP, path for GNUTAR).  Apparently, 
 this doesn't work out in your case; I remember there having been a bug 
 some time ago, but I can't recall the specifics.  (Anybody remember more 
 detail here?)

Not the details of the bug.  What I was wondering was about
/etc/fstab.  The translation between device and mounted file system
is done, I think, by using the fstab file.  Recent practice in
linux (at least recent to me) is to use some symbolic tokens
in fstab.  I see one of my laptop fedora entries is:

  LABEL=//ext3   defaults1 1

From that, I've no idea what disk device contains /.
Probably amanda doesn't either.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: disk offline?

2005-06-02 Thread Cameron Matheson
Hey,

you're exactly right... that box (i'm not even sure
what distro it's running... mandrake?) is also using
that weird naming scheme (i actually had to check mtab
to see what the root really was).  that seems kind of
lame to do it by label instead of device file, but i
guess that's the way it goes.

thanks for the info,
Cameron Matheson

--- Jon LaBadie [EMAIL PROTECTED] wrote:
 Not the details of the bug.  What I was wondering
 was about
 /etc/fstab.  The translation between device and
 mounted file system
 is done, I think, by using the fstab file.  Recent
 practice in
 linux (at least recent to me) is to use some
 symbolic tokens
 in fstab.  I see one of my laptop fedora entries is:
 
   LABEL=//ext3   defaults1 1
 
 From that, I've no idea what disk device contains
 /.
 Probably amanda doesn't either.
 
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: disk offline error

2004-06-01 Thread Jon LaBadie
On Mon, May 31, 2004 at 09:14:16PM -0700, gen2 wrote:
  /dev/sda9 is NOT a mount point, its a descriptor only and will
  probably fail forever.
 
  now, if that disk is mounted someplace, as in /mnt/sda9 on the machine
  whose alias is node1, and it is mounted when amdump runs, it should
  work like a champ.
 
 Ok, what I'm experiencing lends that a lot of credence, but what sent me off 
 in this direction was (from the amanda distribution, example disklist 
 entries)
 
 # Dump Joe's NetBSD machine, with the mounted MS-DOS partition dumped
 # using tar.
 #joespc  wd0a comp-root
 #joespc  wd0e comp-user
 #joespc /msdos comp-user-tar
 
 which seems to imply that it's possible to back up unmounted partitions, and 
 that would be really great! I've always been under the impression that this 
 was amanda-possible somehow, but never have been able to make it happen.
 
 Seems like this would be the way to back up a partition regardless of 
 formatting (like an HFS+ or NT part, which is really what I'm after).

If the program you tell amanda to use for the backup is a version
of tar, then it can only backup files and directories.  That is a 
property of tar, not amanda.  And of course, for there to be files
and directories, the partition must be mounted.

If instead you tell amanda to use a version of dump, those programs
generally work at the device level (even when told to work on a
mount point) and should be able to backup umounted partitions.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: disk offline error

2004-06-01 Thread Eric Siegerman
On Tue, Jun 01, 2004 at 10:26:57AM -0400, Jon LaBadie wrote:
 If [...] you tell amanda to use a version of dump, those programs
 generally work at the device level (even when told to work on a
 mount point) and should be able to backup umounted partitions.

To add a bit more detail, dump does this by understanding the
file-system data structures, just about as intimately as the
kernel file-system code does.  Every file-system type needs its
own specific pair of dump and restore programs if you want to
back up unmounted partitions.

Which is why using dump instead of gtar does *not* get you this:

 On Mon, May 31, 2004 at 09:14:16PM -0700, gen2 wrote:
  Seems like this would be the way to back up a partition regardless of 
  formatting (like an HFS+ or NT part, which is really what I'm after).

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
It must be said that they would have sounded better if the singer
wouldn't throw his fellow band members to the ground and toss the
drum kit around during songs.
- Patrick Lenneau


Re: disk offline error

2004-05-31 Thread gen2
 /dev/sda9 is NOT a mount point, its a descriptor only and will
 probably fail forever.

 now, if that disk is mounted someplace, as in /mnt/sda9 on the machine
 whose alias is node1, and it is mounted when amdump runs, it should
 work like a champ.

Ok, what I'm experiencing lends that a lot of credence, but what sent me off 
in this direction was (from the amanda distribution, example disklist 
entries)

# Dump Joe's NetBSD machine, with the mounted MS-DOS partition dumped
# using tar.
#joespc  wd0a comp-root
#joespc  wd0e comp-user
#joespc /msdos comp-user-tar

which seems to imply that it's possible to back up unmounted partitions, and 
that would be really great! I've always been under the impression that this 
was amanda-possible somehow, but never have been able to make it happen.

Seems like this would be the way to back up a partition regardless of 
formatting (like an HFS+ or NT part, which is really what I'm after).



Re: disk offline ?

2004-01-08 Thread Frank Smith
--On Thursday, January 08, 2004 15:51:21 +0100 Oliver Simon [EMAIL PROTECTED] wrote:

 Hi Group !
 
 Maybe anyone has a hint for me ?
 We have about 30 Servers, all UNIX. They are all backed up with amanda,
 which worked very good, until some problems occured.
 
 I defined a TestSet an tried to put in a new host. But I don´t get it to
 work. I want to do a dump of the following partitions, which are really
 partitions on the target-host.
 
 -snip disklist
 daisy   /   comp-hd-dump
 daisy   /boot   comp-hd-dump
 daisy   /optcomp-hd-dump
 daisy   /usrcomp-hd-dump
 -/snip
 
 If I put comp-hd-tar in here, all works fine ... !?
 
 -snip report
 FAILURE AND STRANGE DUMP SUMMARY:
   daisy  /usr lev 0 FAILED [disk /usr offline on daisy?]
   daisy  /opt lev 0 FAILED [disk /opt offline on daisy?]
   daisy  /lev 0 FAILED [disk / offline on daisy?]

Disk offline messages are generally a result of permissions
problems (if the disk were really offline you would have much
bigger problems).  Make sure your backup user is part of the
correct group to have access to the disk.  Try to 'su - backupuser'
and check if you can see those disks.
   Tar works because Aamnda uses a suid runtar wrapper script that
runs tar as root (although it isn't used by amcheck, so you would
still get errors from amcheck even though amdump would work).

Frank

 
 ...
 
 DUMP SUMMARY: DUMPER STATSTAPER STATS 
 HOSTNAME  DISK  L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
 -- - 
 daisy /   0 FAILED ---
 daisy /boot   06410   5472  85.4   0:023511.7   0:023484.9
 daisy /opt0 FAILED ---
 daisy /usr0 FAILED ---
 
 /snip
 
 Why does /boot work ??? Ups, just saw it worked only the first time ...
 Now its the same message ...
 
 And, does comp-hd-tar eat more cpu ? I would think so, or am I false ?
 Last Backup this night 
 
 Were great anyone had a tip !
 
 ...olli



-- 
Frank Smith  [EMAIL PROTECTED]
Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501




Re: disk offline ?

2004-01-08 Thread Oliver Simon
I can su to amanda and chdir to usr and everything else thats failling ?
Is it maybe because of the filesystem xfs on the target-machine ?
I think amanda wants to do a xfsdump there, right ? I tried to run it as
amanda and got it complaining to be root to run ... !?

Thanks in advance 

...olli

Am Do, 2004-01-08 um 16.39 schrieb Frank Smith:
 --On Thursday, January 08, 2004 15:51:21 +0100 Oliver Simon [EMAIL PROTECTED] 
 wrote:
 
  Hi Group !
  
  Maybe anyone has a hint for me ?
  We have about 30 Servers, all UNIX. They are all backed up with amanda,
  which worked very good, until some problems occured.
  
  I defined a TestSet an tried to put in a new host. But I don´t get it to
  work. I want to do a dump of the following partitions, which are really
  partitions on the target-host.
  
  -snip disklist
  daisy   /   comp-hd-dump
  daisy   /boot   comp-hd-dump
  daisy   /optcomp-hd-dump
  daisy   /usrcomp-hd-dump
  -/snip
  
  If I put comp-hd-tar in here, all works fine ... !?
  
  -snip report
  FAILURE AND STRANGE DUMP SUMMARY:
daisy  /usr lev 0 FAILED [disk /usr offline on daisy?]
daisy  /opt lev 0 FAILED [disk /opt offline on daisy?]
daisy  /lev 0 FAILED [disk / offline on daisy?]
 
 Disk offline messages are generally a result of permissions
 problems (if the disk were really offline you would have much
 bigger problems).  Make sure your backup user is part of the
 correct group to have access to the disk.  Try to 'su - backupuser'
 and check if you can see those disks.
Tar works because Aamnda uses a suid runtar wrapper script that
 runs tar as root (although it isn't used by amcheck, so you would
 still get errors from amcheck even though amdump would work).
 
 Frank
 
  
  ...
  
  DUMP SUMMARY: DUMPER STATSTAPER STATS 
  HOSTNAME  DISK  L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
  -- - 
  daisy /   0 FAILED ---
  daisy /boot   06410   5472  85.4   0:023511.7   0:023484.9
  daisy /opt0 FAILED ---
  daisy /usr0 FAILED ---
  
  /snip
  
  Why does /boot work ??? Ups, just saw it worked only the first time ...
  Now its the same message ...
  
  And, does comp-hd-tar eat more cpu ? I would think so, or am I false ?
  Last Backup this night 
  
  Were great anyone had a tip !
  
 ...olli



Re: disk offline ?

2004-01-08 Thread Frank Smith
--On Thursday, January 08, 2004 17:21:48 +0100 Oliver Simon [EMAIL PROTECTED] wrote:

 I can su to amanda and chdir to usr and everything else thats failling ?
 Is it maybe because of the filesystem xfs on the target-machine ?
 I think amanda wants to do a xfsdump there, right ? I tried to run it as
 amanda and got it complaining to be root to run ... !?

You must use the right version of dump for the filesystem.  Was Amanda
built with support for xfsdump ?  Are the disks on all your clients
xfs or just on the one new client?  If you have a mixture of filesystem
types, I'm not sure how you configure multiple flavors of dump in one
setup, hopefully someone else here has done it and will say how.

Frank

 
 Thanks in advance 
 
 ...olli
 
 Am Do, 2004-01-08 um 16.39 schrieb Frank Smith:
 --On Thursday, January 08, 2004 15:51:21 +0100 Oliver Simon [EMAIL PROTECTED] 
 wrote:
 
  Hi Group !
  
  Maybe anyone has a hint for me ?
  We have about 30 Servers, all UNIX. They are all backed up with amanda,
  which worked very good, until some problems occured.
  
  I defined a TestSet an tried to put in a new host. But I don´t get it to
  work. I want to do a dump of the following partitions, which are really
  partitions on the target-host.
  
  -snip disklist
  daisy   /   comp-hd-dump
  daisy   /boot   comp-hd-dump
  daisy   /optcomp-hd-dump
  daisy   /usrcomp-hd-dump
  -/snip
  
  If I put comp-hd-tar in here, all works fine ... !?
  
  -snip report
  FAILURE AND STRANGE DUMP SUMMARY:
daisy  /usr lev 0 FAILED [disk /usr offline on daisy?]
daisy  /opt lev 0 FAILED [disk /opt offline on daisy?]
daisy  /lev 0 FAILED [disk / offline on daisy?]
 
 Disk offline messages are generally a result of permissions
 problems (if the disk were really offline you would have much
 bigger problems).  Make sure your backup user is part of the
 correct group to have access to the disk.  Try to 'su - backupuser'
 and check if you can see those disks.
Tar works because Aamnda uses a suid runtar wrapper script that
 runs tar as root (although it isn't used by amcheck, so you would
 still get errors from amcheck even though amdump would work).
 
 Frank
 
  
  ...
  
  DUMP SUMMARY: DUMPER STATSTAPER STATS 
  HOSTNAME  DISK  L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
  -- - 
  daisy /   0 FAILED ---
  daisy /boot   06410   5472  85.4   0:023511.7   0:023484.9
  daisy /opt0 FAILED ---
  daisy /usr0 FAILED ---
  
  /snip
  
  Why does /boot work ??? Ups, just saw it worked only the first time ...
  Now its the same message ...
  
  And, does comp-hd-tar eat more cpu ? I would think so, or am I false ?
  Last Backup this night 
  
  Were great anyone had a tip !
  
  ...olli



-- 
Frank Smith  [EMAIL PROTECTED]
Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501




Re: disk offline ?

2004-01-08 Thread Oliver Simon
Hello again ...

Am Do, 2004-01-08 um 17.37 schrieb Frank Smith:
 --On Thursday, January 08, 2004 17:21:48 +0100 Oliver Simon [EMAIL PROTECTED] 
 wrote:
 
  I can su to amanda and chdir to usr and everything else thats failling ?
  Is it maybe because of the filesystem xfs on the target-machine ?
  I think amanda wants to do a xfsdump there, right ? I tried to run it as
  amanda and got it complaining to be root to run ... !?
 
 You must use the right version of dump for the filesystem.  Was Amanda
 built with support for xfsdump ? 

Yes, we have about 15 (SuSI´s/SLES/SLOX) hosts running with xfs. No
problem there.

  Are the disks on all your clients xfs or just on the one new client?

The rest is 10 Solaris (ufs) and some other linux´ (redhat ext3).

   If you have a mixture of filesystem types, I'm not sure how you configure multiple 
 flavors of dump in one
 setup, hopefully someone else here has done it and will say how.

Thought, amanda examines it itself, and takes the correct version
(dump/xfsdump) from the clients ??

 
 Frank


...olli
 
  
  Thanks in advance 
  
  ...olli
  
  Am Do, 2004-01-08 um 16.39 schrieb Frank Smith:
  --On Thursday, January 08, 2004 15:51:21 +0100 Oliver Simon [EMAIL PROTECTED] 
  wrote:
  
   Hi Group !
   
   Maybe anyone has a hint for me ?
   We have about 30 Servers, all UNIX. They are all backed up with amanda,
   which worked very good, until some problems occured.
   
   I defined a TestSet an tried to put in a new host. But I don´t get it to
   work. I want to do a dump of the following partitions, which are really
   partitions on the target-host.
   
   -snip disklist
   daisy   /   comp-hd-dump
   daisy   /boot   comp-hd-dump
   daisy   /optcomp-hd-dump
   daisy   /usrcomp-hd-dump
   -/snip
   
   If I put comp-hd-tar in here, all works fine ... !?
   
   -snip report
   FAILURE AND STRANGE DUMP SUMMARY:
 daisy  /usr lev 0 FAILED [disk /usr offline on daisy?]
 daisy  /opt lev 0 FAILED [disk /opt offline on daisy?]
 daisy  /lev 0 FAILED [disk / offline on daisy?]
  
  Disk offline messages are generally a result of permissions
  problems (if the disk were really offline you would have much
  bigger problems).  Make sure your backup user is part of the
  correct group to have access to the disk.  Try to 'su - backupuser'
  and check if you can see those disks.
 Tar works because Aamnda uses a suid runtar wrapper script that
  runs tar as root (although it isn't used by amcheck, so you would
  still get errors from amcheck even though amdump would work).
  
  Frank
  
   
   ...
   
   DUMP SUMMARY: DUMPER STATSTAPER STATS 
   HOSTNAME  DISK  L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
   -- - 
   daisy /   0 FAILED ---
   daisy /boot   06410   5472  85.4   0:023511.7   0:023484.9
   daisy /opt0 FAILED ---
   daisy /usr0 FAILED ---
   
   /snip
   
   Why does /boot work ??? Ups, just saw it worked only the first time ...
   Now its the same message ...
   
   And, does comp-hd-tar eat more cpu ? I would think so, or am I false ?
   Last Backup this night 
   
   Were great anyone had a tip !
   
   ...olli




Re: disk offline on remote server

2003-11-06 Thread Frank Smith
--On Friday, November 07, 2003 00:01:08 + Mohammad Meskarian [EMAIL PROTECTED] 
wrote:

 Dear All. 

  I have some strange report on Amanda starting after no change on
 Amanda or at least I don't know what is 
  Changed. 
   I receive disk offline ?. only for remote servers. 
   ServerName  /etc/ lev 0 FAILED [disk /etc/ offline on
 ServerName?]
  
I think every thing was fine for remote server and we hadn't any
 change 
Or possibly this occurs after recent compile. 
Amcheck doesn't report anything strange every thing is normal 
And amcheck shows every thing is fine. 
However I tried all Amanda ports all are available and listening for
 incoming port!

I would suspect you lost the setuid bits on the various Amanda
programs that need them (rundump, runtar, dumper, etc.).


Frank

  
Any help really appreciated. 
  
Best regards 
Mohammad 
  
   



-- 
Frank Smith  [EMAIL PROTECTED]
Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501



Re: disk offline?

2003-08-14 Thread Gene Heskett
On Tuesday 12 August 2003 11:53, LaValley, Brian E wrote:
I have not been able to backup anything on my local system.  AMANDA
 reports that it thinks the disk is offline.  Where should I start
 looking to find out what is wrong?

Start in the disklist and get rid of any localhost entries, use only 
FQDN's there.

Make sure your /etc/hosts file is complete, including a direct 
translation of the servers FQDN to the servers IP address.

And make sure the .amandahosts file is correct, including perms, which 
for security should be 0600.  Amanda will read it with more 
permissive perms ok, but you don't exactly want half the planet 
reading that.

Then make sure the amanda related files in /etc/xinetd.d are correct.

-- 
Cheers, Gene
AMD [EMAIL PROTECTED] 320M
[EMAIL PROTECTED]  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.



Re: disk offline?

2003-08-14 Thread Frank Smith
--On Tuesday, August 12, 2003 11:53:59 -0400 LaValley, Brian E [EMAIL PROTECTED] 
wrote:

 I have not been able to backup anything on my local system.  AMANDA reports
 that it thinks the disk is offline.  Where should I start looking to find
 out what is wrong?

Make sure you're not trying to back up the raw device with tar.
su - to your backup user and see if you can acces the device.
Some (RedHat?) machines had problems mapping paths to device names
if the fstab used labels for partitions.

If none of those help, try posting your OS, Amanda version, disklist
and dumptype entry for the problem disk.

Frank




Re: disk offline

2002-10-29 Thread Joshua Baker-LePain
On Tue, 29 Oct 2002 at 2:39pm, Chad Morland wrote

 backup. /backup lev 0 FAILED [disk /backup offline on
 backup.domain.com?] (I have also tried using the device
 [/dev/vinum/striped])
 
*snip*
 
 My backup partition is a 430G striped vinum partition on FreeBSD. I have
 followed everything that is in the FAQ on this subject but nothing seems
 to be solving it. Anyone have any ideas on how to solve this?

What's in /tmp/amandad*debug and /tmp/sendsize*debug on backup?  Can you 
access the device *as the amanda user*?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: disk offline

2002-10-29 Thread Chad Morland
Error from sendsize*debug:
runtar: error [must be invoked by operator]

However, amanda is in my operator group.
torbackup# id amanda
uid=1000(amanda) gid=1000(amanda) groups=1000(amanda), 5(operator)

And the from amandad*.debug:
cut
(Environment variables cut out)
Amanda 2.4 REQ HANDLE 000-00360708 SEQ 1035907903
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


sending nack:

Amanda 2.4 NAK HANDLE 000-00360708 SEQ 1035907903
ERROR unknown service: noop
/cut

-CM
- Original Message -
From: Joshua Baker-LePain [EMAIL PROTECTED]
To: Chad Morland [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 29, 2002 3:08 PM
Subject: Re: disk offline


 On Tue, 29 Oct 2002 at 2:39pm, Chad Morland wrote

  backup. /backup lev 0 FAILED [disk /backup offline on
  backup.domain.com?] (I have also tried using the device
  [/dev/vinum/striped])
 
 *snip*
 
  My backup partition is a 430G striped vinum partition on FreeBSD. I
have
  followed everything that is in the FAQ on this subject but nothing
seems
  to be solving it. Anyone have any ideas on how to solve this?

 What's in /tmp/amandad*debug and /tmp/sendsize*debug on backup?  Can
you
 access the device *as the amanda user*?

 --
 Joshua Baker-LePain
 Department of Biomedical Engineering
 Duke University






Re: disk offline

2002-10-29 Thread Joshua Baker-LePain
On Tue, 29 Oct 2002 at 3:20pm, Chad Morland wrote

 Error from sendsize*debug:
 runtar: error [must be invoked by operator]
 
 However, amanda is in my operator group.
 torbackup# id amanda
 uid=1000(amanda) gid=1000(amanda) groups=1000(amanda), 5(operator)

Are you using inetd or xinetd?  If it's xinetd, you need groups = yes in 
your amanda service file to pick up secondary groups.

When you configured and compiled amanda, what USER and GROUP did you 
define?  You did 'make install' as root, right?

 And the from amandad*.debug:
 cut
 (Environment variables cut out)
 Amanda 2.4 REQ HANDLE 000-00360708 SEQ 1035907903
 SECURITY USER amanda
 SERVICE noop
 OPTIONS features=feff9f00;
 
 
 sending nack:
 
 Amanda 2.4 NAK HANDLE 000-00360708 SEQ 1035907903
 ERROR unknown service: noop

This is a result of running 2.4.3 on the server but not on this client (I 
think).  It's not a problem in itself.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




RE: disk offline - runtar as root

2002-06-07 Thread Spicer, Kevin

I guess it must be a check thats compiled in?
Try recompiling, if I remember (its been a while...) its something like 
--with-amanda-user=amanda [or whichever user you are using] --with-amanda-group=sys   
[in your case]
Best to check this in the docs though!

-Original Message-
From: Jonathan Murray [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 18:25
To: Spicer, Kevin
Cc: [EMAIL PROTECTED]
Subject: Re: disk offline - runtar as root


borzoi 63# pwd
/usr/freeware/libexec

-rwsr-x---1 root sys21876 May 31 17:36 runtar

/etc/group:

borzoi 6% cat /etc/group
sys::0:root,bin,sys,adm,amanda
root::0:root
daemon::1:root,daemon
bin::2:root,bin,daemon
adm::3:root,adm,daemon
mail::4:root
uucp::5:uucp
rje::8:
lp:*:9:
nuucp::10:nuucp
user::20:amanda
CMWlogin::994:
other::995:
demos:*:997:
guest:*:998:
nobody:*:60001:

runtar attempt as user amanda:

borzoi 8% whoami
amanda
borzoi 7% ./runtar
runtar: error [must be invoked by root]

How do did you get runtar: error [must be invoked by amanda]
?

thank you,

-Jonathan Murray

Spicer, Kevin wrote:

 cd /usr/local/libexec
 chown root:amanda runtar
 chmod 4750 runtar
 
 assuming runtar is in usr/local/libexec and that the amanda user is in the amanda 
group...
 
 But... I suspect that you haven't got runtar in the right group (or the amanda user 
in the right group) as your message suggests runtar is generating the error.
 When  try to invoke runtar on my system (as myself) I get
 runtar: error [must be invoked by amanda]
 I don't know whether this check is hardwired in at compile time - in which case you 
may need to recompile?
 
 -Original Message-
 From: Jonathan Murray [mailto:[EMAIL PROTECTED]]
 Sent: 06 June 2002 15:25
 To: Jonathan Murray
 Cc: [EMAIL PROTECTED]
 Subject: disk offline - runtar as root
 
 
 It appears that the client isn't running runtar as root. Does anyone 
 know how to force the client to run runtar as root?
 
 Thanks,
 
 Jonathan Murray
 
 from report:
 
 FAILURE AND STRANGE DUMP SUMMARY:
borzoi /dev/dsk/dks0d2s7 lev 0 FAILED [disk /dev/dsk/dks0d2s7 
 offline on borzoi?]
borzoi /dev/dsk/dks0d1s0 lev 0 FAILED [disk /dev/dsk/dks0d1s0 
 offline on borzoi?]
 
 
 
 on client:
 
 calculating for amname '/dev/dsk/dks0d2s7', dirname '/borzoi'
 sendsize: getting size via gnutar for /dev/dsk/dks0d2s7 level 0
 sendsize: missing exclude list file /usr/local/lib/amanda/exclude.gtar 
 discarded
 sendsize: spawning /usr/freeware/libexec/runtar in pipeline
 sendsize: argument list: /usr/freeware/bin/tar --create --file /dev/null 
 --directory /borzoi --one-file-system --listed-incremental 
 /var/amanda/gnutar-lists/borzoi_dev_dsk_dks0d2s7_0.new --sparse 
 --ignore-failed-read --totals .
 runtar: error [must be invoked by root]
 
 
 




RE: disk offline - runtar as root

2002-06-06 Thread Spicer, Kevin

cd /usr/local/libexec
chown root:amanda runtar
chmod 4750 runtar

assuming runtar is in usr/local/libexec and that the amanda user is in the amanda 
group...

But... I suspect that you haven't got runtar in the right group (or the amanda user in 
the right group) as your message suggests runtar is generating the error.
When  try to invoke runtar on my system (as myself) I get
runtar: error [must be invoked by amanda]
I don't know whether this check is hardwired in at compile time - in which case you 
may need to recompile?

-Original Message-
From: Jonathan Murray [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 15:25
To: Jonathan Murray
Cc: [EMAIL PROTECTED]
Subject: disk offline - runtar as root


It appears that the client isn't running runtar as root. Does anyone 
know how to force the client to run runtar as root?

Thanks,

Jonathan Murray

from report:

FAILURE AND STRANGE DUMP SUMMARY:
   borzoi /dev/dsk/dks0d2s7 lev 0 FAILED [disk /dev/dsk/dks0d2s7 
offline on borzoi?]
   borzoi /dev/dsk/dks0d1s0 lev 0 FAILED [disk /dev/dsk/dks0d1s0 
offline on borzoi?]



on client:

calculating for amname '/dev/dsk/dks0d2s7', dirname '/borzoi'
sendsize: getting size via gnutar for /dev/dsk/dks0d2s7 level 0
sendsize: missing exclude list file /usr/local/lib/amanda/exclude.gtar 
discarded
sendsize: spawning /usr/freeware/libexec/runtar in pipeline
sendsize: argument list: /usr/freeware/bin/tar --create --file /dev/null 
--directory /borzoi --one-file-system --listed-incremental 
/var/amanda/gnutar-lists/borzoi_dev_dsk_dks0d2s7_0.new --sparse 
--ignore-failed-read --totals .
runtar: error [must be invoked by root]




Re: disk offline error

2002-05-20 Thread Toomas Aas

Hi!

 Recently had a drive fail on a RAID I am backing up.  Since replacing 
 the drive and re-building the RAID, amanda has been failing on all of 
 the partitions on this computer.
 
 The error I see in the amanda report is the following:
 
hostname /dev/da0s1f lev 0 FAILED [disk /dev/da0s1f offline on hostname?]

Does the amanda user have permissions to read /dev/da0s1* ?
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Life would be easier if I had the source code.




Re: disk offline

2002-04-23 Thread Gene Heskett

On Tuesday 23 April 2002 02:38 am, GIC MLs wrote:
I would expect this to be a frequently asked question, but after
 looking through Google, I didn't see much specifically on it,
 so...

My amdump email report starts out:

These dumps were to tape daily001.
The next tape Amanda expects to use is: daily001.

This in itself, is odd, very odd.  Your amanda.conf seems to be 
out of whack somehow.
[snip]

(brought to you by Amanda version 2.4.2p2)

Was this an rpm installed version?
And whats an 'amcheck /config/' report?

I'm not really sure where to start looking for answers here.
Can anyone suggest a starting point?

Building your own from scratch has always worked here.  I have a 
short script that I use for the ./configure step so that each 
succeeding version remains compatible with the previous one by 
having the exact same options each time, and I'm currently 
running the 2.4.3b3-20020422 snapshot with a seagate changer.

Thanks,

Shawn

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
98.8+% setiathome rank, not too shabby for a hillbilly



Re: disk offline

2002-04-23 Thread GIC MLs

 My amdump email report starts out:
 
 These dumps were to tape daily001.
 The next tape Amanda expects to use is: daily001.

 This in itself, is odd, very odd.  Your amanda.conf seems to be
 out of whack somehow.

Well, that could very well be, I suppose...

 (brought to you by Amanda version 2.4.2p2)

 Was this an rpm installed version?

No. I am running FreeBSD ports. I installed Amanda in January... I think it
was done using the FreeBSD ports collection.

 And whats an 'amcheck /config/' report?

%amcheck daily
Amanda Tape Server Host Check
-
NOTE: skipping tape-writable test
Tape daily001 label ok
NOTE: info dir /usr/local/etc/amanda/daily/curinfo: does not exist
NOTE: it will be created on the next run
Server check took 5.145 seconds

Amanda Backup Client Hosts Check

Client check: 1 host checked in 0.114 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2)

 I'm not really sure where to start looking for answers here.
 Can anyone suggest a starting point?

 Building your own from scratch has always worked here.  I have a
 short script that I use for the ./configure step so that each
 succeeding version remains compatible with the previous one by
 having the exact same options each time, and I'm currently
 running the 2.4.3b3-20020422 snapshot with a seagate changer.

I have no changer... A script sounds like a good idea.

Thanks,

Shawn




Re: disk offline ?

2002-02-19 Thread Joshua Baker-LePain

On Tue, 19 Feb 2002 at 7:56am, Martin Oehler wrote

 I got the same problem with one of my boxes.
 Are there known problems with amanda and ReiserFS?
 
 My log entries messages look like:
 got result for host pc20 disk /: 0 - -1K, -1 - -1K, -1 - -1K
   0: pc20   /
 planner: FAILED pc20 / 0 [disk / offline on pc20?]
 
 Seems like amanda can't get the size of the disk.
 Any suggestions? Should I use tar unstead of dump?

Well, seeing as there *is* no dump for ReiserFS, yes, you have to use tar.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: disk offline ?

2002-02-18 Thread Hauke Fath

Rainer Fuegenstein [EMAIL PROTECTED] wrote:

 After adding a new old server named fav to amanda, I keep
 getting the following message:
 
 FAILURE AND STRANGE DUMP SUMMARY:
   fav/home2 lev 0 FAILED [disk /home2 offline on fav?]
 
 It doesn't matter if the disk is specified by device file or 
 mount directory:
  
 favc1t4d0s6tar-srv-low# /home2
 fav/home2  tar-srv-low# /home2

Looks familiar... Try to supply the absolute path for the obstinate
drive. If that helps, we're two...

hauke

-- 
  Hauke Fath /~\The ASCII
 tangro software components GmbH \ / Ribbon Campaign
  D-69115 Heidelberg  X  Against
  Ruf +49-6221-13336-0, Fax -21  / \   HTML Email!




Re: disk offline ?

2002-02-18 Thread Martin Oehler

Hi!

Hauke Fath wrote:
 
 Rainer Fuegenstein [EMAIL PROTECTED] wrote:
 
  After adding a new old server named fav to amanda, I keep
  getting the following message:
 
  FAILURE AND STRANGE DUMP SUMMARY:
fav/home2 lev 0 FAILED [disk /home2 offline on fav?]
 
  It doesn't matter if the disk is specified by device file or
  mount directory:
 
  favc1t4d0s6tar-srv-low# /home2
  fav/home2  tar-srv-low# /home2
 
 Looks familiar... Try to supply the absolute path for the obstinate
 drive. If that helps, we're two...

I got the same problem with one of my boxes.
Are there known problems with amanda and ReiserFS?

My log entries messages look like:
got result for host pc20 disk /: 0 - -1K, -1 - -1K, -1 - -1K
  0: pc20   /
planner: FAILED pc20 / 0 [disk / offline on pc20?]

Seems like amanda can't get the size of the disk.
Any suggestions? Should I use tar unstead of dump?

CU and thanks
Martin



Re: disk offline

2002-01-15 Thread Joshua Baker-LePain

On 15 Jan 2002 at 2:47pm, [EMAIL PROTECTED] wrote

 FAILURE AND STRANGE DUMP SUMMARY:
   sc01us0105 /software/amanda/share/ lev 0 FAILED [disk 
/software/amanda/share/offline on sc01us0105?]
   frostis.cf /export/home/setup/freeware/amanda-2.4.2p2/ lev 0 FAILED [disk 
/export/home/setup/freeware/amanda-2.4.2p2/ offline on frostis.cf.jcyl.es?]
 
 Does anybody know why?
 
 My disklist is
 
 #hostname   diskdevice  ldumptype   spindle interface
 sc01us0105  /software/amanda/share/ nocomp-test 0
 frostis.cf.jcyl.es  /export/home/setup/freeware/amanda-2.4.2p2/ 
comp-user-tar   0
 
 And i want to usr GNUTAR.

What's in sendsize*debug, amandad*debug, and/or sendbackup*debug on the 
failing clients?  Do they have GNUtar installed?  Was it there when you 
./configured amanda?

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University





Re: disk offline ?

2001-12-27 Thread Hauke Fath

Rainer Fuegenstein [EMAIL PROTECTED] wrote:

 After adding a new old server named fav to amanda, I keep
 getting the following message:
 
 FAILURE AND STRANGE DUMP SUMMARY:
   fav/home2 lev 0 FAILED [disk /home2 offline on fav?]
 
 It doesn't matter if the disk is specified by device file or 
 mount directory:
  
 favc1t4d0s6tar-srv-low# /home2
 fav/home2  tar-srv-low# /home2

Looks familiar... Try to supply the absolute path for the obstinate
drive. If that helps, we're two...

hauke

-- 
  Hauke Fath /~\The ASCII
 tangro software components GmbH \ / Ribbon Campaign
  D-69115 Heidelberg  X  Against
  Ruf +49-6221-13336-0, Fax -21  / \   HTML Email!



Re: Disk Offline

2001-09-17 Thread John R. Jackson

FAILURE AND STRANGE DUMP SUMMARY:
   bigeasy.in vg00_lvol5 lev 0 FAILED [disk vg00_lvol5 offline on 
bigeasy.in?]

What's in /tmp/amanda/sendsize*debug on bigeasy.in?

patrick

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Disk Offline

2001-09-17 Thread Patrick LIN



John R. Jackson wrote:

FAILURE AND STRANGE DUMP SUMMARY:
  bigeasy.in vg00_lvol5 lev 0 FAILED [disk vg00_lvol5 offline on 
bigeasy.in?]

 
 What's in /tmp/amanda/sendsize*debug on bigeasy.in?
 
 
patrick


ho /etc/amdumpdates not there
is it the prob ?


ok here it is :

sendsize: debug 1 pid 13246 ruid 15 euid 15 start time Thu Sep 13 
22:05:52 2001
/usr/local/depot/amanda-2.4.2p2/libexec/sendsize: version 2.4.2p2
calculating for amname 'vg00_lvol5', dirname '/export/u06'
sendsize: getting size via dump for vg00_lvol5 level 0
sendsize: running /usr/sbin/vxdump 0sf 1048576 - /dev/vg00/rlvol5
running /usr/local/depot/amanda-2.4.2p2/libexec/killpgrp
   vxdump: WARNING: no file `/etc/dumpdates', making an empty one
   vxdump: cannot create /etc/dumpdates: Permission denied
   vxdump: The ENTIRE dump is aborted.
.
(no size line match in above dump output)
.
asking killpgrp to terminate
sendsize: pid 13246 finish time Thu Sep 13 22:05:53 2001
...skipping...
sendsize: debug 1 pid 29450 ruid 15 euid 15 start time Fri Sep 14 
22:05:52 2001
/usr/local/depot/amanda-2.4.2p2/libexec/sendsize: version 2.4.2p2
calculating for amname 'vg00_lvol5', dirname '/export/u06'
sendsize: getting size via dump for vg00_lvol5 level 0
sendsize: running /usr/sbin/vxdump 0sf 1048576 - /dev/vg00/rlvol5
running /usr/local/depot/amanda-2.4.2p2/libexec/killpgrp
   vxdump: WARNING: no file `/etc/dumpdates', making an empty one
   vxdump: cannot create /etc/dumpdates: Permission denied
   vxdump: The ENTIRE dump is aborted.
.
(no size line match in above dump output)
.
asking killpgrp to terminate
sendsize: pid 29450 finish time Fri Sep 14 22:05:53 2001



-- 
   
__(   /
   |  |  /
   \   | This message is transmitted by   |  \
\  |   100 % recycled electrons   |___\
/  |__(
   /__)




Re: Disk Offline

2001-09-17 Thread John R. Jackson

   vxdump: WARNING: no file `/etc/dumpdates', making an empty one
   vxdump: cannot create /etc/dumpdates: Permission denied
...
ho /etc/amdumpdates not there
is it the prob ?

Yes, that's the problem.  Create it (as root, since it's in /etc) and
make sure your Amanda user (uid 15) has read/write access to it (e.g.
set the group to a group your Amanda user is a member of and chgrp
g+rw /etc/dumpdates).

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Disk Offline

2001-09-17 Thread Kurt Yoder

What does /tmp/amanda/* say?

Patrick LIN wrote:
 
 FAILURE AND STRANGE DUMP SUMMARY:
bigeasy.in vg00_lvol5 lev 0 FAILED [disk vg00_lvol5 offline on
 bigeasy.in?]
 
 what that mean please
 amcheck without errors but the report giveme that.
 
 the client is a HP
 the serveur is a sun Solaris
 and the version of amanda is 2.4.2p2



Re: Disk Offline

2001-09-17 Thread Patrick LIN

Ok thanks
i will let you know tomorrow
after the nigthly backup

thanks
Best Regards
Patrick

John R. Jackson wrote:

  vxdump: WARNING: no file `/etc/dumpdates', making an empty one
  vxdump: cannot create /etc/dumpdates: Permission denied
...
ho /etc/amdumpdates not there
is it the prob ?

 
 Yes, that's the problem.  Create it (as root, since it's in /etc) and
 make sure your Amanda user (uid 15) has read/write access to it (e.g.
 set the group to a group your Amanda user is a member of and chgrp
 g+rw /etc/dumpdates).
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
 
 


-- 
   
__(   /
   |  |  /
   \   | This message is transmitted by   |  \
\  |   100 % recycled electrons   |___\
/  |__(
   /__)




Re: disk offline

2001-08-08 Thread John R. Jackson

Also as suggestion that somebody kindly gave me I did as root this:
[root@miro sandra]# /bin/gtar --create --file /dev/null --directory 
/Local --one-file-system --listed-incremental 
/usr/local/var/amanda/gnutar-lists/miro.tomandandy.com_Local_0.new 
--sparse --ignore-failed-read --totals
/bin/gtar: Cowardly refusing to create an empty archive

You forgot the trailing ..  Look closely at the sendsize*debug line
and you'll see it after the --totals.

Sandra

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: disk offline

2001-07-30 Thread John R. Jackson

(no size line match in above gnutar output)

That line says GNU tar terminated but did not give Amanda an answer.
What happens if you run this **as root** on that client:

  /bin/gtar --create --file /dev/null --directory /Local \
--one-file-system --listed-incremental /dev/null \
--sparse --ignore-failed -read --totals .

I'm guessing you'll see some kind of error message.  I would further guess
that /Local is NFS mounted and root no longer has access from that client
(or something like that).

I can't send the sendbackup.debug file because I have only report for my 
other partion /usr/local not for /Local partition and I don't understand 
why I can't have this report, I though that with  this amanda version I 
could have debug information for every partition that I try to back up.

You do have debug information for every file system it tried to back up.
It didn't try to back up /Local because the estimate failed.

Sandra

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: disk offline

2001-05-20 Thread Alexandre Oliva

On May 20, 2001, Alexandre Oliva [EMAIL PROTECTED] wrote:

 This appears to be a bug that triggers in a very particular
 condition: when the environment is empty.  It doesn't trigger with
 1.12 because it just doesn't depend on librt.so.

Nope.  It didn't trigger on 1.12 because it wasn't linked with GNU ld.
The problem is that GNU ld sets the dynamic linker as
/usr/lib/libc.so.1, whereas Sun ld sets it to /usr/lib/ld.so.1.  Even
though Sun officially supports both, according to a friend of mine at
Sun, the one chosen by GNU ld fails because it assumes the environment
contains at least one non-NULL entry.  My friend is working on a fix
for Solaris/x86 libc; I'm not sure we (GNU developers) are going to
fix GCC or GNU ld, or both, or neither, since the work-around is
simple: just link the program using
`-Wl,--dynamic-linker,/usr/lib/ld.so.1', or use Sun ld, or make sure
the environment is never empty, or wait for a patch from Sun.

-- 
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: disk offline

2001-05-20 Thread Bernhard R. Erdmann

 #! /bin/sh
 X=; export X
 exec $0.exe ${1+$@}

What is ${1+$@} good for? Never seen that construction before...



Re: disk offline

2001-05-20 Thread Alexandre Oliva

On May 20, 2001, Bernhard R. Erdmann [EMAIL PROTECTED] wrote:

 #! /bin/sh
 X=; export X
 exec $0.exe ${1+$@}

 What is ${1+$@} good for? Never seen that construction before...

Some shells expand $@ to  when $# = 0.

-- 
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: disk offline

2001-05-20 Thread Olivier Nicole

It's printed in sendsize.debug, IIRC.  And in runtar.debug.

It will reference a gnutar-list-dir .new file.  It's created initially
empty for level 0 estimates, and a copy of the lower level for
incremental estimates.

FWIW, I've had similar results with GNU tar 1.13.19 on Solaris 7/x86.
I've started investigating, but didn't get very far, and ended up
downgrading back to 1.12+patches.

Hi,

I solved the problem, it was an access right permission issue that was
clearly indicated in /tmp/amanda/sendsize.*.debug

I would suggest that this debug file is mentionned in the FAQ, about
the disk offline question. It seems that it was mentionned several
times on the mailing list.

Here are few other ideas I had during the weekend.

- My problem was due to the fact I did a ./configure --with-user=14
  going with userID instead of user name. Maybe it could be clearly
  mentionned it should be the name and not the ID.

- It appears that the estimation of the size is done with
  euid=ruid=amanda while the effective back-up (runtar) is done with
  ruid=amanda and euid=root. It would give a more accurate estimate if
  it was run with euid=root I think.

- Apparently amcheck do not perform as deep verification as some cases
  can arise when amcheck will report OK while the dump will fail. The
  above case was one of it.

- Runing amanda 2.4.2p2, with gnutar, there is no more problem with
  disk access permission: I configured/install amanda, as user/group
  amanda, did not modify anything on the disk, did not set up amanda
  in the goup orperator, wheel or whatever, and it runs smoothly.

It is a great tool, thanks,

Olivier



Re: disk offline

2001-03-27 Thread John R. Jackson

FAILURE AND STRANGE DUMP SUMMARY:
  kascha sdb2 lev 0 FAILED [disk sdb2 offline on kascha?]
  kascha sdb1 lev 0 FAILED [disk sdb1 offline on kascha?]
  kascha sda1 lev 0 FAILED [disk sda1 offline on kascha?]

Since these are my boot disk and /usr disk they arnt off
line.

That's a generic statement for some kind of access problem.

Running amcheck is always the first thing to do in cases like this.
It reports much more specific information.

If that doesn't help, look at /tmp/amanda/sendsize*debug on kascha.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]