On Tuesday, September 28, 2010 07:14:47 pm Dustin J. Mitchell did opine:
> On Sun, Sep 26, 2010 at 6:03 PM, Dustin J. Mitchell <[email protected]>
wrote:
> > That said, the new chg-disk *is* supposed to duplicate the data
> > symlink quirk, so I'll take a look at why it's not doing that.
>
> And I just verified that this works for me -- it's also tested for by
> the installchecks.
>
> Can you do an ls -l of your vtape root directory (the one containing
> slot1, slot2, ..),
[ama...@coyote ~]$ ls -l /amandatapes/Dailys
total 124
drwxr-x--- 2 amanda disk 4096 2010-09-28 06:16 slot1/
drwxr-x--- 2 amanda disk 4096 2010-09-07 02:48 slot10/
drwxr-x--- 2 amanda disk 4096 2010-09-08 02:56 slot11/
drwxr-x--- 2 amanda disk 4096 2010-09-09 02:48 slot12/
drwxr-x--- 2 amanda disk 4096 2010-09-10 02:57 slot13/
drwxr-x--- 2 amanda disk 4096 2010-09-11 12:30 slot14/
drwxr-x--- 2 amanda disk 4096 2010-09-12 02:54 slot15/
drwxr-x--- 2 amanda disk 4096 2010-09-13 02:45 slot16/
drwxr-x--- 2 amanda disk 4096 2010-09-14 02:56 slot17/
drwxr-x--- 2 amanda disk 4096 2010-09-15 02:49 slot18/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:57 slot19/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:58 slot2/
drwxr-x--- 2 amanda disk 4096 2010-09-17 21:18 slot20/
drwxr-x--- 2 amanda disk 4096 2010-09-27 02:49 slot21/
drwxr-x--- 2 amanda disk 4096 2010-09-19 06:22 slot22/
drwxr-x--- 2 amanda disk 4096 2010-09-20 03:13 slot23/
drwxr-x--- 2 amanda disk 4096 2010-09-21 02:51 slot24/
drwxr-x--- 2 amanda disk 4096 2010-09-22 08:35 slot25/
drwxr-x--- 2 amanda disk 4096 2010-09-23 02:39 slot26/
drwxr-x--- 2 amanda disk 4096 2010-09-24 03:15 slot27/
drwxr-x--- 2 amanda disk 4096 2010-09-25 03:01 slot28/
drwxr-x--- 2 amanda disk 4096 2010-09-26 06:34 slot29/
drwxr-x--- 2 amanda disk 4096 2010-08-31 02:34 slot3/
drwxr-x--- 2 amanda disk 4096 2010-09-28 03:24 slot30/
drwxr-x--- 2 amanda disk 4096 2010-09-01 02:25 slot4/
drwxr-x--- 2 amanda disk 4096 2010-09-02 03:00 slot5/
drwxr-x--- 2 amanda disk 4096 2010-09-03 02:49 slot6/
drwxr-x--- 2 amanda disk 4096 2010-09-04 02:54 slot7/
drwxr-x--- 2 amanda disk 4096 2010-09-05 02:47 slot8/
drwxr-x--- 2 amanda disk 4096 2010-09-06 02:58 slot9/
-rw------- 1 amanda amanda 195 2010-09-28 05:20 state
[ama...@coyote ~]$ amtape Daily slot 5
slot 5: time 20100902005009 label Dailys-5
changed to slot 5
[ama...@coyote ~]$ ls -l /amandatapes/Dailys
total 124
lrwxrwxrwx 1 amanda amanda 5 2010-09-28 19:18 data -> slot5/
drwxr-x--- 2 amanda disk 4096 2010-09-28 06:16 slot1/
drwxr-x--- 2 amanda disk 4096 2010-09-07 02:48 slot10/
drwxr-x--- 2 amanda disk 4096 2010-09-08 02:56 slot11/
drwxr-x--- 2 amanda disk 4096 2010-09-09 02:48 slot12/
drwxr-x--- 2 amanda disk 4096 2010-09-10 02:57 slot13/
drwxr-x--- 2 amanda disk 4096 2010-09-11 12:30 slot14/
drwxr-x--- 2 amanda disk 4096 2010-09-12 02:54 slot15/
drwxr-x--- 2 amanda disk 4096 2010-09-13 02:45 slot16/
drwxr-x--- 2 amanda disk 4096 2010-09-14 02:56 slot17/
drwxr-x--- 2 amanda disk 4096 2010-09-15 02:49 slot18/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:57 slot19/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:58 slot2/
drwxr-x--- 2 amanda disk 4096 2010-09-17 21:18 slot20/
drwxr-x--- 2 amanda disk 4096 2010-09-27 02:49 slot21/
drwxr-x--- 2 amanda disk 4096 2010-09-19 06:22 slot22/
drwxr-x--- 2 amanda disk 4096 2010-09-20 03:13 slot23/
drwxr-x--- 2 amanda disk 4096 2010-09-21 02:51 slot24/
drwxr-x--- 2 amanda disk 4096 2010-09-22 08:35 slot25/
drwxr-x--- 2 amanda disk 4096 2010-09-23 02:39 slot26/
drwxr-x--- 2 amanda disk 4096 2010-09-24 03:15 slot27/
drwxr-x--- 2 amanda disk 4096 2010-09-25 03:01 slot28/
drwxr-x--- 2 amanda disk 4096 2010-09-26 06:34 slot29/
drwxr-x--- 2 amanda disk 4096 2010-08-31 02:34 slot3/
drwxr-x--- 2 amanda disk 4096 2010-09-28 03:24 slot30/
drwxr-x--- 2 amanda disk 4096 2010-09-01 02:25 slot4/
drwxr-x--- 2 amanda disk 4096 2010-09-02 03:00 slot5/
drwxr-x--- 2 amanda disk 4096 2010-09-03 02:49 slot6/
drwxr-x--- 2 amanda disk 4096 2010-09-04 02:54 slot7/
drwxr-x--- 2 amanda disk 4096 2010-09-05 02:47 slot8/
drwxr-x--- 2 amanda disk 4096 2010-09-06 02:58 slot9/
-rw------- 1 amanda amanda 195 2010-09-28 19:18 state
I now see a 'data' link to slot 5, I nuked that 2 days ago because nothing
was paying an attention to it, and neither amcheck nor amdump was updating
it, and the loss causes no errors, none, nada, zip. My helper script no
longer pays any attention to it either.
Now, just for S&G:
[ama...@coyote ~]$ amcheck Daily
Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/dumps: 620818432 kB disk space available, using 620306432
kB
Searching for label 'Dailys-2':found in slot 2: volume 'Dailys-2'
Will write to volume 'Dailys-2' in slot 2.
NOTE: skipping tape-writable test
Server check took 0.479 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 2 hosts checked in 6.654 seconds. 0 problems found.
(brought to you by Amanda 3.2.0alpha.svn.3457)
And
[ama...@coyote ~]$ ls -l /amandatapes/Dailys
total 124
lrwxrwxrwx 1 amanda amanda 5 2010-09-28 19:18 data -> slot5/
drwxr-x--- 2 amanda disk 4096 2010-09-28 06:16 slot1/
drwxr-x--- 2 amanda disk 4096 2010-09-07 02:48 slot10/
drwxr-x--- 2 amanda disk 4096 2010-09-08 02:56 slot11/
drwxr-x--- 2 amanda disk 4096 2010-09-09 02:48 slot12/
drwxr-x--- 2 amanda disk 4096 2010-09-10 02:57 slot13/
drwxr-x--- 2 amanda disk 4096 2010-09-11 12:30 slot14/
drwxr-x--- 2 amanda disk 4096 2010-09-12 02:54 slot15/
drwxr-x--- 2 amanda disk 4096 2010-09-13 02:45 slot16/
drwxr-x--- 2 amanda disk 4096 2010-09-14 02:56 slot17/
drwxr-x--- 2 amanda disk 4096 2010-09-15 02:49 slot18/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:57 slot19/
drwxr-x--- 2 amanda disk 4096 2010-09-16 02:58 slot2/
drwxr-x--- 2 amanda disk 4096 2010-09-17 21:18 slot20/
drwxr-x--- 2 amanda disk 4096 2010-09-27 02:49 slot21/
drwxr-x--- 2 amanda disk 4096 2010-09-19 06:22 slot22/
drwxr-x--- 2 amanda disk 4096 2010-09-20 03:13 slot23/
drwxr-x--- 2 amanda disk 4096 2010-09-21 02:51 slot24/
drwxr-x--- 2 amanda disk 4096 2010-09-22 08:35 slot25/
drwxr-x--- 2 amanda disk 4096 2010-09-23 02:39 slot26/
drwxr-x--- 2 amanda disk 4096 2010-09-24 03:15 slot27/
drwxr-x--- 2 amanda disk 4096 2010-09-25 03:01 slot28/
drwxr-x--- 2 amanda disk 4096 2010-09-26 06:34 slot29/
drwxr-x--- 2 amanda disk 4096 2010-08-31 02:34 slot3/
drwxr-x--- 2 amanda disk 4096 2010-09-28 03:24 slot30/
drwxr-x--- 2 amanda disk 4096 2010-09-01 02:25 slot4/
drwxr-x--- 2 amanda disk 4096 2010-09-02 03:00 slot5/
drwxr-x--- 2 amanda disk 4096 2010-09-03 02:49 slot6/
drwxr-x--- 2 amanda disk 4096 2010-09-04 02:54 slot7/
drwxr-x--- 2 amanda disk 4096 2010-09-05 02:47 slot8/
drwxr-x--- 2 amanda disk 4096 2010-09-06 02:58 slot9/
-rw------- 1 amanda amanda 195 2010-09-28 19:22 state
So there is something not being shared with the rest of the world.
As for:
> then use 'amtape' to switch to a different slot,
> and do another ls -l? Also, what are tpchanger and tapedev set to in
> your configuration?
[ama...@coyote ~]$ amgetconf Daily tpchanger
chg-disk:/amandatapes/Daily
[ama...@coyote ~]$ amgetconf Daily tapedev
returns an empty line.
What should it be saying?
Thanks Dustin.
> Dustin
--
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)
<Overfiend> xhost +localhost should only be done by people who would
paint their hostname and root password on an interstate
overpass.