<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Udiskctl on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/udiskctl/</link>
    <description>Recent content in Udiskctl on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Thu, 26 Oct 2023 23:50:45 +1100</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/udiskctl/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Deleting old LVM devices file PVID &lt;ID&gt; last seen not found</title>
      <link>https://blog.khmersite.net/p/deleting-old-lvm-devices-file-pvid-last-seen-not-found/</link>
      <pubDate>Thu, 26 Oct 2023 23:50:45 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/deleting-old-lvm-devices-file-pvid-last-seen-not-found/</guid>
      <description>&lt;p&gt;On one of my servers, I used to have a storage device, &lt;code&gt;/dev/sdb&lt;/code&gt;, attached to it. That storage was used as an LVM physical volume. It has later been removed, and now I just noticed the following message:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;root@banan ~&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# lvs&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Devices file PVID CuDRE3nMN5FMNqYLViHrnE1D7OFDlbX6 last seen on /dev/sdb not found.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  LV         VG        Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  root       almalinux -wi-ao---- &amp;lt;28.40g
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  swap       almalinux -wi-ao----   2.01g
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Based some research found online, there could be outdated &lt;em&gt;device entries&lt;/em&gt; in the &lt;em&gt;device files&lt;/em&gt; located in &lt;code&gt;/etc/lvm/devices/system.devices&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using ZFS on an External Drive</title>
      <link>https://blog.khmersite.net/p/using-zfs-on-external-drive/</link>
      <pubDate>Thu, 12 Nov 2020 22:52:58 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/using-zfs-on-external-drive/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m a fan of ZFS filesystem. It&amp;rsquo;s so good that I also use ZFS on most my Linux machines, though it&amp;rsquo;s painful at time when the ZFS kernel modules fail to compile. Why I like it so much comparing to other file system such as XFS, EXT4, BTRFS? ZFS allows me to quickly do snapshots and efficiently send snapshots over the network, and my nas runs FreeBSD which support ZFS natively.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Create Disk Partition With GNU Parted</title>
      <link>https://blog.khmersite.net/p/create-disk-partition-with-gnu-parted/</link>
      <pubDate>Wed, 20 May 2020 22:11:47 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/create-disk-partition-with-gnu-parted/</guid>
      <description>&lt;p&gt;My favourite tool to create disk partitions on Linux is &lt;code&gt;c[fg]disk&lt;/code&gt;. &lt;code&gt;cfdisk&lt;/code&gt; used to create MBR based partition, and &lt;code&gt;cgdisk&lt;/code&gt; is for GPT one.&lt;/p&gt;
&lt;p&gt;Today, I want to learn to use another tool called GNU Parted.&lt;/p&gt;
&lt;p&gt;After plugging an external disk, we can use &lt;strong&gt;udiskctl&lt;/strong&gt; command to identify the disk device.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# udisksctl status
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;MODEL                     REVISION  SERIAL               DEVICE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--------------------------------------------------------------------------
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Samsung SSD 850 EVO 250GB EMT01B6Q  S21MNXAG919308T      sda
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ST2000DM001-1ER164        HP51      Z4Z46TMA             sdb
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ST2000DM001-1ER164        HP51      Z4Z46W3E             sdc
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Samsung SSD 850 EVO 250GB EMT01B6Q  S21MNXAG919312Y      sdd
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Samsung SSD 840 EVO 250G  0309      533144424E4541443837343335324120 sde
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The last Samsung SSD 840 (/dev/sde) is the one that I&amp;rsquo;m going to work with.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
