Re: Should usetimestamps setting effect holding disk directory names?

2008-06-19 Thread Dustin J. Mitchell
On Thu, Jun 19, 2008 at 2:42 PM, Dustin J. Mitchell <[EMAIL PROTECTED]> wrote:
> Take a look at server-src/holding.h.  Even if the C is not your
> flavor, the comments give a pretty good description of how things get
> broken down.

Sorry, here's a link:
  
http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/trunk/server-src/holding.h?revision=HEAD&view=markup

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: Should usetimestamps setting effect holding disk directory names?

2008-06-19 Thread Dustin J. Mitchell
On Thu, Jun 19, 2008 at 1:31 PM, Paul Yeatman
<[EMAIL PROTECTED]> wrote:
> Hmm, I appreciate the offer.  Interesting.  I guess I'd have to know more 
> about what the C module produces to know if it would be helpful.

Take a look at server-src/holding.h.  Even if the C is not your
flavor, the comments give a pretty good description of how things get
broken down.

As a note, we're toying with the idea of implementing holding disk as
a directory accessed by the VFS device driver.  In this case, the
terminology would change a little bit, but the basic structure would
remain the same.  The interface might change somewhat in that case.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: Should usetimestamps setting effect holding disk directory names?

2008-06-19 Thread Paul Yeatman
->>In response to your message<<-
  --received from Dustin J. Mitchell--
>
> On Wed, Jun 18, 2008 at 6:27 PM, Paul Yeatman
> <[EMAIL PROTECTED]> wrote:
> > Ah, thanks!  That's what coming from 2.4.4p3 will do for ya!
> >
> > I had a script that used the old directory naming style.  I will have
> > to adapt my script (likely with some effort) unless there is a way to ask
> > 2.6.0 to use the old naming convention, ie. date only.
> 
> Nope -- many of Amanda's internals are changing from version to
> version.  If you have scripts that depend on such things, you'd
> probably be best served by keeping abreast of new releases, rather
> than waiting.

Yes, I think you are correct.  This is why I already started printing out pages 
of script code.

> 
> Also, there's a rather flexible C module for analyzing the holding
> disk.  If it would help, I'd be happy to talk about SWIGging that into
> perl, allowing your script to interface with it directly.

Hmm, I appreciate the offer.  Interesting.  I guess I'd have to know more about 
what the C module produces to know if it would be helpful.

Thanks, Dustin!

Paul


Re: Should usetimestamps setting effect holding disk directory names?

2008-06-18 Thread Dustin J. Mitchell
On Wed, Jun 18, 2008 at 6:27 PM, Paul Yeatman
<[EMAIL PROTECTED]> wrote:
> Ah, thanks!  That's what coming from 2.4.4p3 will do for ya!
>
> I had a script that used the old directory naming style.  I will have
> to adapt my script (likely with some effort) unless there is a way to ask
> 2.6.0 to use the old naming convention, ie. date only.

Nope -- many of Amanda's internals are changing from version to
version.  If you have scripts that depend on such things, you'd
probably be best served by keeping abreast of new releases, rather
than waiting.

Also, there's a rather flexible C module for analyzing the holding
disk.  If it would help, I'd be happy to talk about SWIGging that into
perl, allowing your script to interface with it directly.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: Should usetimestamps setting effect holding disk directory names?

2008-06-18 Thread Paul Yeatman
Ah, thanks!  That's what coming from 2.4.4p3 will do for ya!

I had a script that used the old directory naming style.  I will have
to adapt my script (likely with some effort) unless there is a way to ask
2.6.0 to use the old naming convention, ie. date only.

Paul

->>In response to your message<<-
  --received from Jean-Louis Martineau--
>
> Amanda use 14 digits for holding disk directory name since many 
> releases, it is not related to usetimestamps.
> 
> Jean-Louis
> 
> Paul Yeatman wrote:
> >Hi,
> >
> >Are 14 digit directory names on the holding disk only when using time
> >stamps or in any case with amanda 2.6.0p1?
> >
> >I tried using time stamps for awhile and then decided I'd prefer not to
> >and, as I'm not planning to downgrade or anything, don't expect it to be
> >a problem.
> >
> >14 digit directory names are still being used on the holding disk,
> >however, even though the index directories for this config changed back
> >from 14d_1d.gz to 8d_1d.gz filenames.  I expected the directory names
> >on the holding disk to drop back down to 8 digits.
> >
> >Thanks,
> >
> >Paul
> >  
> 

-- 
Paul Yeatman   (858) 534-9896[EMAIL PROTECTED]
 ==
 ==Proudly brought to you by Mutt==
 ==


Re: Should usetimestamps setting effect holding disk directory names?

2008-06-18 Thread Jean-Louis Martineau
Amanda use 14 digits for holding disk directory name since many 
releases, it is not related to usetimestamps.


Jean-Louis

Paul Yeatman wrote:

Hi,

Are 14 digit directory names on the holding disk only when using time
stamps or in any case with amanda 2.6.0p1?

I tried using time stamps for awhile and then decided I'd prefer not to
and, as I'm not planning to downgrade or anything, don't expect it to be
a problem.

14 digit directory names are still being used on the holding disk,
however, even though the index directories for this config changed back
from 14d_1d.gz to 8d_1d.gz filenames.  I expected the directory names
on the holding disk to drop back down to 8 digits.

Thanks,

Paul
  




Should usetimestamps setting effect holding disk directory names?

2008-06-18 Thread Paul Yeatman
Hi,

Are 14 digit directory names on the holding disk only when using time
stamps or in any case with amanda 2.6.0p1?

I tried using time stamps for awhile and then decided I'd prefer not to
and, as I'm not planning to downgrade or anything, don't expect it to be
a problem.

14 digit directory names are still being used on the holding disk,
however, even though the index directories for this config changed back
from 14d_1d.gz to 8d_1d.gz filenames.  I expected the directory names
on the holding disk to drop back down to 8 digits.

Thanks,

Paul