--
You received this message because you are subscribed to the Google Groups "esos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
verything is ok with SCST (i think)
because i can map SCSI device (changer and drive) on my windows
server. In my windows software (backupexec) i can see changer and
drive, and they seems to work correctly : I can see tape, the drive
can load the tape correctly, but it can 't read or write to the
tape.
So, i want to test writing to the virtual tape directly
from my ESOS server like this :
vtlcmd 11 load
H0001L3 (to load the tape H0001L3)
tar -czf /dev/sg5 /etc (to
write to the tape)
But at this step i have this error : "tar:
write error: Broken pipe"
But i think the correct syntax
was : tar -czf /dev/st0 /etc but i have no /dev/st0.
I find
lot of example of command lsscsi -g in the MHVTL forum, and in all of
them i see the /dev/st0 for the drive like this
(https://sites.google.com/site/linuxvtl2/) :
[2:0:2:0] mediumx ATL 1500 6.0 - /dev/sg4 [2:0:2:1] tape QUANTUM SuperDLT1 2323 /dev/st0 /dev/sg5 [2:0:2:2] tape QUANTUM SuperDLT1 2323 /dev/st1 /dev/sg6
but for me
[6:0:1:0] mediumx HP
MSL6000 Series 2.00 -
/dev/sg7
[6:0:1:1] tape
HP Ultrium 3-SCSI
N11G -
/dev/sg5
[6:0:1:2] tape
HP Ultrium 3-SCSI
N11G -
/dev/sg6
For now, i don't know if my MHVTL install work
correctly or not because i can't write to the virtual tape from my
ESOS server
-- Philippe
Thanks Marc,
Now i can see the /dev/st0 :
lsscsi -g :
[6:0:1:0] mediumx SPECTRA PYTHON 5500 - /dev/sg7
[6:0:1:1] tape QUANTUM SDLT600 5500 /dev/st0 /dev/sg5
[6:0:1:2] tape QUANTUM SDLT600 5500 /dev/st1 /dev/sg6
and i can write to the virtual tape with the command :
tar -czf /dev/st0 /etc
but with backupexec, i have always an error. But i modify some drive parameters (pass-through SCSI) and now everything is OK
some tips to improve :
1 : /etc/rc.d/rc.mhvtl
there are no real stop function in the script. If you want stop the virtual tape you need to do for every device : vtlcmd ID exit
2 : /usr/bin/make_vtl_media call by the start function of /etc/rc.d/rc.mhvtl
the user VTL need to launch /usr/bin/mktape but he can't. To resolve this problem I do a chmod o+x but I think it's not the better way
The mktape program create the tape file in /mnt/mhvtl.
3 : no VTL group
VTL group is needed in the make_vtl_media otherwise NOGROUP is used (but it works)
4 : I don't know if you can do something for that:
I create in TUI device (drive and charger), I map device to group. When you need to change something in conf file of mhvtl (/etc/mhvtl), you need to restart virtual device (1). But when you do that, you lose device you are created in the TUI. (You need to recreate the device and map it to group)
– Philippe
Thanks Marc,
Now i can see the /dev/st0 :
lsscsi -g :
[6:0:1:0] mediumx SPECTRA PYTHON 5500 - /dev/sg7
[6:0:1:1] tape QUANTUM SDLT600 5500 /dev/st0 /dev/sg5
[6:0:1:2] tape QUANTUM SDLT600 5500 /dev/st1 /dev/sg6
and i can write to the virtual tape with the command :
tar -czf /dev/st0 /etc
but with backupexec, i have always an error. But i modify some drive parameters (pass-through SCSI) and now everything is OK
some tips to improve :
1 : /etc/rc.d/rc.mhvtl
there are no real stop function in the script. If you want stop the virtual tape you need to do for every device : vtlcmd ID exit
2 : /usr/bin/make_vtl_media call by the start function of /etc/rc.d/rc.mhvtl
the user VTL need to launch /usr/bin/mktape but he can't. To resolve this problem I do a chmod o+x but I think it's not the better way
The mktape program create the tape file in /mnt/mhvtl.
3 : no VTL group
VTL group is needed in the make_vtl_media otherwise NOGROUP is used (but it works)
4 : I don't know if you can do something for that:
I create in TUI device (drive and charger), I map device to group. When you need to change something in conf file of mhvtl (/etc/mhvtl), you need to restart virtual device (1). But when you do that, you lose device you are created in the TUI. (You need to recreate the device and map it to group)