I believe that it’s something to do with stopping Windows (at the target) from
sending TURs to the tape every 30s or so.
Setting streaming bit ? Is that something I can do with mt-st or mt commands?
The best I am getting is about 29MB/s over a 1Gbit LAN L
Here’s my backup script:
root@charon:~/bin# cat backup-system
#!/bin/bash
# init
function pause(){
read -p "$*"
}
#
# Connect to the iSCSI tape drive and make sure it's set up
#
sudo iscsiadm -m node --targetname
"iqn.2008-08.com.starwindsoftware:mercury-hp1840" --portal
"192.168.129.66:3260" --login
sleep 5
sudo stinit -vv
# Set the device blocksize to 64k
set -v
sudo mt-st -f /dev/st0l setblk 65536
#
# Actually run the backup
#
sudo dd bs=16M if=/dev/disk/by-id/ata-KINGSTON_SVP100S296G_312Y10B7Y5SK | pv |
dd ibs=16M obs=64K of=/dev/st0l
set +v
pause 'Press [Enter] key to unload the tape ...'
sudo mt-st -f /dev/st0l offline
sudo iscsiadm -m node --targetname
"iqn.2008-08.com.starwindsoftware:mercury-hp1840" --portal
"192.168.129.66:3260" --logout
root@charon:~/
Thanks
From: [email protected] [mailto:[email protected]] On
Behalf Of The Lee-Man
Sent: 25 October 2020 16:51
To: open-iscsi
Subject: Re: Slow iSCSI tape performance
I haven't heard about disabling TUR for iSCSI tape improvement. Even if true,
I'm not sure how you'd do that. You'd need to modify your target IMHO to always
reply "ready" for TUR. But TUR is used to clear some conditions at the target,
if present, so not sure about the semantics of ignoring TURs. Have you tried
setting the streaming bit for the tape drive?
On Wednesday, October 21, 2020 at 6:43:22 AM UTC-7 [email protected]
wrote:
I've seen a report that disabling Test Unit Ready across the iSCSI link can
hugely improve performance of remote tape drives.
Is this something I do at the machine hosting the tape drive or at the client?
Is it relevant to open iscsi?
Thanks
David
--
You received this message because you are subscribed to a topic in the Google
Groups "open-iscsi" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/open-iscsi/jp7zMTdWbN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/open-iscsi/4ad354c3-5d6a-4b1f-b978-afee5d1219aen%40googlegroups.com
<https://groups.google.com/d/msgid/open-iscsi/4ad354c3-5d6a-4b1f-b978-afee5d1219aen%40googlegroups.com?utm_medium=email&utm_source=footer>
.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/open-iscsi/007401d6aaf6%2448aef2b0%24da0cd810%24%40perdrix.co.uk.