Bacula-users

Re: [Bacula-users] Is anyone using >128K blocks with LTO-4 or LTO-5 drives?

2013-09-18 09:02:53
Subject: Re: [Bacula-users] Is anyone using >128K blocks with LTO-4 or LTO-5 drives?
From: Andreas Koch <koch AT esa.informatik.tu-darmstadt DOT de>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Wed, 18 Sep 2013 14:58:57 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Does the splitting problem occur if you write to the tape with dd and
> then read it back?
> 
> e.g. something like
> 
> dd if=/dev/urandom of=/tmp/largefile bs=512k count=10000 mt -f /dev/nst0
> rewind dd if=/tmp/largefile of=/dev/nst0 bs=512k dd if=/tmp/largefile
> of=/dev/nst0 bs=512k mt -f /dev/nst0 rewind dd if=/dev/nst0 of=/dev/null
> bs=512k

gundabad ~ # dd if=/dev/urandom of=/tmp/largefile bs=512k count=10000
9999+1 records in <--- this is a bit strange
9999+1 records out
5242567182 bytes (5.2 GB) copied, 922.047 s, 5.7 MB/s

gundabad ~ # mt -f /dev/nst0 rewind

gundabad ~ # dd if=/tmp/largefile of=/dev/nst0 bs=512k
dd: writing `/dev/nst0': Invalid argument
9999+1 records in
9999+0 records out
5242355712 bytes (5.2 GB) copied, 42.9369 s, 122 MB/s

gundabad ~ # dd if=/tmp/largefile of=/dev/nst0 bs=512k
dd: writing `/dev/nst0': Invalid argument
9999+1 records in
9999+0 records out
5242355712 bytes (5.2 GB) copied, 39.66 s, 132 MB/s

gundabad ~ # mt -f /dev/nst0 rewind

gundabad ~ # dd if=/dev/nst0 of=/dev/null bs=512k
9999+0 records in
9999+0 records out
5242355712 bytes (5.2 GB) copied, 38.5814 s, 136 MB/s

So, except for the strangeness of the test file initially being created too
short (5242567182 bytes are 9999 blocks and a leftover of 211470 bytes,
could that be a urandom limitation?), the drive appears to work fine: The
5.2 GB written are read as a single 5.2 GB file (and not split, as btape
would do with a blocksize of 512 KB).

If you need any more tests, please let me know.

Best,
  Andreas


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlI5o44ACgkQk5ta2EV7DoxDlgCgpy/BE7PmdgTNuV5nm7paXiRz
lK4AoIXaK92+1trKgEcZlwQdB7r9RSqY
=6raZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>