On Tue, Jul 18, 2006 at 12:04:51PM -0500, Steve Linabery wrote:
> I searched the archives; forgive me if I missed something obvious.
>
> I have roughly 12GB of space on my tape. I'm trying to do amflush to get the
> following DLE out of my holding disk:
>
> [root@steve holdingdisk2]# find -ls | grep back
> 18563075 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:07
> ./20060714/intranet.worldcycling.com._back.1.1
> 18563076 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:10
> ./20060714/intranet.worldcycling.com._back.1.2
> 18563077 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:13
> ./20060714/intranet.worldcycling.com._back.1.3
> 18563078 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:17
> ./20060714/intranet.worldcycling.com._back.1.4
> 18563079 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:20
> ./20060714/intranet.worldcycling.com._back.1.5
> 18563080 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:23
> ./20060714/intranet.worldcycling.com._back.1.6
> 18563081 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:27
> ./20060714/intranet.worldcycling.com._back.1.7
> 18563082 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:30
> ./20060714/intranet.worldcycling.com._back.1.8
> 18563083 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:33
> ./20060714/intranet.worldcycling.com._back.1.9
> 18563084 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:37
> ./20060714/intranet.worldcycling.com._back.1.10
> 18563085 5312 -rw------- 1 amanda amanda 5424079 Jul 14 02:37
> ./20060714/intranet.worldcycling.com._back.1.11
> 18563074 1049604 -rw------- 1 amanda amanda 1073741824 Jul 14 02:03
> ./20060714/intranet.worldcycling.com._back.1
>
> amflush tries to write this one to tape, but is hitting end of tape. Don't
> know why; unless I'm counting wrong this looks like just over 11GB of data.
>
> I'm using seagate scorpion tape drives. Hardware compression is off.
>
> What I'm wondering is how to gracefully remove this from the holding disk so
> that amanda stops trying to flush it to tape. I don't really need to have
> this particular copy of the DLE on tape; it's a nightly dump of a database
> and I have more recent dumps that make this one obsolete.
>
yeah, looks like it should fit. There are the tape headers
and file marks to consider, but that shouldn't take a big
piece of the nearly 1GB you seem to have available.
I'm pretty sure a simple rm -r would suffice.
Couple of other things you might consider/do.
If holding disk (HD) space is not a problem, leave them for
a while. Recovery/restore if needed can be done from HD.
Run amcleanup after the rm -r.
Don't think it will do anything, but it also won't hurt anything.
You probably "wasted" a tape or three doing failed amflush's.
Get them back in cycle by amrmtape and amlabel -f <same_label>.
Of course, if confident, you can hand edit the tapelist.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|