Amanda-Users

Re: automount and raw devices

2007-12-20 07:47:43
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 07:39:21 -0500
Dustin J. Mitchell wrote:
On Dec 19, 2007 10:56 PM, Tim Bunnell <bunnell AT asel.udel DOT edu> wrote:
Folks,

I hope this is not a FAQ (I could not find it there in any case). We
have set up amanda (2.5.1p1) running on Debian 3.1 Linux to backup
automounted directories from a SnapServer 410. The configuration appears
to work OK with DLEs of the form:

our.net.udel.edu        /vol/dir        our-gnutar

Where /vol is our automount point and dir is the share exported by the
SnapServer.

However, when amcheck or the dumper runs, we see one or more automount
errors indicating that things like /vol/rdir cannot be mounted for each
automounted DLE. We guess the 'r' in front of the 'dir' might come from
something like attempting to mount /vol/dir first as a raw device???

Does anyone know (a) if that is really the cause of the problem and/or
(b) how to make is stop? We fear it is just a matter of time before
someone decides to create a real share with a name like "rdir" that
conflicts with an existing "dir" share.

That is a *strange* error!  Raw devices are handled as a prefix
(RDEV_PREFIX), and are only used in getfsent.  I would actually
suspect some kind of weirdness from the automounter in this case.
What are the errors?

Dustin


Unfortunately the error messages are not very informative. Here's a few examples:

> Dec 19 23:45:06 helios automount[4754]: failed to mount /vol/rsma
> Dec 19 23:45:07 helios automount[4755]: failed to mount /vol/rhumgen
> Dec 19 23:45:07 helios automount[4756]: failed to mount /vol/rconfocal

where the real filesystem has shares named sma, humgen, and confocal.

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>