
--Apple-Mail=_76224E4E-1DDB-4028-B09D-9FEC4580B9D9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Try it with =E2=80=94force, if the disks have any kind of partition = table on them, zfs will not allow you to over-write them by default. If it=E2=80=99s still complaining about the disks being in use, it=E2=80=99= 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 = =E2=80=98multipath -f=E2=80=99 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=E2=80=99re trying to use (or configure it for mutipath access to = said disk, if you have the hardware for it).
From: Tal Bar-Or <tbaror@gmail.com> Subject: [ovirt-users] Issues with ZFS volume creation Date: March 25, 2018 at 9:54:35 AM CDT To: users =20 =20 Hello All, 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 so the issues go as follows : =20 Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell = R720 with 15 sas 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: =20 zpool create -m none -o ashift=3D12 zvol raidz2 sda sdb sdc sdd sde = sdf sdg sdh sdi sdj sdk sdl sdm I get the following error below: /dev/sda is in use and contains a unknown filesystem. /dev/sdb is in use and contains a unknown filesystem. /dev/sdc is in use and contains a unknown filesystem. /dev/sdd is in use and contains a unknown filesystem. /dev/sde is in use and contains a unknown filesystem. /dev/sdf is in use and contains a unknown filesystem. /dev/sdg is in use and contains a unknown filesystem. /dev/sdh is in use and contains a unknown filesystem. /dev/sdi is in use and contains a unknown filesystem. /dev/sdj is in use and contains a unknown filesystem. /dev/sdk is in use and contains a unknown filesystem. /dev/sdl is in use and contains a unknown filesystem. /dev/sdm is in use and contains a unknown filesystem. =20 When typing command lsblk I get the following output below, all seems = ok, any idea what could be wrong? Please advice Thanks =20 # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245c0ec 253:2 0 1.1T 0 mpath sdb 8:16 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca072463898 253:10 0 1.1T 0 mpath sdc 8:32 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca0724540e8 253:8 0 1.1T 0 mpath sdd 8:48 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca072451b68 253:7 0 1.1T 0 mpath sde 8:64 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245f578 253:3 0 1.1T 0 mpath sdf 8:80 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07246c568 253:11 0 1.1T 0 mpath sdg 8:96 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca0724620c8 253:12 0 1.1T 0 mpath sdh 8:112 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245d2b8 253:13 0 1.1T 0 mpath sdi 8:128 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245f0e8 253:4 0 1.1T 0 mpath sdj 8:144 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca072418958 253:5 0 1.1T 0 mpath sdk 8:160 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca072429700 253:1 0 1.1T 0 mpath sdl 8:176 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245d848 253:9 0 1.1T 0 mpath sdm 8:192 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca0724625a8 253:0 0 1.1T 0 mpath sdn 8:208 0 1.1T 0 disk =E2=94=94=E2=94=8035000cca07245f5ac 253:6 0 1.1T 0 mpath =20 =20 --=20 Tal Bar-or _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_76224E4E-1DDB-4028-B09D-9FEC4580B9D9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Try = it with =E2=80=94force, if the disks have any kind of partition table on = them, zfs will not allow you to over-write them by default.<div = class=3D""><br class=3D""></div><div class=3D"">If it=E2=80=99s still = complaining about the disks being in use, it=E2=80=99s 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 =E2=80=98multi= path -f=E2=80=99 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=E2=80=99re trying to use (or configure it for mutipath access to = said disk, if you have the hardware for it).</div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""><div><blockquote = type=3D"cite" class=3D""><hr style=3D"border:none;border-top:solid = #B5C4DF 1.0pt;padding:0 0 0 0;margin:10px 0 5px 0;" class=3D""><span = style=3D"margin: -1.3px 0.0px 0.0px 0.0px" id=3D"RwhHeaderAttributes" = class=3D""><font face=3D"Helvetica" size=3D"4" color=3D"#000000" = style=3D"font: 13.0px Helvetica; color: #000000" class=3D""><b = class=3D"">From:</b> Tal Bar-Or <<a href=3D"mailto:tbaror@gmail.com" = class=3D"">tbaror@gmail.com</a>></font></span><br class=3D""> <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">Subject:</b> = [ovirt-users] Issues with ZFS volume creation</font></span><br class=3D"">= <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">Date:</b> March 25, = 2018 at 9:54:35 AM CDT</font></span><br class=3D""> <span style=3D"margin: -1.3px 0.0px 0.0px 0.0px" class=3D""><font = face=3D"Helvetica" size=3D"4" color=3D"#000000" style=3D"font: 13.0px = Helvetica; color: #000000" class=3D""><b class=3D"">To:</b> = users</font></span><br class=3D""> <br class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D""><div class=3D""><div class=3D""><br = clear=3D"all" class=3D""></div>Hello All,<br class=3D""></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=3D""></div>so the issues go as = follows :<br class=3D""><br class=3D"">Installed ZFS on top of CentOs = 7.4 with Ovirt 4.2 , on physical Dell R720 with 15 sas 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=3D""> <br class=3D""><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex">zpool create -m none -o = ashift=3D12 zvol raidz2 sda sdb sdc sdd sde sdf sdg sdh sdi sdj sdk sdl = sdm<br clear=3D"all" class=3D""></blockquote><div class=3D""><div = style=3D"background-color:transparent" class=3D"">I get the following = error below:<br class=3D""><blockquote class=3D"gmail_quote" = style=3D"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=3D"">/dev/sdb is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdc is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdd is in use and contains a = unknown filesystem.<br class=3D"">/dev/sde is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdf is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdg is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdh is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdi is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdj is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdk is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdl is in use and contains a = unknown filesystem.<br class=3D"">/dev/sdm is in use and contains a = unknown filesystem.<br class=3D""></blockquote><div = style=3D"background-color:transparent" class=3D""><br class=3D"">When = typing command lsblk I get the following output below, all seems ok, any = idea what could be wrong?<br class=3D""></div><div = style=3D"background-color:transparent" class=3D"">Please advice<br = class=3D""></div><div style=3D"background-color:transparent" = class=3D"">Thanks<br class=3D""><br class=3D""></div><div = style=3D"background-color:transparent" class=3D""><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px = solid rgb(204,204,204);padding-left:1ex;background-color:transparent"># = lsblk<br = class=3D"">NAME  = ; MAJ:MIN RM SIZE RO TYPE = MOUNTPOINT<br = class=3D"">sda = 8:0 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245c0e= c 253:2 0 1.1T 0 mpath<br = class=3D"">sdb = 8:16 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07246389= 8 253:10 0 1.1T 0 mpath<br = class=3D"">sdc = 8:32 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca0724540e= 8 253:8 0 1.1T 0 mpath<br = class=3D"">sdd = 8:48 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca072451b6= 8 253:7 0 1.1T 0 mpath<br = class=3D"">sde = 8:64 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245f57= 8 253:3 0 1.1T 0 mpath<br = class=3D"">sdf = 8:80 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07246c56= 8 253:11 0 1.1T 0 mpath<br = class=3D"">sdg = 8:96 = 0 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca0724620c= 8 253:12 0 1.1T 0 mpath<br = class=3D"">sdh = 8:112 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245d2b8 = 253:13 0 1.1T 0 mpath<br = class=3D"">sdi = 8:128 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245f0e8 = 253:4 0 1.1T 0 mpath<br = class=3D"">sdj = 8:144 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca072418958 = 253:5 0 1.1T 0 mpath<br = class=3D"">sdk = 8:160 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca072429700 = 253:1 0 1.1T 0 mpath<br = class=3D"">sdl = 8:176 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245d848 = 253:9 0 1.1T 0 mpath<br = class=3D"">sdm = 8:192 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca0724625a8 = 253:0 0 1.1T 0 mpath<br = class=3D"">sdn = 8:208 0 = 1.1T 0 disk<br class=3D"">=E2=94=94=E2=94=8035000cca07245f5ac = 253:6 0 1.1T 0 = mpath</blockquote></div></div></div> <br class=3D""><br class=3D""><div class=3D""><div class=3D""><div = class=3D""><div class=3D"">-- <br class=3D""><div = class=3D"gmail_signature" data-smartmail=3D"gmail_signature">Tal = Bar-or</div> </div></div></div></div></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_76224E4E-1DDB-4028-B09D-9FEC4580B9D9--