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. 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 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
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
/usr/sbin/tapeinfo -f /dev/sg2
Product Type: Tape Drive Vendor ID: 'ARCHIVE ' Product ID: 'Python 06408-XXX' Revision: '9100' Attached Changer: No SerialNumber: 'HN0HA86' MinBlock:1 MaxBlock:16777215 SCSI ID: 6 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x34 Density Code: 0x26 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x20 DeCompType: 0x20 BOP: yes Block Position: 0 Device {
Name = DG4-150 Media Type = ??? Archive Device = /dev/st0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Offline on Unmount = yes } Regards.
S.V.
|