<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 27. Aug 2025, at 01:40, Atiq Rahman <atiqcx@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr"><div>More details on the setup to repro,<br clear="all"></div><div><br></div><div>(It's a spare disk I got from a friend to be able to do some illumos / OI installer related things and to backup some data.)</div><div><br></div><div>The disk in question was partitioned using Microsoft's diskpart utility probably few years ago, with a single NTFS partition spanning the entire 2TB drive.</div><div><br></div><div>To tear down the old partition table I used latest parted and did</div><div>- wipefs</div><div>- mklabel gpt</div><div>- created one partition for ZFS with type code BF01</div><div><br></div><div>I booted into OI live env. created the zfs pool on that partition. Think about it: I created the zfs pool on illumos, yet, every next time I tried to import this pool using OI it would report that the pool is corrupt! To check if it really had corruption I booted into linux, openzfs also reports the pool is corrupt.</div><div><br></div><div>But, openzfs imported fine when I specified -d /dev/sda1 all data was intact, no errors. (It would report it's corrupt when I specify -d /dev/sda on openzfs though.)</div></div></div></div></blockquote><div><br></div><div>/dev/sda is all disk in linux world, its the same as /dev/dsk/cXtYd0 or /dev/dsk/cXtYd0p0 in illumos. /dev/sda1 is first partition on sda.</div><div><br></div><div>Now, if you think about it a bit; zfs pool on disk has 4MB area before the pool data area, that 4MB does contain pool labels (2 copies, 256KB each) and 3.5MB reserved area for boot program.</div><div><br></div><div>On GPT partitioned disk (512B sector size), you have:</div><div><br></div><div>sector 0 for PMBR</div><div>sector 1 for GPT</div><div>sectors 2-33 for GPT partition array, so the first *usable* sector for your partition data is sector 34:</div><div><br></div><div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">format> ver</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures"></span><br></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">Volume name = < ></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">ascii name = <LSI-MR9361-8i-4.68-557.86GB></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">bytes/sector = 512</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">sectors = 1169920000</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">accessible sectors = 1169903549</span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures">first usable sector = 34</span></p><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div>So, if you create GPT on disk, your first 34 sectors are used by GPT, thats 34 * 512 =17 408 <font face="Hack"><span style="background-color: rgb(255, 255, 255);">bytes. If you create pool on /dev/sda, that means your pool label (that first 4MB area) will overwrite [parts of] GPT.</span></font></div></div><div><br></div><div>If you create slice on GPT, lets say starting with first available sector, 34, then your pool labels start from sector 34, and data area starts from sector 34 + 4MB (thats <span style="font-family: Hack; background-color: rgb(255, 255, 255);">4194304 / 512 = 8192)</span>, thats sector 34 + <span style="font-family: Hack; background-color: rgb(255, 255, 255);">8192 = 8 226.</span></div><div><span style="font-family: Hack; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="font-family: Hack; background-color: rgb(255, 255, 255);">now, if you have pool on your first slice (starting from sector 34), but you are going to use sda to read this pool, then zfs fails to read pool labels, because they are actually located starting from sector 34, not sector 0 and you will get error.</span></div><div><span style="font-family: Hack; background-color: rgb(255, 255, 255);"><br></span></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);">Once more, zpool import -d has nothing to do about if we are able to somehow read corrupted pool, its only purpose is to tell where to look.</span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);">Now, there is one very confusing scenario.</span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);">Lets assume you have disk with GPT partitioning and you did create pool using all the disk (or you had pool created using all the disk and you did create GPT on it later.</span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);">What happens in such cases is that zpool create does not actually clean up the first 4MB, because the label area has reserved blocks, the space under those blocks are not touched at all. So whatever there was, or stored after zpool create, will stay as is. Therefore you have now pool, it does start from absolute sector 0 and has bits of partition table structures “embedded” in it. Maybe some label data areas are corrupted now, maybe not.</span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font face="Hack"><span style="background-color: rgb(255, 255, 255);">So, you have now the pool and partition table sharing the same space, the pool is not imported. Now you have slice /dev/sda1, and you create new pool on sda1. What happens? Your disk still had pool starting from absolute sector 0, and its size is covering all the physical disk. And also you have created second pool in sda1 - so the second pool is written on top of first one, and thus corrupting whatever the data was there.</span></font></div><div><br></div><div>What happens when you will try to get list of importable pools? If the zpool import does start scanning from absolute sector 0, it will find the information about the first pool, but depending on what was overwritten by second pool, it may report errors or be completely happy…. If you manage to import both pools, then you have very “interesting” times ahead…. </div><div><br></div><div>It is very important to actually understand what are you doing, which devices are you using and how it does affect your system behavior. Also, if you have experimented with different setups, especially using physical disks versus partitioned disks and want to start over, wipe the disk clean from any remaining data structures of your file systems. Partitioning software does not wipe the unused blocks.</div><div><br></div><div>rgds,</div><div>toomas</div><br><blockquote type="cite"><div><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr"><div>Till I zero'd out the beginning and end of the partition using dd, on both illumos and linux was showing ntfs as partition type on print output.</div></div></div></div></blockquote><blockquote type="cite"><div><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div dir="ltr"><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><p class="MsoNormal" style="vertical-align: baseline;"><a name="SignatureSanitizer__MailAutoSig"><span style="font-size: 10pt; font-family: Roboto;">Hope it helps understand the case better,</span></a></p><p class="MsoNormal" style="vertical-align: baseline;"><a name="SignatureSanitizer__MailAutoSig"><span style="font-size: 10pt; font-family: Roboto;">Atiq</span></a></p></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Aug 26, 2025 at 3:21 PM Atiq Rahman <<a href="mailto:atiqcx@gmail.com">atiqcx@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div>> If one implementation can access the pool just fine, scrub does confirm all is ok, then the pool is ok for that implementation; if you still can not import it to other system, then it means this pool has unsupported [on that second implementation] features. Normally you are told about it loud and clear, however. Without exact messages it is impossible to tell what is actually going on.</div><div><br></div><div>Neither. In my scenario, both illumos zfs and openzfs interpreted the pool as corrupt due to metadata (till I zerod out and recreated pool) but openzfs (linux) was still able to import it (before zero'ing out and after) because their -d argument has support for specifically importing from a partition. But, in these cases, illumos acts very unfriendly.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 26, 2025 at 4:59 AM Toomas Soome via illumos-developer <<a href="mailto:developer@lists.illumos.org" target="_blank">developer@lists.illumos.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div><br id="m_2818198608092285968m_4572813304314509819lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 26. Aug 2025, at 13:53, Atiq Rahman <<a href="mailto:atiqcx@gmail.com" target="_blank">atiqcx@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Hi Toomas,</div><div>With openzfs I can import a pool from a specific partition even if 'zpool import' states pool is corrupt.</div><div>With Illumos zfs I can't. That's what I mean by the subject of this email.</div><div><br></div></div></div></blockquote><div><br></div><div>Whether you can actually import the pool or not depends on the corruption. If pool metadata is not readable or is not understandable (feature is not implemented), then you can not access the pool.</div><div><br></div><div>If one implementation can access the pool just fine, scrub does confirm all is ok, then the pool is ok for that implementation; if you still can not import it to other system, then it means this pool has unsupported [on that second implementation] features. Normally you are told about it loud and clear, however. Without exact messages it is impossible to tell what is actually going on.</div><div><br></div><div>rgds,</div><div>toomas</div><br><blockquote type="cite"><div><div dir="ltr"><div>You have provided nice details, I need to peruse them when I get some free time.</div><div><br></div><div>Thanks again,</div><div><div class="gmail_signature" dir="ltr"><div dir="ltr"><p class="MsoNormal" style="vertical-align: baseline;"><a name="m_2818198608092285968_m_4572813304314509819_SignatureSanitizer__MailAutoSig"><span style="font-size: 10pt; font-family: Roboto;">Atiq</span></a></p></div></div></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, Aug 26, 2025 at 3:37 AM Toomas Soome via illumos-developer <<a href="mailto:developer@lists.illumos.org" target="_blank">developer@lists.illumos.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div><br id="m_2818198608092285968m_4572813304314509819m_2874659421308544982lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 25. Aug 2025, at 09:49, Atiq Rahman <<a href="mailto:atiqcx@gmail.com" target="_blank">atiqcx@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>> If it's not finding the pool, then that's the problem you need to look at.</div><div><br></div><div>yep, it doesn't see the pool or it would say the pool is corrupt. This repros with a zfs pool on an external disk with one partition(pool is only on that specific partition). Probably illumos thinks the pool is on the whole disk or something while Linux can import/mount it fine (have to provide partition number with -d though).</div></div></div></blockquote><div><br></div><div><br></div><div>openzfs: <span style="font-family: Hack; background-color: rgb(255, 255, 255); font-variant-ligatures: no-common-ligatures;"><b>zpool</b><span class="Apple-converted-space"> </span><b>import</b><span class="Apple-converted-space"> </span>[<b>-D</b>] [<b>-d</b><span class="Apple-converted-space"> </span></span><span style="font-family: Hack; background-color: rgb(255, 255, 255); text-decoration: underline; font-variant-ligatures: no-common-ligatures;">dir</span><span style="font-family: Hack; background-color: rgb(255, 255, 255); font-variant-ligatures: no-common-ligatures;">|</span><span style="font-family: Hack; background-color: rgb(255, 255, 255); text-decoration: underline; font-variant-ligatures: no-common-ligatures;">device</span><span style="font-family: Hack; background-color: rgb(255, 255, 255); font-variant-ligatures: no-common-ligatures;">]…</span></div><div><br></div><div>there the "device" is added for cases when it is desirable to limit the search:</div><div><br></div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; color: rgb(255, 255, 255); background-color: rgb(135, 138, 4);"><span style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28); background-color: rgb(255, 255, 255);">commit<span class="Apple-converted-space"> </span></span><span style="font-variant-ligatures: no-common-ligatures;">522db29275b81c18c2bf53a95efa1aedeb13b428</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">Author: Chunwei Chen <<a href="mailto:tuxoko@gmail.com" target="_blank">tuxoko@gmail.com</a>></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">Date: Fri Jan 26 10:49:46 2018 -0800</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures;"></span><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>zpool import -d to specify device path</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures;"> </span><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>When we know which devices have the pool we are looking for, sometime</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>it's better if we can directly pass those device paths to zpool import</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>instead of letting it to search through all unrelated stuff, which might</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>take a lot of time if you have hundreds of disks.</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures;"> </span><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>This patch allows option -d <dev_path> to zpool import. You can have</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>multiple pairs of -d <dev_path>, and zpool import will only search</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>through those devices. For example:</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures;"> </span><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>zpool import -d /dev/sda -d /dev/sdb</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255); min-height: 16px;"><span style="font-variant-ligatures: no-common-ligatures;"> </span><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>Reviewed-by: Tony Hutter <<a href="mailto:hutter2@llnl.gov" target="_blank">hutter2@llnl.gov</a>></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>Reviewed-by: Brian Behlendorf <<a href="mailto:behlendorf1@llnl.gov" target="_blank">behlendorf1@llnl.gov</a>></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>Signed-off-by: Chunwei Chen <<a href="mailto:david.chen@nutanix.com" target="_blank">david.chen@nutanix.com</a>></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>Closes #7077</span></div><div><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures;">From point of view of *finding* the pool, it does not really matter if you search from the directory tree or from specific device.</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div></div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>I guess illumos code for reading GPT partitions is not up to date. So, it confuses me by reading some MBR records while those are simply not valid on a GPT partition. I fixed that by zeroing out (dd) the first few megabytes and last few megabytes of the partition. then, illumos can read it, wipefs wasn't enough.</div><div><br></div></div></div></blockquote><div><br></div><div>How did the MBR records appear on *GPT partition*?! MBR is in absolute sector 0 of the disk and thats it. From GPT point of view, you still have MBR in absolute sector 0, but it must be configured to have one partition and it must cover entire space the MBR partition can cover. It is called Protective MBR and the reason it is there is to prevent MBR only tools to touch the disk (because whole disk is already partitioned for those tools). GPT table itself is located in absolute sector 1, followed by partition array in next sectors (and the backup table is stored at the end of the disk).</div><div><br></div><div>There is nothing about “not up to date” related to reading GPT partitions. If you want to check the *exact* real data on the disk, you can do:</div><div><br></div><div>mdb /dev/rdsk/cXtYd0 — replace the device name with your actual disk name, you can use *d0 in case you have GPT or *p0 for any disk.</div><div>::load disk_label</div><div><br></div><div>if you disk is using 4k sector size:</div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::sectorsize</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">Current sector size is 512 (0x200)</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::sectorsize 1000</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::sectorsize</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">Current sector size is 4096 (0x1000)</span></div><p style="margin: 0px; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">(mdb defaults to use hex).</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">then you can check the partition tables:</span></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::mbr</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">..</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">PART TYPE ACTIVE STARTCHS ENDCHS SECTOR NUMSECT </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">0 EFI_PMBR:0xee 0 0/0/2 1023/255/63 1 1169919999</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">1 UNUSED:0</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">2 UNUSED:0</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">3 UNUSED:0</span></div><p style="margin: 0px; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">There you can see Protective MBR.</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::gpt</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">...</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">PART TYPE STARTLBA ENDLBA ATTR NAME</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">0 EFI_SYSTEM 256 524543 0 loader</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">1 EFI_USR 524544 1169903582 0 zfs</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">2 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">3 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">4 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">5 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">6 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">7 EFI_UNUSED </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">8 EFI_RESERVED 1169903583 1169919966 0 </span></div><p style="margin: 0px; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">> ::quit</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">There you can see my boot disk layout with ESP in s0, zpool in s1 and s8 is reserved for internal data. Since illumos does translate GPT partitions to VTOC API (Virtual Table of Contents), this does also limit the number of slices the illumos is willing to show you. Do not put illumos related data past slice 8, unless you want to have challenges in your life. (yes, this sucks but it wont get changed anytime soon).</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div></div><br><blockquote type="cite"><div><div dir="ltr"><div>Those MBR bytes should not have been looked into (since the disk is using a GPT partition table). So illumos or its zfs is not doing it right. And, while openzfs has -d to facilitate an import in these cases, illumos doesn't have that.</div><div><br></div></div></div></blockquote><div><br></div><div>To check for the pool, you start from ‘zpool import’, if it does not show importable pool, there is something wrong. *Assuming* your partition table is good, the next step is to check the data. </div><div><br></div>so you want to verify if the slice has pool on it, lets browse pool labels:</div><div><br></div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"># zdb -l /dev/rdsk/c1t0d0s1</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">------------------------------------</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">LABEL 0</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">------------------------------------</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>version: 5000</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>name: 'rpool'</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>state: 0</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>txg: 9701129</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>pool_guid: 17731126654892364754</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>errata: 0</span></div><p style="margin: 0px; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>hostid: 1326551839</span></div><div><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures;">…</span></div><div><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures;"><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>labels = 0 1 2 3 </span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">Above is example of what you would expect to see; in label 0, it indeed did find configuration for pool, you can see version and whatever else is recorded there. Last line is telling us there is identical content in all 4 copies of the pool labels. Thats what we hope to see. If not, there is no recognizable pool in this slice (slice must be at least 64MB).</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">If 'zdb -l' does show the pool label, then you should get some output from ‘zpool import’.</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">rgds,</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">toomas</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></span></div><blockquote type="cite"><div><div dir="ltr"><div><div class="gmail_signature" dir="ltr"><div dir="ltr"><p class="MsoNormal" style="vertical-align: baseline;"><a name="m_2818198608092285968_m_4572813304314509819_m_2874659421308544982_SignatureSanitizer__MailAutoSig"><span style="font-size: 10pt; font-family: Roboto;">Best,</span></a></p><p class="MsoNormal" style="vertical-align: baseline;"><a name="m_2818198608092285968_m_4572813304314509819_m_2874659421308544982_SignatureSanitizer__MailAutoSig"><span style="font-size: 10pt; font-family: Roboto;">Atiq</span></a></p><div><br></div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div></div></div></div><br></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, Aug 21, 2025 at 2:03 AM Peter Tribble <<a href="mailto:peter.tribble@gmail.com" target="_blank">peter.tribble@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Thu, Aug 21, 2025 at 8:45 AM Atiq Rahman <<a href="mailto:atiqcx@gmail.com" target="_blank">atiqcx@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div>Hi,</div><div>Say, my data pool is on slice 7 which is /dev/dsk/c3t0d0s6</div><div><br></div><div>Often times, on external disk, on both illumos and Linux, if I do this or equivalent</div><div><br></div><div>$ sudo zpool import dpool -d /dev/dsk/c3t0d0</div><div>it says the pool is corrupt.</div><div><br></div><div>However, on Linux, I can do this,</div><div>$ sudo zpool import dpool -d /dev/sda7</div><div>and Linux obliges nicely.</div><div><br></div><div>However, illumos doesn't support this syntax,</div><div>$ sudo zpool import dpool -d /dev/dsk/c3t0d0s6</div><div>says no such file or directory or something that means it's not supported with -d, (basically expecting a whole disk.)</div></div></blockquote></div></div></blockquote></div></div></blockquote><div><br></div><div>No it is not. in illumos, zpool import -d expects the name of the directory, where your disk device files are, -d has nothing to do about whole disks. </div><div><br></div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><b>zpool</b><span class="Apple-converted-space"> </span></span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><b>import</b></span><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>[<b>-D</b>] [<b>-d</b><span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">dir</span><span style="font-variant-ligatures: no-common-ligatures;">]</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">note its ‘dir’, not ‘device’ like its in OpenZFS. The default is to search from /dev/dsk, where your disk device nodes are located.</span></div><div><br></div><div><br></div></div><div><br></div><div>Secondly, you are using command as: "zpool import dpool -d /dev/dsk/c3t0d0s6” while synopsis is telling you:</div><div><br></div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <b>zpool</b><span class="Apple-converted-space"> </span></span><span style="font-variant-ligatures: no-common-ligatures; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"><b>import</b></span><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>[<b>-Dfmt</b>] [<b>-F</b><span class="Apple-converted-space"> </span>[<b>-n</b>]] [<b>--rewind-to-checkpoint</b>]</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span>[<b>-c</b><span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">cachefile</span><span style="font-variant-ligatures: no-common-ligatures;">|<b>-d</b><span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">dir</span><span style="font-variant-ligatures: no-common-ligatures;">] [<b>-o</b><span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">mntopts</span><span style="font-variant-ligatures: no-common-ligatures;">] [<b>-o</b><span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">property</span><span style="font-variant-ligatures: no-common-ligatures;">=</span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">value</span><span style="font-variant-ligatures: no-common-ligatures;">]... [<b>-R</b></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">root</span><span style="font-variant-ligatures: no-common-ligatures;">]</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span></span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">pool</span><span style="font-variant-ligatures: no-common-ligatures;">|</span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">id</span><span style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>[</span><span style="text-decoration: underline; font-variant-ligatures: no-common-ligatures;">newpool</span><span style="font-variant-ligatures: no-common-ligatures;">]</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">So, what is happening there in your case:</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"># zpool import dpool -d /dev/dsk/c3t0d0s6</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">cannot open '/devices/pci@0,0/pci108e,4852@1f,2/cdrom@0,0:g/': Not a directory</span></div><p style="margin: 0px; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"></span></p><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">cannot import 'dpool': no such pool available</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">notice the error message '</span>Not a directory’. So lets look inside zpool with truss:</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">resolvepath("/dev/dsk/c3t0d0s6", "/devices/pci@0,0/pci108e,4852@1f,2/cdrom@0,0:g", 1024) = 46</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">open("/devices/pci@0,0/pci108e,4852@1f,2/cdrom@0,0:g/", O_RDONLY) Err#20 ENOTDIR</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;"><br></span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><span style="font-variant-ligatures: no-common-ligatures;">There, "</span>/dev/dsk/c3t0d0s6” was resolved to "/devices/pci@0,0/pci108e,4852@1f,2/cdrom@0,0:g” and zpool was attempting to use it as a directory, and because it is not a directory, we do get respective error: </div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">"Err#20 ENOTDIR”.</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">And since I do not have “dpool” anywhere on my disks, I also do get the error from an attempt to import it.</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);"><br></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">rgds,</div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; line-height: normal; font-family: Hack; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-feature-settings: normal; background-color: rgb(255, 255, 255);">toomas</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br class="webkit-block-placeholder"></div></div><br><blockquote type="cite"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div><br></div><div>You may ask why I am specifying the partition for import. That's coz often times both illumos and linux, not sure for what reason, doesn't see or list the pool on my external SSD when I type "sudo zpool import"</div></div></blockquote><div><br></div><div>The unqualified import checks every slice/partition on every disk. So it's already looking<br></div><div>at that partition. If it's not finding the pool, then that's the problem you need to look at.<br></div><div> </div></div><span class="gmail_signature_prefix">--<span class="Apple-converted-space"> </span></span><br><div class="gmail_signature" dir="ltr">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a><span class="Apple-converted-space"> </span>-<span class="Apple-converted-space"> </span><a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com</a></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></blockquote></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">oi-dev mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="mailto:oi-dev@openindiana.org" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">oi-dev@openindiana.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="https://openindiana.org/mailman/listinfo/oi-dev" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://openindiana.org/mailman/listinfo/oi-dev</a></div></blockquote></div><br></body></html>