Amanda-Users

Re: device prefixes for md disks in Solaris?

2003-01-29 18:23:34
Subject: Re: device prefixes for md disks in Solaris?
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: Eric Sproul <esproul AT ntelos DOT net>
Date: Wed, 29 Jan 2003 17:44:09 -0500
On Tue, Jan 28, 2003 at 08:54:23AM -0500, Eric Sproul wrote:
> Hi all,
> After searching the archives, I can't seem to find an answer to a
> nagging little problem-- one of my clients is a Solaris 8 machine
> running software RAID, so its devices begin with "/dev/md/dsk...". 
> However, AMANDA does not have this as one of her defined prefixes, so
> I'm forced to put the entire device name in my disklist, e.g.
> "/dev/md/dsk/d14" instead of just "d14" which would be nice and neat.
> 
> I don't see a configure option where you can specify the device prefix. 
> >From the debug output, I know the client at least has the ordinary
> "/dev/dsk" prefix.  How do I add/change the device prefix in the
> client?  I'm currently running 2.4.2p2 on the client, but I can upgrade
> if there is a way in the latest version.

You can set DEV_PREFIX and RDEV_PREFIX before configuration.
DEV_PREFIX=/dev/md/dsk/
RDEV_PREFIX=/dev/md/rdsk/
./configure ....

But then you will have to use the full pathname for disk in /dev/dsk

It could be possible to patch amanda to check in /dev/dsk and /dev/md/dsk
but you will not know if amanda backup /dev/dsk/d14 or /dev/md/dsk/d14

> As I said, this is really just a nuisance.  The client is being backed
> up just fine.  I just want my disklist to look nice!  ;-P

It think it's nicer when you know what get dumped, that's why a prefer
to use full pathname in my disklist.

Jean-Louis
-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

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