Hello,
On 3/24/2006 10:49 AM, Sergio Villalba Moreno wrote:
Hi All, excuse ingles.
Next error message:
Tape1 and Tape2 (/var/log/message):
Mar 24 09:36:59 mail kernel: st0: MTSETDRVBUFFER only allowed for root.
Mar 24 09:57:43 mail svillalba: Shorewall Restarted
Mar 24 10:01:49 mail kernel: st0: MTSETDRVBUFFER only allowed for root.
Mar 24 10:25:40 mail -- MARK --
Mar 24 10:28:30 mail kernel: st0: MTSETDRVBUFFER only allowed for root.
These are informational messages, not errors. If you want to avoid
these, run the SD as root.
More error:
Director:
*mount
The defined Storage resources are:
1: dds3 (Tape1)
2: dat72 (Tape2)
3: dg4-150_1 (Tape3)
Select Storage resource (1-3): 3
dev.c:362 dev.c:356 Unable to open device "DG4-150_1" (/dev/st0):
ERR=Permiso denegado
The SD doesn't have permission to use that device. Set up the device
node according to your needs, or set up udev or hald or whatever creates
the node to set the correct permissions. Or run the SD as root.
Searching the list archive, you should be able to find some more threads
concerning these problems, presenting possible workarounds or solutions.
3901 open device failed: ERR=dev.c:356 Unable to open device "DG4-150_1"
(/dev/st0): ERR=Permiso denegado
Tape3:
[EMAIL PROTECTED] bacula]# /sbin/btape -c /etc/bacula/bacula-sd.conf /dev/st0
Sure, this works, because you run btape as root.
Tape block granularity is 1024 bytes.
btape: butil.c:269 Using device: "/dev/st0" for writing.
btape: btape.c:338 open device "DG4-150_1" (/dev/st0): OK
*status
Bacula status: file=0 block=0
Device status: BOT ONLINE IM_REP_EN file=0 block=0
btape: btape.c:1759 Device status: 645. ERR=
*test
btape: btape.c:438 Rewound "DG4-150_1" (/dev/st0)
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:469 Wrote 1 EOF to "DG4-150_1" (/dev/st0)
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:469 Wrote 1 EOF to "DG4-150_1" (/dev/st0)
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:469 Wrote 1 EOF to "DG4-150_1" (/dev/st0)
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:469 Wrote 1 EOF to "DG4-150_1" (/dev/st0)
btape: btape.c:1531 Wrote one record of 64412 bytes.
btape: btape.c:1533 Wrote block to device.
btape: btape.c:469 Wrote 1 EOF to "DG4-150_1" (/dev/st0)
btape: btape.c:438 Rewound "DG4-150_1" (/dev/st0)
btape: btape.c:1276 Now forward spacing 1 file.
We should be in file 1. I am at file 1. This is correct!
btape: btape.c:1288 Now forward spacing 2 files.
We should be in file 3. I am at file 3. This is correct!
btape: btape.c:438 Rewound "DG4-150_1" (/dev/st0)
btape: btape.c:1301 Now forward spacing 4 files.
We should be in file 4. I am at file 4. This is correct!
btape: btape.c:1319 Now forward spacing 1 more file.
We should be in file 5. I am at file 5. This is correct!
It can be something of permissions.... :s
It definitely is, but the exact solution depends on your setup.
Arno
Regards.
S.V.
Hi All, excuse ingles.
I have problems to make backup of remote tape. This is the
configuration of my server:
Server: 10.9.0.9 - v.1.38 - redhat 9 - dir,fd,sd,mysql (compile)
Client: 10.9.0.5 - v.1.36 - redhat 9 - fd (compile)
Tape1: 10.9.0.13 - v.1.36 - debian sarge - sd, fd (apt-get)
Tape2: 10.9.0.22 - v.1.36 - debian sarge - sd, fd (apt-get)
Tape3: 10.9.0.15 - v.1.38 - redhat 9 - fd,sd (compile)
ERROR:
23-mar 17:18 servidor-dir: Start Backup JobId 9,
Job=10.9.0.5.2006-03-23_17.18.17
23-mar 17:18 servidor-dir: 10.9.0.5.2006-03-23_17.18.17 Fatal error:
Storage daemon didn't accept Device "DDS-3" because:
23-mar 17:18 servidor-dir: 10.9.0.5.2006-03-23_17.18.17 Error:
bnet.c:257 Read error from Storage daemon:10.9.0.13:9103:
ERR=Conexión reinicializada por la máquina remota
23-mar 17:18 servidor-dir: 10.9.0.5.2006-03-23_17.18.17 Error:
Bacula 1.38.5 (18Jan06): 23-mar-2006 17:18:20
JobId: 9
Job: 10.9.0.5.2006-03-23_17.18.17
Backup Level: Full
Client: "cliente2-fd" i686-pc-linux-gnu,redhat,9
FileSet: "full" 2006-03-23 10:31:31
Pool: "Diaria"
Storage: "dds3"
Scheduled time: 23-mar-2006 17:18:16
Start time: 23-mar-2006 17:18:19
End time: 23-mar-2006 17:18:20
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0
SD Bytes Written: 0
Rate: 0,0 KB/s
Software Compression: None
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1143129234
Last Volume Bytes: 0
Non-fatal FD errors: 1
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***
Config tape1:
Device {
Name = DDS-3
Media Type = DDS-3
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
#AutoChanger = yes
#Changer Device = /dev/sg0
#Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
#AutoChanger = yes
}
tapeinfo /dev/sg0
argc=2Usage: tapeinfo -f <generic-device>
mail:/var/lib# tapeinfo -f /dev/sg0
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'C1537A '
Revision: 'L005'
Attached Changer: No
MinBlock:1
MaxBlock:16777215
SCSI ID: 3
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x25
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x20
DeCompType: 0x0
BOP: yes
Block Position: 0
bacula 23554 0.0 0.1 5352 1352 ? Ss 16:52 0:00
/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf -u bacula
bacula 23555 0.0 0.1 5352 1352 ? S 16:52 0:00 \_
/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf -u bacula
bacula 23556 0.0 0.1 5352 1352 ? S 16:52 0:00
\_ /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf -u ba
bacula 23567 0.0 0.2 5440 1604 ? Ss 16:53 0:00
/usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g
bacula 23568 0.0 0.2 5440 1604 ? S 16:53 0:00 \_
/usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula
bacula 23570 0.0 0.2 5440 1604 ? S 16:53 0:00
\_ /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u ba
I design someone or suggestion.
Very Thank.
Regards.
S.V.
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users