Robert Hartzell wrote:
> On 01/18/10 07:17 PM, Dan Langille wrote:
>> Dan Langille wrote:
>>> I'm helping a client with a Linux system. I see the tape drive, but
>>> cannot find the tape changer. Clues please.
>>>
>>> From dmesg:
>> Also:
>>
>> Linux version 2.6.9-78.0.8.plus.c4smp (mockbuild AT builder10.centos DOT org)
>> (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Nov 27
>> 19:19:34 EST 2008
>>
>> And there is no /dev/changer*
>>
>
> Dan,
> Don't know if this will be of any help but on a friends Fedora 12 system
> I just set bacula up on the changer is target 6 lun 1 and the drive is
> target 6 lun 0
>
> [root@stor data.spool]# lsscsi -g
> [0:0:1:0] cd/dvd HL-DT-ST DVD-RAM GH22LP20 1.00 /dev/sr0 /dev/sg0
> [2:0:0:0] disk ATA WDC WD5000AACS-0 05.0 /dev/sda /dev/sg1
> [3:0:0:0] disk ATA WDC WD5000AADS-0 01.0 /dev/sdb /dev/sg2
> [4:0:6:0] tape COMPAQ TSL-10000 5.10 /dev/st0 /dev/sg3
> [4:0:6:1] mediumx COMPAQ TSL-10000 5.10 /dev/sch0 /dev/sg4
>
> [root@stor data.spool]# ls -l /dev | grep sg
> drwxr-xr-x. 2 root root 140 2010-01-18 14:38 bsg
> lrwxrwxrwx. 1 root root 3 2010-01-18 14:39 changer -> sg4
> lrwxrwxrwx. 1 root root 3 2010-01-18 14:39 changer-sg4 -> sg4
> crw-rw----. 1 root root 1, 11 2010-01-18 14:38 kmsg
> crw-rw----. 1 root cdrom 21, 0 2010-01-18 14:38 sg0
> crw-rw----. 1 root disk 21, 1 2010-01-18 14:38 sg1
> crw-rw----. 1 root disk 21, 2 2010-01-18 14:38 sg2
> crw-rw----. 1 root tape 21, 3 2010-01-18 14:38 sg3
> crw-rw----. 1 root tape 21, 4 2010-01-18 14:38 sg4
>
> [root@stor data.spool]# mtx -f /dev/sg4 status
> Storage Changer /dev/sg4:1 Drives, 8 Slots ( 0 Import/Export )
> Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
>
> Storage Element 1:Empty
> Storage Element 2:Full
> Storage Element 3:Full
> Storage Element 4:Full
> Storage Element 5:Full
> Storage Element 6:Full
> Storage Element 7:Full
> Storage Element 8:Full
>
> /dev/nst0 is the tape drive which is busy at the moment so I cant show
> status.
Bugger. I get none of the above:
# lsscsi -g
-bash: lsscsi: command not found
# ls -l /dev | grep sg
crw------- 1 root root 36, 14 Jan 14 17:23 dnrtmsg
crw------- 1 root root 1, 11 Jan 14 17:23 kmsg
crw-rw---- 1 root disk 21, 0 Jan 14 23:23 sg0
crw-rw---- 1 root disk 21, 1 Jan 14 23:23 sg1
crw-rw---- 1 root disk 21, 2 Jan 14 23:23 sg2
crw-rw---- 1 root disk 21, 3 Jan 14 23:23 sg3
crw-rw---- 1 root disk 21, 4 Jan 14 23:23 sg4
crw-rw---- 1 root disk 21, 5 Jan 14 23:23 sg5
crw-rw---- 1 root disk 21, 6 Jan 14 23:23 sg6
Linux version 2.6.9-78.0.8.plus.c4smp (mockbuild AT builder10.centos DOT org)
(gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Nov 27
19:19:34 EST 2008
*sigh*
I'd like to help these people out, but well, there *seems* to be a
hardware issue. Their admin, now departed, claims backups to tape were
working. Backups to disk are working, but not tape. Nothing in
bacula-sd.conf refers to any tape drive. Nothing in the command history
refers to the tape drive.
They have 8x400GB volumes on disk and they're out of space.
Mysteries.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|