Issues with ZFS volume creation

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 : 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:
zpool create -m none -o ashift=12 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.
When typing command lsblk I get the following output below, all seems ok, any idea what could be wrong? Please advice Thanks # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.1T 0 disk └─35000cca07245c0ec 253:2 0 1.1T 0 mpath sdb 8:16 0 1.1T 0 disk └─35000cca072463898 253:10 0 1.1T 0 mpath sdc 8:32 0 1.1T 0 disk └─35000cca0724540e8 253:8 0 1.1T 0 mpath sdd 8:48 0 1.1T 0 disk └─35000cca072451b68 253:7 0 1.1T 0 mpath sde 8:64 0 1.1T 0 disk └─35000cca07245f578 253:3 0 1.1T 0 mpath sdf 8:80 0 1.1T 0 disk └─35000cca07246c568 253:11 0 1.1T 0 mpath sdg 8:96 0 1.1T 0 disk └─35000cca0724620c8 253:12 0 1.1T 0 mpath sdh 8:112 0 1.1T 0 disk └─35000cca07245d2b8 253:13 0 1.1T 0 mpath sdi 8:128 0 1.1T 0 disk └─35000cca07245f0e8 253:4 0 1.1T 0 mpath sdj 8:144 0 1.1T 0 disk └─35000cca072418958 253:5 0 1.1T 0 mpath sdk 8:160 0 1.1T 0 disk └─35000cca072429700 253:1 0 1.1T 0 mpath sdl 8:176 0 1.1T 0 disk └─35000cca07245d848 253:9 0 1.1T 0 mpath sdm 8:192 0 1.1T 0 disk └─35000cca0724625a8 253:0 0 1.1T 0 mpath sdn 8:208 0 1.1T 0 disk └─35000cca07245f5ac 253:6 0 1.1T 0 mpath
-- Tal Bar-or

--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--

--_000_152274559347636998leedsbeckettacuk_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Tal, ZFS is probably detecting a partition table on the disks, = you could delete the partition tables on /dev/sda,/dev/sdb ... etc, or you= could use the force option of ZFS create making sure they aren't mounted s= omewhere. Regards, Paul S. ________________________________ From: users-bounces@ovirt.org <users-bounces@ovirt.org> on behalf of Tal Ba= r-Or <tbaror@gmail.com> Sent: 25 March 2018 15:54 To: users Subject: [ovirt-users] Issues with ZFS volume creation Hello All, I know this question is might be out of Ovirt scope, but I don't have anywh= ere else to ask for this issue (ZFS users mailing doesn't work), so I am tr= ying my luck here anyway so the issues go as follows : Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 w= ith 15 sas 10 k 1.2TB each attached to PERC H310 adapter, disks are config= ured to non-raid, all went OK, but when I am trying to create new zfs pool = using the following command: 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. When typing command lsblk I get the following output below, all seems ok, a= ny idea what could be wrong? Please advice Thanks # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.1T 0 disk ??35000cca07245c0ec 253:2 0 1.1T 0 mpath sdb 8:16 0 1.1T 0 disk ??35000cca072463898 253:10 0 1.1T 0 mpath sdc 8:32 0 1.1T 0 disk ??35000cca0724540e8 253:8 0 1.1T 0 mpath sdd 8:48 0 1.1T 0 disk ??35000cca072451b68 253:7 0 1.1T 0 mpath sde 8:64 0 1.1T 0 disk ??35000cca07245f578 253:3 0 1.1T 0 mpath sdf 8:80 0 1.1T 0 disk ??35000cca07246c568 253:11 0 1.1T 0 mpath sdg 8:96 0 1.1T 0 disk ??35000cca0724620c8 253:12 0 1.1T 0 mpath sdh 8:112 0 1.1T 0 disk ??35000cca07245d2b8 253:13 0 1.1T 0 mpath sdi 8:128 0 1.1T 0 disk ??35000cca07245f0e8 253:4 0 1.1T 0 mpath sdj 8:144 0 1.1T 0 disk ??35000cca072418958 253:5 0 1.1T 0 mpath sdk 8:160 0 1.1T 0 disk ??35000cca072429700 253:1 0 1.1T 0 mpath sdl 8:176 0 1.1T 0 disk ??35000cca07245d848 253:9 0 1.1T 0 mpath sdm 8:192 0 1.1T 0 disk ??35000cca0724625a8 253:0 0 1.1T 0 mpath sdn 8:208 0 1.1T 0 disk ??35000cca07245f5ac 253:6 0 1.1T 0 mpath -- Tal Bar-or To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html --_000_152274559347636998leedsbeckettacuk_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none"><!--P{margin-top:0;margin-b= ottom:0;} --></style> </head> <body dir=3D"ltr" style=3D"font-size:12pt;color:#000000;background-color:#F= FFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"> <p>Hello Tal,</p> <p> ZFS is pro= bably detecting a partition table on the disks, you could delete the partit= ion tables on /dev/sda,/dev/sdb ... etc, or you could use the force o= ption of ZFS create making sure they aren't mounted somewhere.</p> <p><br> </p> <p>Regards,</p> <p> Paul S.<br> </p> <div style=3D"color: rgb(33, 33, 33);"> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" face= =3D"Calibri, sans-serif" color=3D"#000000"><b>From:</b> users-bounces@ovirt= .org <users-bounces@ovirt.org> on behalf of Tal Bar-Or <tbaror@gma= il.com><br> <b>Sent:</b> 25 March 2018 15:54<br> <b>To:</b> users<br> <b>Subject:</b> [ovirt-users] Issues with ZFS volume creation</font> <div> </div> </div> <div> <div dir=3D"ltr"> <div> <div> <div><br clear=3D"all"> </div> Hello All,<br> </div> I know this question is might be out of Ovirt scope, but I don't have anywh= ere else to ask for this issue (ZFS users mailing doesn't work), so I am tr= ying my luck here anyway<br> </div> so the issues go as follows :<br> <br> Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 w= ith 15 sas 10 k 1.2TB each attached to PERC H310 adapter, disks are c= onfigured to non-raid, all went OK, but when I am trying to create new zfs = pool using the following command:<br> <br> <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"> </blockquote> <div> <div style=3D"background-color:transparent">I get the following error below= :<br> <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> /dev/sdb is in use and contains a unknown filesystem.<br> /dev/sdc is in use and contains a unknown filesystem.<br> /dev/sdd is in use and contains a unknown filesystem.<br> /dev/sde is in use and contains a unknown filesystem.<br> /dev/sdf is in use and contains a unknown filesystem.<br> /dev/sdg is in use and contains a unknown filesystem.<br> /dev/sdh is in use and contains a unknown filesystem.<br> /dev/sdi is in use and contains a unknown filesystem.<br> /dev/sdj is in use and contains a unknown filesystem.<br> /dev/sdk is in use and contains a unknown filesystem.<br> /dev/sdl is in use and contains a unknown filesystem.<br> /dev/sdm is in use and contains a unknown filesystem.<br> </blockquote> <div style=3D"background-color:transparent"><br> When typing command lsblk I get the following output below, all seems ok, a= ny idea what could be wrong?<br> </div> <div style=3D"background-color:transparent">Please advice<br> </div> <div style=3D"background-color:transparent">Thanks<br> <br> </div> <div style=3D"background-color:transparent"> <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:transp= arent"> # lsblk<br> NAME  = ; MAJ:MIN RM SIZE RO TYPE MOUNTPOINT<br> sda = 8:0 0 1.1T&nbs= p; 0 disk<br> └─35000cca07245c0ec 253:2 0 1.1T = 0 mpath<br> sdb = 8:16 0 1.1T 0 = disk<br> └─35000cca072463898 253:10 0 1.1T 0 mpa= th<br> sdc = 8:32 0 1.1T 0 = disk<br> └─35000cca0724540e8 253:8 0 1.1T = 0 mpath<br> sdd = 8:48 0 1.1T 0 = disk<br> └─35000cca072451b68 253:7 0 1.1T = 0 mpath<br> sde = 8:64 0 1.1T 0 = disk<br> └─35000cca07245f578 253:3 0 1.1T = 0 mpath<br> sdf = 8:80 0 1.1T 0 = disk<br> └─35000cca07246c568 253:11 0 1.1T 0 mpa= th<br> sdg = 8:96 0 1.1T 0 = disk<br> └─35000cca0724620c8 253:12 0 1.1T 0 mpa= th<br> sdh = 8:112 0 1.1T 0 disk<= br> └─35000cca07245d2b8 253:13 0 1.1T 0 mpa= th<br> sdi = 8:128 0 1.1T 0 disk<= br> └─35000cca07245f0e8 253:4 0 1.1T = 0 mpath<br> sdj = 8:144 0 1.1T 0 disk<= br> └─35000cca072418958 253:5 0 1.1T = 0 mpath<br> sdk = 8:160 0 1.1T 0 disk<= br> └─35000cca072429700 253:1 0 1.1T = 0 mpath<br> sdl = 8:176 0 1.1T 0 disk<= br> └─35000cca07245d848 253:9 0 1.1T = 0 mpath<br> sdm = 8:192 0 1.1T 0 disk<= br> └─35000cca0724625a8 253:0 0 1.1T = 0 mpath<br> sdn = 8:208 0 1.1T 0 disk<= br> └─35000cca07245f5ac 253:6 0 1.1T = 0 mpath</blockquote> </div> </div> </div> <br> <br> <div> <div> <div> <div>-- <br> <div class=3D"gmail_signature">Tal Bar-or</div> </div> </div> </div> </div> </div> </div> </div> To view the terms under which this email is distributed, please go to:- <br=
<a href=3D"http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html"= target=3D"_blank">http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaim= er.html</a> <p></p> </body> </html> --_000_152274559347636998leedsbeckettacuk_--

Hello All, Thanks for the answers, tried both don't work thanks On Tue, Apr 3, 2018 at 11:53 AM, Staniforth, Paul < P.Staniforth@leedsbeckett.ac.uk> wrote:
Hello Tal,
ZFS is probably detecting a partition table on the disks, you could delete the partition tables on /dev/sda,/dev/sdb ... etc, or you could use the force option of ZFS create making sure they aren't mounted somewhere.
Regards,
Paul S. ------------------------------ *From:* users-bounces@ovirt.org <users-bounces@ovirt.org> on behalf of Tal Bar-Or <tbaror@gmail.com> *Sent:* 25 March 2018 15:54 *To:* users *Subject:* [ovirt-users] Issues with ZFS volume creation
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 :
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:
zpool create -m none -o ashift=12 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.
When typing command lsblk I get the following output below, all seems ok, any idea what could be wrong? Please advice Thanks
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.1T 0 disk └─35000cca07245c0ec 253:2 0 1.1T 0 mpath sdb 8:16 0 1.1T 0 disk └─35000cca072463898 253:10 0 1.1T 0 mpath sdc 8:32 0 1.1T 0 disk └─35000cca0724540e8 253:8 0 1.1T 0 mpath sdd 8:48 0 1.1T 0 disk └─35000cca072451b68 253:7 0 1.1T 0 mpath sde 8:64 0 1.1T 0 disk └─35000cca07245f578 253:3 0 1.1T 0 mpath sdf 8:80 0 1.1T 0 disk └─35000cca07246c568 253:11 0 1.1T 0 mpath sdg 8:96 0 1.1T 0 disk └─35000cca0724620c8 253:12 0 1.1T 0 mpath sdh 8:112 0 1.1T 0 disk └─35000cca07245d2b8 253:13 0 1.1T 0 mpath sdi 8:128 0 1.1T 0 disk └─35000cca07245f0e8 253:4 0 1.1T 0 mpath sdj 8:144 0 1.1T 0 disk └─35000cca072418958 253:5 0 1.1T 0 mpath sdk 8:160 0 1.1T 0 disk └─35000cca072429700 253:1 0 1.1T 0 mpath sdl 8:176 0 1.1T 0 disk └─35000cca07245d848 253:9 0 1.1T 0 mpath sdm 8:192 0 1.1T 0 disk └─35000cca0724625a8 253:0 0 1.1T 0 mpath sdn 8:208 0 1.1T 0 disk └─35000cca07245f5ac 253:6 0 1.1T 0 mpath
-- Tal Bar-or To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
-- Tal Bar-or

Or try to create the vdev on the multipath devices, what does lsblk -s says ? It will show you the top level device to be used.
Le 3 avr. 2018 à 10:53, Staniforth, Paul <P.Staniforth@leedsbeckett.ac.uk> a écrit :
Hello Tal, ZFS is probably detecting a partition table on the disks, you could delete the partition tables on /dev/sda,/dev/sdb ... etc, or you could use the force option of ZFS create making sure they aren't mounted somewhere.
Regards, Paul S. From: users-bounces@ovirt.org <users-bounces@ovirt.org> on behalf of Tal Bar-Or <tbaror@gmail.com> Sent: 25 March 2018 15:54 To: users Subject: [ovirt-users] Issues with ZFS volume creation
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 :
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:
zpool create -m none -o ashift=12 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.
When typing command lsblk I get the following output below, all seems ok, any idea what could be wrong? Please advice Thanks
# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.1T 0 disk └─35000cca07245c0ec 253:2 0 1.1T 0 mpath sdb 8:16 0 1.1T 0 disk └─35000cca072463898 253:10 0 1.1T 0 mpath sdc 8:32 0 1.1T 0 disk └─35000cca0724540e8 253:8 0 1.1T 0 mpath sdd 8:48 0 1.1T 0 disk └─35000cca072451b68 253:7 0 1.1T 0 mpath sde 8:64 0 1.1T 0 disk └─35000cca07245f578 253:3 0 1.1T 0 mpath sdf 8:80 0 1.1T 0 disk └─35000cca07246c568 253:11 0 1.1T 0 mpath sdg 8:96 0 1.1T 0 disk └─35000cca0724620c8 253:12 0 1.1T 0 mpath sdh 8:112 0 1.1T 0 disk └─35000cca07245d2b8 253:13 0 1.1T 0 mpath sdi 8:128 0 1.1T 0 disk └─35000cca07245f0e8 253:4 0 1.1T 0 mpath sdj 8:144 0 1.1T 0 disk └─35000cca072418958 253:5 0 1.1T 0 mpath sdk 8:160 0 1.1T 0 disk └─35000cca072429700 253:1 0 1.1T 0 mpath sdl 8:176 0 1.1T 0 disk └─35000cca07245d848 253:9 0 1.1T 0 mpath sdm 8:192 0 1.1T 0 disk └─35000cca0724625a8 253:0 0 1.1T 0 mpath sdn 8:208 0 1.1T 0 disk └─35000cca07245f5ac 253:6 0 1.1T 0 mpath
-- Tal Bar-or To view the terms under which this email is distributed, please go to:- http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Darrell Budic
-
Fabrice Bacchella
-
Staniforth, Paul
-
Tal Bar-Or