Date: Fri, 19 Jul 2024 10:08:38 +0200 From: Maurizio Vairani <maurizio1018@gmail.com> To: current@freebsd.org Subject: Panic testing ZFS raidz expansion feature. Message-ID: <CAN0zgYV3jj9kL5Kh2_i6%2BunRHas4Jv9j0tiU-NQVE9hHgRCmew@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000965f43061d953489 Content-Type: text/plain; charset="UTF-8" I want to test the ZFS raidz expansion feature. I have create a VM with vm-bhyve: # vm iso https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-20240718-a4469a0d19b6-271237-bootonly.iso # vm create fbsd15-bis I have increased the VM memory to 2G: # cat fbsd15-bis.conf loader="bhyveload" cpu=1 memory=2G network0_type="virtio-net" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" uuid="ff66b6cc-459e-11ef-92b1-c86000cc94af" network0_mac="58:9c:fc:0a:ad:da" # vm install fbsd15-bis FreeBSD-15.0-CURRENT-amd64-20240718-a4469a0d19b6-271237-bootonly.iso After the installation I have create 3 additional disks: in the host: # truncate -s 10G disk1.img # truncate -s 10G disk2.img # truncate -s 10G disk3.img I have added 3 additional disk: # cat fbsd15-bis.conf loader="bhyveload" cpu=1 memory=2G network0_type="virtio-net" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" disk1_type="virtio-blk" disk1_name="disk1.img" disk2_type="virtio-blk" disk2_name="disk2.img" disk3_type="virtio-blk" disk3_name="disk3.img" uuid="ff66b6cc-459e-11ef-92b1-c86000cc94af" network0_mac="58:9c:fc:0a:ad:da" # vm start fbsd15-bis in the VM: # zpool create tank raidz1 vtbd1 vtbd2 # zpool attach tank raidz1-0 vtbd3 panic: VERIFY(vd == vd->vdev_top) failed cpuid = 0 time = 1721375688 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00546d1800 vpanic() at vpanic+0x13f/frame 0xfffffe00546d1930 spl_panic() at spl_panic+0x3a/frame 0xfffffe00546d1990 zio_vdev_io_start() at zio_vdev_io_start+0x637/frame 0xfffffe00546d19e0 zio_nowait() at zio_nowait+0x10c/frame 0xfffffe00546d1a20 vdev_check_boot_reserve() at vdev_check_boot_reserve+0x7a/frame 0xfffffe00546d1a50 spa_vdev_attach() at spa_vdev_attach+0x700/frame 0xfffffe00546d1ad0 zfs_ioc_vdev_attach() at zfs_ioc_vdev_attach+0x75/frame 0xfffffe00546d1b10 zfsdev_ioctl_common() at zfsdev_ioctl_common+0x4f4/frame 0xfffffe00546d1bd0 zfsdev_ioctl() at zfsdev_ioctl+0xfb/frame 0xfffffe00546d1c00 devfs_ioctl() at devfs_ioctl+0xd1/frame 0xfffffe00546d1c50 vn_ioctl() at vn_ioctl+0xbc/frame 0xfffffe00546d1cc0 devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe00546d1ce0 kern_ioctl() at kern_ioctl+0x286/frame 0xfffffe00546d1d40 sys_ioctl() at sys_ioctl+0x12d/frame 0xfffffe00546d1e00 amd64_syscall() at amd64_syscall+0x158/frame 0xfffffe00546d1f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00546d1f30 --- syscall (54, FreeBSD ELF64, ioctl), rip = 0xb2fddfff8fa, rsp = 0xb2fcf7fe8d8, rbp = 0xb2fcf7fe940 --- KDB: enter: panic [ thread pid 958 tid 100176 ] Stopped at kdb_enter+0x33: movq $0,0x1058552(%rip) -- Regards, Maurizio --000000000000965f43061d953489 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I want to test the ZFS raidz expansion feature.<br>I have = create a VM with vm-bhyve:<br># vm iso <a href=3D"https://download.freebsd.= org/snapshots/amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-202407= 18-a4469a0d19b6-271237-bootonly.iso">https://download.freebsd.org/snapshots= /amd64/amd64/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-amd64-20240718-a4469a0d19= b6-271237-bootonly.iso</a><br># vm create fbsd15-bis<br>I have increased th= e VM memory to 2G:<br># cat fbsd15-bis.conf<br>loader=3D"bhyveload&quo= t;<br>cpu=3D1<br>memory=3D2G<br>network0_type=3D"virtio-net"<br>n= etwork0_switch=3D"public"<br>disk0_type=3D"virtio-blk"<= br>disk0_name=3D"disk0.img"<br>uuid=3D"ff66b6cc-459e-11ef-92= b1-c86000cc94af"<br>network0_mac=3D"58:9c:fc:0a:ad:da"<br><b= r># vm install fbsd15-bis FreeBSD-15.0-CURRENT-amd64-20240718-a4469a0d19b6-= 271237-bootonly.iso<br>After the installation I have create 3 additional di= sks:<br>in the host:<br># truncate -s 10G disk1.img<br># truncate -s 10G di= sk2.img<br># truncate -s 10G disk3.img<br>I have added 3 additional disk:<b= r># cat fbsd15-bis.conf<br>loader=3D"bhyveload"<br>cpu=3D1<br>mem= ory=3D2G<br>network0_type=3D"virtio-net"<br>network0_switch=3D&qu= ot;public"<br>disk0_type=3D"virtio-blk"<br>disk0_name=3D&quo= t;disk0.img"<br>disk1_type=3D"virtio-blk"<br>disk1_name=3D&q= uot;disk1.img"<br>disk2_type=3D"virtio-blk"<br>disk2_name=3D= "disk2.img"<br>disk3_type=3D"virtio-blk"<br>disk3_name= =3D"disk3.img"<br>uuid=3D"ff66b6cc-459e-11ef-92b1-c86000cc94= af"<br>network0_mac=3D"58:9c:fc:0a:ad:da"<br># vm start fbsd= 15-bis<br><br>in the VM:<br># zpool create tank raidz1 vtbd1 vtbd2<br># zpo= ol attach tank raidz1-0 vtbd3<br>panic: VERIFY(vd =3D=3D vd->vdev_top) f= ailed<br><br>cpuid =3D 0<br>time =3D 1721375688<br>KDB: stack backtrace:<br= >db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00546d= 1800<br>vpanic() at vpanic+0x13f/frame 0xfffffe00546d1930<br>spl_panic() at= spl_panic+0x3a/frame 0xfffffe00546d1990<br>zio_vdev_io_start() at zio_vdev= _io_start+0x637/frame 0xfffffe00546d19e0<br>zio_nowait() at zio_nowait+0x10= c/frame 0xfffffe00546d1a20<br>vdev_check_boot_reserve() at vdev_check_boot_= reserve+0x7a/frame 0xfffffe00546d1a50<br>spa_vdev_attach() at spa_vdev_atta= ch+0x700/frame 0xfffffe00546d1ad0<br>zfs_ioc_vdev_attach() at zfs_ioc_vdev_= attach+0x75/frame 0xfffffe00546d1b10<br>zfsdev_ioctl_common() at zfsdev_ioc= tl_common+0x4f4/frame 0xfffffe00546d1bd0<br>zfsdev_ioctl() at zfsdev_ioctl+= 0xfb/frame 0xfffffe00546d1c00<br>devfs_ioctl() at devfs_ioctl+0xd1/frame 0x= fffffe00546d1c50<br>vn_ioctl() at vn_ioctl+0xbc/frame 0xfffffe00546d1cc0<br= >devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe00546d1ce0<br>kern_ioc= tl() at kern_ioctl+0x286/frame 0xfffffe00546d1d40<br>sys_ioctl() at sys_ioc= tl+0x12d/frame 0xfffffe00546d1e00<br>amd64_syscall() at amd64_syscall+0x158= /frame 0xfffffe00546d1f30<br>fast_syscall_common() at fast_syscall_common+0= xf8/frame 0xfffffe00546d1f30<br>--- syscall (54, FreeBSD ELF64, ioctl), rip= =3D 0xb2fddfff8fa, rsp =3D 0xb2fcf7fe8d8, rbp =3D 0xb2fcf7fe940 ---<br>KDB= : enter: panic<br>[ thread pid 958 tid 100176 ]<br><div>Stopped at =C2=A0 = =C2=A0 =C2=A0kdb_enter+0x33: movq =C2=A0 =C2=A0$0,0x1058552(%rip)</div><div= ><br></div><div>--</div><div>Regards,<br></div><div>Maurizio<br></div><br><= /div> --000000000000965f43061d953489--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN0zgYV3jj9kL5Kh2_i6%2BunRHas4Jv9j0tiU-NQVE9hHgRCmew>