Amanda-Users

Re: How can I split up a large disk partition?

2004-02-07 22:37:31
Subject: Re: How can I split up a large disk partition?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Sat, 7 Feb 2004 22:31:01 -0500
On Saturday 07 February 2004 17:05, stan wrote:
[snip down to the meat here]
>To answer you specific question:
>
>$ amcheck DailyDump
>....
>ERROR: black: [Can't open disk 'ad2s1e']
>ERROR: black: [No include for 'ads2e/ak']
>ERROR: black: [Can't open disk 'ad2s1e']
>ERROR: black: [No include for 'ads2e/kz']
>ERROR: black: [Can't open disk 'ad1s1e']
>ERROR: black: [No include for 'ads1e/ak']
>ERROR: black: [Can't open disk 'ad1s1e']
>ERROR: black: [No include for 'ads1e/kz']
>
>
>and here's the disks on that machine:
>
>-ksh93: bdf: not found [No such file or directory]
>$ df
>Filesystem        1K-blocks     Used    Avail Capacity  Mounted on
>/dev/ad0s1a          128990    49866    68806    42%    /
>/dev/ad0s1f          257998     3292   234068     1%    /tmp
>/dev/ad0s1g        37398386 11110464 23296052    32%    /usr
>/dev/ad0s1e          257998    47744   189616    20%    /var
>procfs                    4        4        0   100%    /proc
>/dev/ad1s1e       116917611 25219352 82344851    23%
>/usr/local/www/data/WAVS
>/dev/ad2s1e       116917611 20439488 87124715    19%
>/usr/local/www/data/MUSI
>C
>/dev/ad3s1e        39576738  6911990 29498610    19%    /dumpdisk
>/dev/ad6s1e       116917611 22594625 84969578    21%    /spare
>
>and gere are teh premissions on one of them:

Oh, my, such spelling...
>
>$ ls -l /dev/ad2s1e
>crw-r-----  2 root  operator  116, 0x00020014 Jan 18 15:12
> /dev/ad2s1e
>
>Yes, Amanda is a ember of the group operator.
>
>Here's teh dumptype def:
>
>define dumptype user-tar-no-compress {
>    program "GNUTAR"
>       index
index isn't true/false, it needs to be "index yes" IIRC
>       compress none
>       priority medium
>}
>
>Here is what I have in the disklist:
>
>black ads1e/kz ad1s1e {
>        user-tar-no-compress
>               include "./[!A-K]*"
>               } 2 local
>black ads1e/ak ad1s1e {
>               user-tar-no-compress
>               include "./[A-K]*"
>               } 2 local
># black ad2s1e comp-user-no-compress 3 local
>black ads2e/kz ad2s1e {
>        user-tar-no-compress
>               include "./[!A-K]*"
>               } 3 local
>black ads2e/ak ad2s1e {
>               user-tar-no-compress
>               include "./[A-K]*"
>               } 3 local
>
>Sorry to be so dense on this. But what have I got wrong now?!

Two universal errors remain that hit me right away.  So let me 
copy/paste the above and see if I can fix it.  No warranties 
however :)
black /ads1e {
    user-tar-no-compress
    exclude "./[!A-K]*"
} 2 local
black /ads1e {
    user-tar-no-compress
    exclude "./[A-K]*"
} 2 local
black /ad2s1e comp-user-no-compress 3 local
black /ads2e {
    user-tar-no-compress
    exclude "./[!A-K]*"
} 3 local
black /ads2e {
    user-tar-no-compress
    exclude "./[A-K]*"
} 3 local

The composition of a DLE is:
FQDN(or valid, in the /etc/hosts file alias)
/valid/path/to/the/dir/on/that/FQDN, note leading slash!
{
        basic dumptype to use
        include/exclude specifiers
} optional spindle number, optional local/net identifier

Anyway, put the above in and rerun amcheck for frowns and grins, 
posting what you get.  I'm running out of time as I'll be out of 
pocket for at least 2-3 weeks as of monday evening.  I have to go 
walk on a little water and put a tv station back on the air, probably 
with a couple of bread ties and some chewing gum.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.