<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pV-tech</title><link>https://pv-tech.eu/</link><description>Journey through the valley of tech</description><atom:link href="https://pv-tech.eu/rss.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2023 &lt;a href="mailto:a13x7rsk@gmail.com"&gt;Paul Witek&lt;/a&gt; </copyright><lastBuildDate>Sun, 18 Jun 2023 19:59:29 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>smartctl causing errors in dmesg with SAS SSD drives</title><link>https://pv-tech.eu/posts/smartctl-causing-errors-in-dmesg-with-sas-ssd-drives/</link><dc:creator>Paul Witek</dc:creator><description>&lt;div&gt;&lt;p&gt;For some time, I've observed a weird behavior with several SSD SAS drives. Whenever I checked their info using 'smartctl -a /dev/sdX', an error message appeared in dmesg:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_030be759e99b43209251f0a3f5a18a5d-1" name="rest_code_030be759e99b43209251f0a3f5a18a5d-1" href="https://pv-tech.eu/posts/smartctl-causing-errors-in-dmesg-with-sas-ssd-drives/#rest_code_030be759e99b43209251f0a3f5a18a5d-1"&gt;&lt;/a&gt;[  510.392322] sd 11:0:9:0: [sdk] tag#3990 Sense Key : Recovered Error [current]
&lt;a id="rest_code_030be759e99b43209251f0a3f5a18a5d-2" name="rest_code_030be759e99b43209251f0a3f5a18a5d-2" href="https://pv-tech.eu/posts/smartctl-causing-errors-in-dmesg-with-sas-ssd-drives/#rest_code_030be759e99b43209251f0a3f5a18a5d-2"&gt;&lt;/a&gt;[  510.392336] sd 11:0:9:0: [sdk] tag#3990 Add. Sense: Grown defect list not found
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Finally, it came time that I decided to investigate it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pv-tech.eu/posts/smartctl-causing-errors-in-dmesg-with-sas-ssd-drives/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://pv-tech.eu/posts/smartctl-causing-errors-in-dmesg-with-sas-ssd-drives/</guid><pubDate>Sun, 18 Jun 2023 19:08:08 GMT</pubDate></item><item><title>Server-side file copying between smb shares on linux</title><link>https://pv-tech.eu/posts/server-side-file-copying-between-smb-shares-on-linux/</link><dc:creator>Paul Witek</dc:creator><description>&lt;div&gt;&lt;p&gt;I needed to do a simple task: copy a file between two SMB shares residing on the same server. It would be wasteful to transfer this file back and forth between server and client machine using the network, so why not use the server-side copy feature?&lt;/p&gt;
&lt;p&gt;Trying regular 'cp' command copies the file across the network, so there must be some other way. After a little googling, I've found on Samba wiki (&lt;a class="reference external" href="https://wiki.samba.org/index.php/Server-Side_Copy"&gt;https://wiki.samba.org/index.php/Server-Side_Copy&lt;/a&gt;) that Linux in fact does support server-side copying. The site mentioned 'cp --reflink' - which did not work for me - along with a program called 'cloner' - which I could find for the life of me. It's time for a little digging.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pv-tech.eu/posts/server-side-file-copying-between-smb-shares-on-linux/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://pv-tech.eu/posts/server-side-file-copying-between-smb-shares-on-linux/</guid><pubDate>Thu, 04 May 2023 13:28:55 GMT</pubDate></item><item><title>Exploring cryptsetup key generation</title><link>https://pv-tech.eu/posts/exploring-cryptsetup-key-generation/</link><dc:creator>Paul Witek</dc:creator><description>&lt;div&gt;&lt;p&gt;When playing with Linux device mapper trying to mount an encrypted file I naturally started utilizing cryptsetup. I new the passphrase that was used to encrypt the file and managed to mount it correctly, but checking the mapped device table info with '--showkey' option got me thinging: Knowing the passphrase, could I manage to do without cryptsetup and mount the volume directrly, only specyfing the &lt;em&gt;'table'&lt;/em&gt; parameters?&lt;/p&gt;
&lt;p&gt;Let's start from the begining.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pv-tech.eu/posts/exploring-cryptsetup-key-generation/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://pv-tech.eu/posts/exploring-cryptsetup-key-generation/</guid><pubDate>Thu, 14 Jul 2022 11:38:06 GMT</pubDate></item><item><title>Mapping ZFS disks access pattern</title><link>https://pv-tech.eu/posts/mapping-zfs-disks-access-pattern/</link><dc:creator>Paul Witek</dc:creator><description>&lt;div&gt;&lt;p&gt;I was curious just how important TRIMming SSD drives is when using them with
ZFS. We know, that classic NAND-based drives are experiencing performance
degradation the more they are filled with data. But when using just a little area
of the storage, leaving the rest untouched, would it still slow down the storage
over time?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pv-tech.eu/posts/mapping-zfs-disks-access-pattern/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://pv-tech.eu/posts/mapping-zfs-disks-access-pattern/</guid><pubDate>Thu, 24 Feb 2022 18:16:25 GMT</pubDate></item><item><title>Common pitfall when benchmarking ZFS with fio</title><link>https://pv-tech.eu/posts/common-pitfall-when-benchmarking-zfs-with-fio/</link><dc:creator>Paul Witek</dc:creator><description>&lt;div&gt;&lt;p&gt;Let's say you build yourself a new ZFS pool on top of some pretty fast NVMe drives
and want to benchmark it to see how well it can run. You create a zvol and fire
up fio to sequentially read some data from it. But anticipating a large
number of IOPS, you don't want your CPU to bottleneck the performance, so
naturally you include &lt;em&gt;--numjobs=8&lt;/em&gt; to be sure you get the most out of your NAND
gates. Fio completes and TA-DAH: IOPS up the roof. But wait a minute... Your
pool consisting of three NVMe drives, each capable of 3.2 GB/s sequential read,
is read at the rate of 24 GB/s! Obviously the disk vendor would not undermine its
product perfromance, so something might be wrong with the test.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://pv-tech.eu/posts/common-pitfall-when-benchmarking-zfs-with-fio/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>fio</category><category>zfs</category><guid>https://pv-tech.eu/posts/common-pitfall-when-benchmarking-zfs-with-fio/</guid><pubDate>Wed, 26 Jan 2022 22:23:20 GMT</pubDate></item></channel></rss>