Amanda-Users

Re: device prefixes for md disks in Solaris?

2003-01-28 12:03:47
Subject: Re: device prefixes for md disks in Solaris?
From: Eric Sproul <esproul AT ntelos DOT net>
To: Joshua Baker-LePain <jlb17 AT duke DOT edu>
Date: 28 Jan 2003 11:24:44 -0500
On Tue, 2003-01-28 at 09:36, Joshua Baker-LePain wrote:
> It looks like this is defined (as DEV_PREFIX and RDEV_PREFIX) in 
> config/config.h based on the results of ./configure.  You could add the 
> check to the configure script or just change the values of (R)DEV_PREFIX 
> in config.h.  I'm not sure if this will break anything, so test it.

So far so good.  I modified config/config.h and the client built fine. 
A quick amcheck looks good-- the client's debug indicates the correct
prefix, and I only used the last portion of the device name ("d14") in
the disklist.  It will probably work fine on tonight's run.

The only problem would be that reconfiguring this install will overwrite
my changes to config.h.  I don't know if there's a good way to test for
this when configuring on Solaris, since there could be a mix of "md" and
regular disks, and Solaris' device-naming convention isn't as friendly
to auto-detection as Linux for example.  Maybe someone more clever than
myself could add it to configure.in?

Cheers,
Eric