Re: How can I split up a large disk partition?
2004-02-08 09:08:41
On Sat, Feb 07, 2004 at 10:31:01PM -0500, Gene Heskett wrote:
> 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.
Well, I did, but it does have the problem of not having the 3rd token in
the DLE (before the "{" so amchekc complains about duplicates
Jon's sollution worked great on last nights run, so I think I'll just stick
with it. Having to specify the disk by filesystem instead of device name
actully makes more sense to me in a tar based backup.
So I take it your TV station got flooded? Where is it located? Sounds like
a challenge.
Thanks again to all the helpful listmembers that have patiiently corrected
my multiple mistakes on this.
Amanda has progressed very far in the yera or 2 since i've actively looked
at it. Of coures it has continued to save my *** all those years without
having to tweak it both at home nad work, so a bit THANK YOU to all the
devlopers also.
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
|
|
|