Amanda-Users

Re: automount and raw devices

2007-12-20 13:44:16
Subject: Re: automount and raw devices
From: Tim Bunnell <bunnell AT asel.udel DOT edu>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Thu, 20 Dec 2007 13:37:38 -0500
Dustin J. Mitchell wrote:
On Dec 20, 2007 11:39 AM, Jean-Francois Malouin
<Jean-Francois.Malouin AT bic.mni.mcgill DOT ca> wrote:
Dec 20 10:14:24 grumio automount[7198]: failed to mount /data/rbohbot
Dec 20 10:14:24 grumio automount[7199]: failed to mount /data/bohbot/rbohbot1
...
about 10 of them.

On the client runtar was spawn at 10:14:24

~# cat /tmp/amanda-av/client/right2/runtar.20071220101424.debug
runtar: debug 1 pid 7218 ruid 666 euid 0: start at Thu Dec 20 10:14:24 2007
runtar: time 0.000: version 2.5.2p1
/bin/tar version: tar (GNU tar) 1.14

config: right2
runtar: debug 1 pid 7218 ruid 0 euid 0: rename at Thu Dec 20 10:14:24 2007
running: /bin/tar: 'gtar' '--create' '--file' '-' '--directory'
'/export_raid12/bicadmin1/amanda-rsync' '--one-file-system'
'--listed-incremental'
'/opt/amanda/var/amanda/right2/gnutar-lists/grumio_export_raid12_bicadmin1_amanda-rsync_0.new'
'--sparse' '--ignore-failed-read' '--totals' '.'
runtar: time 0.061: pid 7218 finish time Thu Dec 20 10:14:24 2007

This 'runtar' invocation is for a different DLE --
/export_raid12/bicadmin1/amanda-rsync.  It's possible this is an error
in amanda or tar, but I would need to see a rundump, sendbackup, or
sendsize log that either includes the 'r', or includes the DLE without
the 'r' (in which case we can look to a bug in tar).  While I'm asking
for info -- what systems are these?

My suspicion remains with the automounter, and that it is for some
reason falling back to the 'r'-bearing fiename when the normal mount
fails.  If Amanda or tar were doing this, then it would not be
sporadic.

Dustin


So far on our system it has been very consistently present, but we have only had this configuration for a couple of days. Here's an example tying the automount error to the runtime of sendbackup. Our daemon.log reports:

> Dec 20 00:20:54 helios automount[8929]: failed to mount /vol/rsma

and at the same time, our sendbackup debug output shows sendbackup requesting the *correct* volume:

sendbackup: debug 1 pid 8925 ruid 34 euid 34: rename at Thu Dec 20 00:20:54 2007
  sendbackup req: <GNUTAR /vol/sma  0 1970:1:1:0:0:0 OPTIONS 
|;auth=BSD;compress-fast;index;exclude-list=/etc/backup-excludes.txt;>
  parsed request as: program `GNUTAR'
                     disk `/vol/sma'
                     device `/vol/sma'
                     level 0
                     since 1970:1:1:0:0:0
                     options 
`|;auth=BSD;compress-fast;index;exclude-list=/etc/backup-excludes.txt;'
sendbackup: start: helios.medsci.udel.edu:/vol/sma lev 0
sendbackup: time 0.001: spawning /bin/gzip in pipeline
sendbackup: argument list: /bin/gzip --fast
sendbackup-gnutar: time 0.001: pid 8927: /bin/gzip --fast
sendbackup-gnutar: time 0.001: doing level 0 dump as listed-incremental to 
'/var/lib/amanda/gnutar-lists/helios.medsci.udel.edu_vol_sma_0.new'
sendbackup-gnutar: time 0.070: doing level 0 dump from date: 1970-01-01  
0:00:00 GMT
sendbackup: time 0.077: spawning /usr/lib/amanda/runtar in pipeline
sendbackup: argument list: runtar asel gtar --create --file - --directory 
/vol/sma --one-file-system --listed-incremental 
/var/lib/amanda/gnutar-lists/helios.medsci.udel.edu_vol_sma_0.new --sparse 
--ignore-failed-read --totals --exclude-from 
/tmp/amanda/sendbackup._vol_sma.20071220002054.exclude .
sendbackup-gnutar: time 0.083: /usr/lib/amanda/runtar: pid 8933
sendbackup: time 0.083: started backup
sendbackup: time 0.084: started index creator: "/bin/tar -tf - 2>/dev/null | sed -e 
's/^\.//'"
sendbackup: time 2373.019: index created successfully
sendbackup: time 2373.069:  47:    size(|): Total bytes written: 14877849600 
(14GiB, 6.0MiB/s)
sendbackup: time 2373.423: parsed backup messages
sendbackup: time 2373.423: pid 8925 finish time Thu Dec 20 01:00:27 2007

We're running:
Linux version 2.4.21+mppe (root AT helios.medsci.udel DOT edu) (gcc version 
2.95.4 2001
1002 (Debian prerelease)) #1 Sat Sep 27 12:53:55 EDT 2003

with an Athlon XP processor and GNU tar 1.14. In this case, server and client are on the same machine.

Thanks,

t

--
Director, Center for Pediatric Auditory and Speech Sciences (CPASS)
Head, Speech Research Lab    | Adjunct Associate Professor
duPont Hospital for Children | Comp. and Info. Sciences / Linguistics
Voice: 1+302+651-6835        | University of Delaware
Fax:   1+302+651-6895        | URL: www.asel.udel.edu/speech/

<Prev in Thread] Current Thread [Next in Thread>