<?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>Sfdisk on BAFM</title><link>https://christian.blog.pakiheim.de/tags/sfdisk/</link><description>Recent content in Sfdisk on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Wed, 09 Jul 2014 13:18:09 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/sfdisk/index.xml" rel="self" type="application/rss+xml"/><item><title>SFdisk - Partition table for 2TB RAID-Disks</title><link>https://christian.blog.pakiheim.de/posts/2014-07-09_sfdisk-partition-table-for-2tb-raid-disks/</link><pubDate>Wed, 09 Jul 2014 13:18:09 +0000</pubDate><guid isPermaLink="false">http://christian.weblog.heimdaheim.de/?p=5176</guid><description>&lt;p&gt;So, when I create (or add RAID disks) I have this handy sfdisk template (I created once when I first added the 2TB disks):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-3"&gt;&lt;a class="lnlinks" href="#hl-0-3"&gt;3&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-4"&gt;&lt;a class="lnlinks" href="#hl-0-4"&gt;4&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-5"&gt;&lt;a class="lnlinks" href="#hl-0-5"&gt;5&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-6"&gt;&lt;a class="lnlinks" href="#hl-0-6"&gt;6&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-7"&gt;&lt;a class="lnlinks" href="#hl-0-7"&gt;7&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root:(charon.ka.heimdaheim.de) PWD:~
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Wed Jul 09, 15:13:04 [0] &amp;gt; sfdisk -d /dev/sdj &amp;gt; ~/raid-disk-template.sf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root:(charon.ka.heimdaheim.de) PWD:~
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Wed Jul 09, 15:13:04 [0] &amp;gt; cat ~/raid-disk-template.sf
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# partition table of /dev/sdj
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;unit: sectors
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/dev/sdj1 : start= 2048, size=3906793472, Id=da
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;So, if I wanted to add more disks, I&amp;rsquo;d just have to run the following:&lt;/p&gt;</description></item></channel></rss>