Re: [Bacula-users] new bacula installation
2010-08-12 18:46:05
Also curious that I cannot mount a tape on /dev/nst0 even though nothing is
mounted.
JJ
*unmount
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3002 Device "Drive1" (/dev/nst0) unmounted.
*mount
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]: 0
Enter autochanger slot: 1
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child exited with code 1.
Results=Drive 0 Full (Storage Element 0 loaded)
3301 Issuing autochanger "loaded? drive 0" command.
3302 Autochanger "loaded? drive 0", result: nothing loaded.
block.c:1016 Read error on fd=5 at file:blk 0:0 on device "Drive1" (/dev/nst0).
ERR=Input/output error.
block.c:1016 Read error on fd=5 at file:blk 0:0 on device "Drive1" (/dev/nst0).
ERR=Input/output error.
3902 Cannot mount Volume on Storage Device "Drive1" (/dev/nst0) because:
Requested Volume "" on "Drive1" (/dev/nst0) is not a Bacula labeled Volume,
because: ERR=block.c:1016 Read error on fd=5 at file:blk 0:0 on device "Drive1"
(/dev/nst0). ERR=Input/output error.
3905 Device "Drive1" (/dev/nst0) open but no Bacula volume is mounted.
If this is not a blank tape, try unmounting and remounting the Volume.
*status slots
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at scrappy.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "DELL_124T" has 8 slots.
Connecting to Storage daemon Tape at scrappy.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
Slot | Volume Name | Status | Media Type | Pool
|
------+------------------+-----------+----------------------+--------------------|
1*| 000017L4 | ? | ? |
? |
2 | | | |
|
3*| 000016L4 | ? | ? |
? |
4*| 000012L4 | ? | ? |
? |
5*| 000011L4 | ? | ? |
? |
6*| 000018L4 | ? | ? |
? |
7*| 000013L4 | ? | ? |
? |
8*| 000014L4 | ? | ? |
? |
-----Original Message-----
From: Jeremiah D. Jester [mailto:jjest AT u.washington DOT edu]
Sent: Thursday, August 12, 2010 3:39 PM
To: Rory Campbell-Lange
Cc: bacula-users
Subject: Re: [Bacula-users] new bacula installation
Rory,
Am I correct that the 124t has two drives? I loaded 16 tapes and configured
them as Drive1 (/dev/nst0) and Drive2 (/dev/nst1) but am only showing 8 tapes
regardless of the Drive number I specify. Any ideas?
*status slots
The defined Storage resources are:
1: File
2: Tape
Select Storage resource (1-2): 2
Enter autochanger drive[0]:
Connecting to Storage daemon Tape at scrappy.microslu.washington.edu:9103 ...
3306 Issuing autochanger "slots" command.
Device "DELL_124T" has 8 slots.
Connecting to Storage daemon Tape at scrappy.microslu.washington.edu:9103 ...
3306 Issuing autochanger "list" command.
Slot | Volume Name | Status | Media Type | Pool
|
------+------------------+-----------+----------------------+--------------------|
1*| 000017L4 | ? | ? |
? |
2 | | | |
|
3*| 000016L4 | ? | ? |
? |
4*| 000012L4 | ? | ? |
? |
5*| 000011L4 | ? | ? |
? |
6*| 000018L4 | ? | ? |
? |
7*| 000013L4 | ? | ? |
? |
8*| 000014L4 | ? | ? |
? |
Also, if it does have two drives why wouldn't it show up in lsscsi? I'm only
seeing /dev/st0? Should I specify /dev/sg1 in my sd conf file instead?
JJ
-----Original Message-----
From: Rory Campbell-Lange [mailto:rory AT campbell-lange DOT net]
Sent: Thursday, August 12, 2010 2:45 PM
To: Jeremiah D. Jester
Cc: bacula-users
Subject: Re: [Bacula-users] new bacula installation
On 12/08/10, Jeremiah D. Jester (jjest AT u.washington DOT edu) wrote:
> I'm setting up bacula on a new machine with a new Dell LT04
> autoloader. The device appears to be registering with linux (rhel
> 5.5). All fd,sd and dir daemons are running.
I have exactly the same LT04 autoloader.
# lsscsi -g
[0:0:0:0] disk Areca ARC-1220-VOL#00 R001 /dev/sda /dev/sg0
[0:0:16:0] process Areca RAID controller R001 - /dev/sg1
[1:0:0:0] tape QUANTUM ULTRIUM 4 2210 /dev/st0 /dev/sg3
[1:0:0:1] mediumx DELL PV-124T 0075 /dev/sch0 /dev/sg4
[2:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223C SB01 /dev/sr0 /dev/sg2
You will note that the tape (ULTRIUM 4) and autoloader (PV-124T) are on
different devices. On my machine, I address the tape at /dev/nst0, while the
autochanger is at /dev/sg4.
You can try the following stanza (assuming the correct tape and autochanger
device paths and nothing is currently loaded in slot 1):
export ADEV=/dev/sg4
export TDEV=/dev/nst0
mtx -f ${ADEV} status && mtx -f ${ADEV} load 1 && mt -f ${TDEV} status
I'm using the tape library on a SAS card and achieving about 100MB/s throughput
with hardware compression.
Regards
Rory
--
Rory Campbell-Lange
rory AT campbell-lange DOT net
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|