<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Try it with —force, if the disks have any kind of partition table on them, zfs will not allow you to over-write them by default.<div class=""><br class=""></div><div class="">If it’s still complaining about the disks being in use, it’s probably mutlipathd grabbing them. multipath -l or multipath -ll will show the to you. You may be able to get the pool creation done by doing ‘multipath -f’ to clear the ables and creating the pool before multipathd grabs the disks again, or you may want to read up on mutlipathd and edit your configs to prevent it from grabbing the disks you’re trying to use (or configure it for mutipath access to said disk, if you have the hardware for it).</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><hr style="border:none;border-top:solid #B5C4DF 1.0pt;padding:0 0 0 0;margin:10px 0 5px 0;" class=""><span style="margin: -1.3px 0.0px 0.0px 0.0px" id="RwhHeaderAttributes" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">From:</b> Tal Bar-Or &lt;<a href="mailto:tbaror@gmail.com" class="">tbaror@gmail.com</a>&gt;</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">Subject:</b> [ovirt-users] Issues with ZFS volume creation</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">Date:</b> March 25, 2018 at 9:54:35 AM CDT</font></span><br class="">
<span style="margin: -1.3px 0.0px 0.0px 0.0px" class=""><font face="Helvetica" size="4" color="#000000" style="font: 13.0px Helvetica; color: #000000" class=""><b class="">To:</b> users</font></span><br class="">
<br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><br clear="all" class=""></div>Hello All,<br class=""></div>I know this question is might be out of Ovirt scope, but I don't have anywhere else to ask for this issue (ZFS users mailing doesn't work), so I am trying my luck here anyway<br class=""></div>so the issues go as follows :<br class=""><br class="">Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 with 15 sas&nbsp; 10 k 1.2TB each attached to PERC H310 adapter, disks are configured to non-raid, all went OK, but when I am trying to create new zfs pool using the following command:<br class="">&nbsp;<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">zpool create -m none -o ashift=12 zvol raidz2 sda sdb sdc sdd sde sdf sdg sdh sdi sdj sdk sdl sdm<br clear="all" class=""></blockquote><div class=""><div style="background-color:transparent" class="">I get the following error below:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">/dev/sda is in use and contains a unknown filesystem.<br class="">/dev/sdb is in use and contains a unknown filesystem.<br class="">/dev/sdc is in use and contains a unknown filesystem.<br class="">/dev/sdd is in use and contains a unknown filesystem.<br class="">/dev/sde is in use and contains a unknown filesystem.<br class="">/dev/sdf is in use and contains a unknown filesystem.<br class="">/dev/sdg is in use and contains a unknown filesystem.<br class="">/dev/sdh is in use and contains a unknown filesystem.<br class="">/dev/sdi is in use and contains a unknown filesystem.<br class="">/dev/sdj is in use and contains a unknown filesystem.<br class="">/dev/sdk is in use and contains a unknown filesystem.<br class="">/dev/sdl is in use and contains a unknown filesystem.<br class="">/dev/sdm is in use and contains a unknown filesystem.<br class=""></blockquote><div style="background-color:transparent" class=""><br class="">When typing command lsblk I get the following output below, all seems ok, any idea what could be wrong?<br class=""></div><div style="background-color:transparent" class="">Please advice<br class=""></div><div style="background-color:transparent" class="">Thanks<br class=""><br class=""></div><div style="background-color:transparent" class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;background-color:transparent"># lsblk<br class="">NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAJ:MIN RM&nbsp; SIZE RO TYPE&nbsp; MOUNTPOINT<br class="">sda&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:0&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245c0ec 253:2&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:16&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca072463898 253:10&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:32&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca0724540e8 253:8&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:48&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca072451b68 253:7&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sde&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:64&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245f578 253:3&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:80&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07246c568 253:11&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:96&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca0724620c8 253:12&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:112&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245d2b8 253:13&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:128&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245f0e8 253:4&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdj&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:144&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca072418958 253:5&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:160&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca072429700 253:1&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:176&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245d848 253:9&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:192&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca0724625a8 253:0&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath<br class="">sdn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8:208&nbsp; 0&nbsp; 1.1T&nbsp; 0 disk<br class="">└─35000cca07245f5ac 253:6&nbsp;&nbsp;&nbsp; 0&nbsp; 1.1T&nbsp; 0 mpath</blockquote></div></div></div>

<br class=""><br class=""><div class=""><div class=""><div class=""><div class="">-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature">Tal Bar-or</div>
</div></div></div></div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></body></html>