{"id":2779,"date":"2024-03-02T18:14:51","date_gmt":"2024-03-02T23:14:51","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=2779"},"modified":"2024-03-02T18:14:52","modified_gmt":"2024-03-02T23:14:52","slug":"lvm-to-zfs-migration","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2024\/03\/02\/lvm-to-zfs-migration\/","title":{"rendered":"LVM to ZFS Migration"},"content":{"rendered":"\n<p>In a previous <a href=\"https:\/\/blog.lufamily.ca\/kang\/2024\/02\/15\/media-server-storage-hardware-reconfiguration\/\" data-type=\"post\" data-id=\"2762\" target=\"_blank\" rel=\"noreferrer noopener\">post<\/a>, I described the hardware changes that I made to facilitate additional drive slots on my NAS Media Server.<\/p>\n\n\n\n<p>We now need to migrate from an LVM system consisting of 40TB of redundant mirrored storage using <code>mdadm<\/code> to a ZFS system consisting of a single pool and a dataset. Below is a diagram depicting the logical layout of the old and the intended new system.<\/p>\n\n\n\n<center>\n<svg\n  xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n  xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\"\n  version=\"1.1\"\n  width=\"500px\"\n  height=\"650px\"\n  viewBox=\"-0.5 -0.5 691 891\"\n>\n  <defs \/>\n  <g>\n    <rect\n      x=\"0\"\n      y=\"0\"\n      width=\"690\"\n      height=\"890\"\n      fill=\"#eeeeee\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"20\"\n      y=\"200\"\n      width=\"650\"\n      height=\"180\"\n      fill=\"#f5f5f5\"\n      stroke=\"rgb(240, 240, 240)\"\n      stroke-width=\"5\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"20\"\n      y=\"130\"\n      width=\"650\"\n      height=\"60\"\n      rx=\"9\"\n      ry=\"9\"\n      fill=\"#f5f5f5\"\n      stroke=\"#666666\"\n      stroke-width=\"3\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 648px;\n              height: 1px;\n              padding-top: 160px;\n              margin-left: 21px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #333333; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(51, 51, 51);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                40TB of Redundant Storage\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"345\"\n          y=\"165\"\n          fill=\"#333333\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n          text-anchor=\"middle\"\n        >\n          40TB of Redundant Storage\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"130\"\n      width=\"130\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 128px;\n              height: 1px;\n              padding-top: 145px;\n              margin-left: 21px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: rgb(240, 240, 240); \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(240, 240, 240);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                Logical Volume (LV)\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"85\"\n          y=\"149\"\n          fill=\"rgb(240, 240, 240)\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          Logical Volume (LV)\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"60\"\n      width=\"650\"\n      height=\"60\"\n      rx=\"9\"\n      ry=\"9\"\n      fill=\"#f5f5f5\"\n      stroke=\"#666666\"\n      stroke-width=\"3\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 648px;\n              height: 1px;\n              padding-top: 90px;\n              margin-left: 21px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #333333; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(51, 51, 51);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                EXT 4 File System for Media Storage\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"345\"\n          y=\"95\"\n          fill=\"#333333\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n          text-anchor=\"middle\"\n        >\n          EXT 4 File System for Media Storage\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"20\"\n      width=\"210\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe flex-start;\n              width: 208px;\n              height: 1px;\n              padding-top: 35px;\n              margin-left: 22px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: left\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  font-weight: bold;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                Old Storage System\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"22\"\n          y=\"40\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n          font-weight=\"bold\"\n        >\n          Old Storage System\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"470\"\n      width=\"650\"\n      height=\"60\"\n      rx=\"9\"\n      ry=\"9\"\n      fill=\"#f5f5f5\"\n      stroke=\"#666666\"\n      stroke-width=\"3\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 648px;\n              height: 1px;\n              padding-top: 500px;\n              margin-left: 21px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #333333; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(51, 51, 51);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                50TB of Redundant Storage\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"345\"\n          y=\"505\"\n          fill=\"#333333\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n          text-anchor=\"middle\"\n        >\n          50TB of Redundant Storage\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"30\"\n      y=\"475\"\n      width=\"130\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe flex-start;\n              width: 128px;\n              height: 1px;\n              padding-top: 490px;\n              margin-left: 32px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: rgb(240, 240, 240); \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: left\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(240, 240, 240);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                ZFS Dataset\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"32\"\n          y=\"494\"\n          fill=\"rgb(240, 240, 240)\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n        >\n          ZFS Dataset\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"430\"\n      width=\"210\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe flex-start;\n              width: 208px;\n              height: 1px;\n              padding-top: 445px;\n              margin-left: 22px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: left\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  font-weight: bold;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                New Storage System\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"22\"\n          y=\"450\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n          font-weight=\"bold\"\n        >\n          New Storage System\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"20\"\n      y=\"200\"\n      width=\"650\"\n      height=\"180\"\n      rx=\"7.2\"\n      ry=\"7.2\"\n      fill=\"#f5f5f5\"\n      stroke=\"#666666\"\n      stroke-width=\"3\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"30\"\n      y=\"210\"\n      width=\"280\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe flex-start;\n              width: 278px;\n              height: 1px;\n              padding-top: 225px;\n              margin-left: 32px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: left\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                LV Group of 4 Physical Volumes (PV)\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"32\"\n          y=\"230\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n        >\n          LV Group of 4 Physical Volumes (PV)\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"350\"\n      y=\"250\"\n      width=\"140\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"445\"\n      y=\"250\"\n      width=\"60\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 58px;\n              height: 1px;\n              padding-top: 265px;\n              margin-left: 446px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                PV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"475\"\n          y=\"269\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          PV\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"372.5\"\n      y=\"323\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 338px;\n              margin-left: 374px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                10TB<br \/>mdadm mirror\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"420\"\n          y=\"342\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          10TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"367.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 383.29 300.5 C 384.62 300.89 385.99 301.02 387.44 301.02 C 397.57 301.02 405.07 292.79 405.07 283.14 C 405.07 274.77 398.56 265.46 387.19 265.46 C 378.18 265.46 369.92 272.89 369.92 283.7 C 370.28 289.73 372.78 294.04 376.69 297.2 L 382.34 290.61 L 386.2 293.01 Z M 371.08 317 C 369.48 317 367.5 315.66 367.5 313.11 L 367.5 266.96 C 367.5 264.73 369.19 263 371.23 263 L 403.71 263 C 406.2 263 407.5 265.18 407.5 266.76 L 407.5 313.13 C 407.5 315.34 405.67 317 403.83 317 Z M 371.03 306.06 C 370.32 307.15 369.88 308.02 369.88 309.08 C 369.88 311.68 371.98 313.31 373.89 313.31 C 376.01 313.31 377.25 312.07 378.07 310.31 L 384.35 293.68 L 382.56 292.63 Z M 373.9 311.23 C 372.96 311.23 372.32 310.44 372.32 309.71 C 372.32 308.5 373.34 308.07 373.82 308.07 C 375.03 308.07 375.44 309.09 375.44 309.63 C 375.44 310.55 374.7 311.23 373.9 311.23 Z M 387.41 288.79 C 384.23 288.79 381.97 286.05 381.97 283.38 C 381.97 279.98 384.59 277.7 387.3 277.7 C 390.6 277.65 393.06 280.28 392.95 283.39 C 392.95 286.18 390.64 288.79 387.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"417.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 433.29 300.5 C 434.62 300.89 435.99 301.02 437.44 301.02 C 447.57 301.02 455.07 292.79 455.07 283.14 C 455.07 274.77 448.56 265.46 437.19 265.46 C 428.18 265.46 419.92 272.89 419.92 283.7 C 420.28 289.73 422.78 294.04 426.69 297.2 L 432.34 290.61 L 436.2 293.01 Z M 421.08 317 C 419.48 317 417.5 315.66 417.5 313.11 L 417.5 266.96 C 417.5 264.73 419.19 263 421.23 263 L 453.71 263 C 456.2 263 457.5 265.18 457.5 266.76 L 457.5 313.13 C 457.5 315.34 455.67 317 453.83 317 Z M 421.03 306.06 C 420.32 307.15 419.88 308.02 419.88 309.08 C 419.88 311.68 421.98 313.31 423.89 313.31 C 426.01 313.31 427.25 312.07 428.07 310.31 L 434.35 293.68 L 432.56 292.63 Z M 423.9 311.23 C 422.96 311.23 422.32 310.44 422.32 309.71 C 422.32 308.5 423.34 308.07 423.82 308.07 C 425.03 308.07 425.44 309.09 425.44 309.63 C 425.44 310.55 424.7 311.23 423.9 311.23 Z M 437.41 288.79 C 434.23 288.79 431.97 286.05 431.97 283.38 C 431.97 279.98 434.59 277.7 437.3 277.7 C 440.6 277.65 443.06 280.28 442.95 283.39 C 442.95 286.18 440.64 288.79 437.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"505\"\n      y=\"250\"\n      width=\"140\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"600\"\n      y=\"250\"\n      width=\"60\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 58px;\n              height: 1px;\n              padding-top: 265px;\n              margin-left: 601px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                PV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"630\"\n          y=\"269\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          PV\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"527.5\"\n      y=\"323\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 338px;\n              margin-left: 529px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                8TB<br \/>mdadm mirror\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"575\"\n          y=\"342\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          8TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"522.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 538.29 300.5 C 539.62 300.89 540.99 301.02 542.44 301.02 C 552.57 301.02 560.07 292.79 560.07 283.14 C 560.07 274.77 553.56 265.46 542.19 265.46 C 533.18 265.46 524.92 272.89 524.92 283.7 C 525.28 289.73 527.78 294.04 531.69 297.2 L 537.34 290.61 L 541.2 293.01 Z M 526.08 317 C 524.48 317 522.5 315.66 522.5 313.11 L 522.5 266.96 C 522.5 264.73 524.19 263 526.23 263 L 558.71 263 C 561.2 263 562.5 265.18 562.5 266.76 L 562.5 313.13 C 562.5 315.34 560.67 317 558.83 317 Z M 526.03 306.06 C 525.32 307.15 524.88 308.02 524.88 309.08 C 524.88 311.68 526.98 313.31 528.89 313.31 C 531.01 313.31 532.25 312.07 533.07 310.31 L 539.35 293.68 L 537.56 292.63 Z M 528.9 311.23 C 527.96 311.23 527.32 310.44 527.32 309.71 C 527.32 308.5 528.34 308.07 528.82 308.07 C 530.03 308.07 530.44 309.09 530.44 309.63 C 530.44 310.55 529.7 311.23 528.9 311.23 Z M 542.41 288.79 C 539.23 288.79 536.97 286.05 536.97 283.38 C 536.97 279.98 539.59 277.7 542.3 277.7 C 545.6 277.65 548.06 280.28 547.95 283.39 C 547.95 286.18 545.64 288.79 542.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"572.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 588.29 300.5 C 589.62 300.89 590.99 301.02 592.44 301.02 C 602.57 301.02 610.07 292.79 610.07 283.14 C 610.07 274.77 603.56 265.46 592.19 265.46 C 583.18 265.46 574.92 272.89 574.92 283.7 C 575.28 289.73 577.78 294.04 581.69 297.2 L 587.34 290.61 L 591.2 293.01 Z M 576.08 317 C 574.48 317 572.5 315.66 572.5 313.11 L 572.5 266.96 C 572.5 264.73 574.19 263 576.23 263 L 608.71 263 C 611.2 263 612.5 265.18 612.5 266.76 L 612.5 313.13 C 612.5 315.34 610.67 317 608.83 317 Z M 576.03 306.06 C 575.32 307.15 574.88 308.02 574.88 309.08 C 574.88 311.68 576.98 313.31 578.89 313.31 C 581.01 313.31 582.25 312.07 583.07 310.31 L 589.35 293.68 L 587.56 292.63 Z M 578.9 311.23 C 577.96 311.23 577.32 310.44 577.32 309.71 C 577.32 308.5 578.34 308.07 578.82 308.07 C 580.03 308.07 580.44 309.09 580.44 309.63 C 580.44 310.55 579.7 311.23 578.9 311.23 Z M 592.41 288.79 C 589.23 288.79 586.97 286.05 586.97 283.38 C 586.97 279.98 589.59 277.7 592.3 277.7 C 595.6 277.65 598.06 280.28 597.95 283.39 C 597.95 286.18 595.64 288.79 592.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"195\"\n      y=\"250\"\n      width=\"140\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"290\"\n      y=\"250\"\n      width=\"60\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 58px;\n              height: 1px;\n              padding-top: 265px;\n              margin-left: 291px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                PV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"320\"\n          y=\"269\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          PV\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"217.5\"\n      y=\"323\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 338px;\n              margin-left: 219px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                10TB<br \/>mdadm mirror\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"265\"\n          y=\"342\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          10TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"212.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 228.29 300.5 C 229.62 300.89 230.99 301.02 232.44 301.02 C 242.57 301.02 250.07 292.79 250.07 283.14 C 250.07 274.77 243.56 265.46 232.19 265.46 C 223.18 265.46 214.92 272.89 214.92 283.7 C 215.28 289.73 217.78 294.04 221.69 297.2 L 227.34 290.61 L 231.2 293.01 Z M 216.08 317 C 214.48 317 212.5 315.66 212.5 313.11 L 212.5 266.96 C 212.5 264.73 214.19 263 216.23 263 L 248.71 263 C 251.2 263 252.5 265.18 252.5 266.76 L 252.5 313.13 C 252.5 315.34 250.67 317 248.83 317 Z M 216.03 306.06 C 215.32 307.15 214.88 308.02 214.88 309.08 C 214.88 311.68 216.98 313.31 218.89 313.31 C 221.01 313.31 222.25 312.07 223.07 310.31 L 229.35 293.68 L 227.56 292.63 Z M 218.9 311.23 C 217.96 311.23 217.32 310.44 217.32 309.71 C 217.32 308.5 218.34 308.07 218.82 308.07 C 220.03 308.07 220.44 309.09 220.44 309.63 C 220.44 310.55 219.7 311.23 218.9 311.23 Z M 232.41 288.79 C 229.23 288.79 226.97 286.05 226.97 283.38 C 226.97 279.98 229.59 277.7 232.3 277.7 C 235.6 277.65 238.06 280.28 237.95 283.39 C 237.95 286.18 235.64 288.79 232.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"262.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 278.29 300.5 C 279.62 300.89 280.99 301.02 282.44 301.02 C 292.57 301.02 300.07 292.79 300.07 283.14 C 300.07 274.77 293.56 265.46 282.19 265.46 C 273.18 265.46 264.92 272.89 264.92 283.7 C 265.28 289.73 267.78 294.04 271.69 297.2 L 277.34 290.61 L 281.2 293.01 Z M 266.08 317 C 264.48 317 262.5 315.66 262.5 313.11 L 262.5 266.96 C 262.5 264.73 264.19 263 266.23 263 L 298.71 263 C 301.2 263 302.5 265.18 302.5 266.76 L 302.5 313.13 C 302.5 315.34 300.67 317 298.83 317 Z M 266.03 306.06 C 265.32 307.15 264.88 308.02 264.88 309.08 C 264.88 311.68 266.98 313.31 268.89 313.31 C 271.01 313.31 272.25 312.07 273.07 310.31 L 279.35 293.68 L 277.56 292.63 Z M 268.9 311.23 C 267.96 311.23 267.32 310.44 267.32 309.71 C 267.32 308.5 268.34 308.07 268.82 308.07 C 270.03 308.07 270.44 309.09 270.44 309.63 C 270.44 310.55 269.7 311.23 268.9 311.23 Z M 282.41 288.79 C 279.23 288.79 276.97 286.05 276.97 283.38 C 276.97 279.98 279.59 277.7 282.3 277.7 C 285.6 277.65 288.06 280.28 287.95 283.39 C 287.95 286.18 285.64 288.79 282.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"40\"\n      y=\"250\"\n      width=\"140\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"135\"\n      y=\"250\"\n      width=\"60\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 58px;\n              height: 1px;\n              padding-top: 265px;\n              margin-left: 136px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                PV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"165\"\n          y=\"269\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          PV\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"62.5\"\n      y=\"323\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 338px;\n              margin-left: 64px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                12TB<br \/>mdadm mirror\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"110\"\n          y=\"342\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          12TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"57.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 73.29 300.5 C 74.62 300.89 75.99 301.02 77.44 301.02 C 87.57 301.02 95.07 292.79 95.07 283.14 C 95.07 274.77 88.56 265.46 77.19 265.46 C 68.18 265.46 59.92 272.89 59.92 283.7 C 60.28 289.73 62.78 294.04 66.69 297.2 L 72.34 290.61 L 76.2 293.01 Z M 61.08 317 C 59.48 317 57.5 315.66 57.5 313.11 L 57.5 266.96 C 57.5 264.73 59.19 263 61.23 263 L 93.71 263 C 96.2 263 97.5 265.18 97.5 266.76 L 97.5 313.13 C 97.5 315.34 95.67 317 93.83 317 Z M 61.03 306.06 C 60.32 307.15 59.88 308.02 59.88 309.08 C 59.88 311.68 61.98 313.31 63.89 313.31 C 66.01 313.31 67.25 312.07 68.07 310.31 L 74.35 293.68 L 72.56 292.63 Z M 63.9 311.23 C 62.96 311.23 62.32 310.44 62.32 309.71 C 62.32 308.5 63.34 308.07 63.82 308.07 C 65.03 308.07 65.44 309.09 65.44 309.63 C 65.44 310.55 64.7 311.23 63.9 311.23 Z M 77.41 288.79 C 74.23 288.79 71.97 286.05 71.97 283.38 C 71.97 279.98 74.59 277.7 77.3 277.7 C 80.6 277.65 83.06 280.28 82.95 283.39 C 82.95 286.18 80.64 288.79 77.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"107.5\"\n      y=\"263\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 123.29 300.5 C 124.62 300.89 125.99 301.02 127.44 301.02 C 137.57 301.02 145.07 292.79 145.07 283.14 C 145.07 274.77 138.56 265.46 127.19 265.46 C 118.18 265.46 109.92 272.89 109.92 283.7 C 110.28 289.73 112.78 294.04 116.69 297.2 L 122.34 290.61 L 126.2 293.01 Z M 111.08 317 C 109.48 317 107.5 315.66 107.5 313.11 L 107.5 266.96 C 107.5 264.73 109.19 263 111.23 263 L 143.71 263 C 146.2 263 147.5 265.18 147.5 266.76 L 147.5 313.13 C 147.5 315.34 145.67 317 143.83 317 Z M 111.03 306.06 C 110.32 307.15 109.88 308.02 109.88 309.08 C 109.88 311.68 111.98 313.31 113.89 313.31 C 116.01 313.31 117.25 312.07 118.07 310.31 L 124.35 293.68 L 122.56 292.63 Z M 113.9 311.23 C 112.96 311.23 112.32 310.44 112.32 309.71 C 112.32 308.5 113.34 308.07 113.82 308.07 C 115.03 308.07 115.44 309.09 115.44 309.63 C 115.44 310.55 114.7 311.23 113.9 311.23 Z M 127.41 288.79 C 124.23 288.79 121.97 286.05 121.97 283.38 C 121.97 279.98 124.59 277.7 127.3 277.7 C 130.6 277.65 133.06 280.28 132.95 283.39 C 132.95 286.18 130.64 288.79 127.41 288.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"20\"\n      y=\"540\"\n      width=\"650\"\n      height=\"310\"\n      rx=\"9.3\"\n      ry=\"9.3\"\n      fill=\"#f5f5f5\"\n      stroke=\"#666666\"\n      stroke-width=\"3\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"30\"\n      y=\"550\"\n      width=\"210\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe flex-start;\n              width: 208px;\n              height: 1px;\n              padding-top: 565px;\n              margin-left: 32px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: left\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 16px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                ZFS Pool\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"32\"\n          y=\"570\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"16px\"\n        >\n          ZFS Pool\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"40\"\n      y=\"590\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"47.5\"\n      y=\"663\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 678px;\n              margin-left: 49px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                12TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"95\"\n          y=\"682\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          12TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"50\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 65.79 637.5 C 67.12 637.89 68.49 638.02 69.94 638.02 C 80.07 638.02 87.57 629.79 87.57 620.14 C 87.57 611.77 81.06 602.46 69.69 602.46 C 60.68 602.46 52.42 609.89 52.42 620.7 C 52.78 626.73 55.28 631.04 59.19 634.2 L 64.84 627.61 L 68.7 630.01 Z M 53.58 654 C 51.98 654 50 652.66 50 650.11 L 50 603.96 C 50 601.73 51.69 600 53.73 600 L 86.21 600 C 88.7 600 90 602.18 90 603.76 L 90 650.13 C 90 652.34 88.17 654 86.33 654 Z M 53.53 643.06 C 52.82 644.15 52.38 645.02 52.38 646.08 C 52.38 648.68 54.48 650.31 56.39 650.31 C 58.51 650.31 59.75 649.07 60.57 647.31 L 66.85 630.68 L 65.06 629.63 Z M 56.4 648.23 C 55.46 648.23 54.82 647.44 54.82 646.71 C 54.82 645.5 55.84 645.07 56.32 645.07 C 57.53 645.07 57.94 646.09 57.94 646.63 C 57.94 647.55 57.2 648.23 56.4 648.23 Z M 69.91 625.79 C 66.73 625.79 64.47 623.05 64.47 620.38 C 64.47 616.98 67.09 614.7 69.8 614.7 C 73.1 614.65 75.56 617.28 75.45 620.39 C 75.45 623.18 73.14 625.79 69.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"100\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 115.79 637.5 C 117.12 637.89 118.49 638.02 119.94 638.02 C 130.07 638.02 137.57 629.79 137.57 620.14 C 137.57 611.77 131.06 602.46 119.69 602.46 C 110.68 602.46 102.42 609.89 102.42 620.7 C 102.78 626.73 105.28 631.04 109.19 634.2 L 114.84 627.61 L 118.7 630.01 Z M 103.58 654 C 101.98 654 100 652.66 100 650.11 L 100 603.96 C 100 601.73 101.69 600 103.73 600 L 136.21 600 C 138.7 600 140 602.18 140 603.76 L 140 650.13 C 140 652.34 138.17 654 136.33 654 Z M 103.53 643.06 C 102.82 644.15 102.38 645.02 102.38 646.08 C 102.38 648.68 104.48 650.31 106.39 650.31 C 108.51 650.31 109.75 649.07 110.57 647.31 L 116.85 630.68 L 115.06 629.63 Z M 106.4 648.23 C 105.46 648.23 104.82 647.44 104.82 646.71 C 104.82 645.5 105.84 645.07 106.32 645.07 C 107.53 645.07 107.94 646.09 107.94 646.63 C 107.94 647.55 107.2 648.23 106.4 648.23 Z M 119.91 625.79 C 116.73 625.79 114.47 623.05 114.47 620.38 C 114.47 616.98 117.09 614.7 119.8 614.7 C 123.1 614.65 125.56 617.28 125.45 620.39 C 125.45 623.18 123.14 625.79 119.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"210\"\n      y=\"590\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"217.5\"\n      y=\"663\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 678px;\n              margin-left: 219px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                10TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"265\"\n          y=\"682\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          10TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"220\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 235.79 637.5 C 237.12 637.89 238.49 638.02 239.94 638.02 C 250.07 638.02 257.57 629.79 257.57 620.14 C 257.57 611.77 251.06 602.46 239.69 602.46 C 230.68 602.46 222.42 609.89 222.42 620.7 C 222.78 626.73 225.28 631.04 229.19 634.2 L 234.84 627.61 L 238.7 630.01 Z M 223.58 654 C 221.98 654 220 652.66 220 650.11 L 220 603.96 C 220 601.73 221.69 600 223.73 600 L 256.21 600 C 258.7 600 260 602.18 260 603.76 L 260 650.13 C 260 652.34 258.17 654 256.33 654 Z M 223.53 643.06 C 222.82 644.15 222.38 645.02 222.38 646.08 C 222.38 648.68 224.48 650.31 226.39 650.31 C 228.51 650.31 229.75 649.07 230.57 647.31 L 236.85 630.68 L 235.06 629.63 Z M 226.4 648.23 C 225.46 648.23 224.82 647.44 224.82 646.71 C 224.82 645.5 225.84 645.07 226.32 645.07 C 227.53 645.07 227.94 646.09 227.94 646.63 C 227.94 647.55 227.2 648.23 226.4 648.23 Z M 239.91 625.79 C 236.73 625.79 234.47 623.05 234.47 620.38 C 234.47 616.98 237.09 614.7 239.8 614.7 C 243.1 614.65 245.56 617.28 245.45 620.39 C 245.45 623.18 243.14 625.79 239.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"270\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 285.79 637.5 C 287.12 637.89 288.49 638.02 289.94 638.02 C 300.07 638.02 307.57 629.79 307.57 620.14 C 307.57 611.77 301.06 602.46 289.69 602.46 C 280.68 602.46 272.42 609.89 272.42 620.7 C 272.78 626.73 275.28 631.04 279.19 634.2 L 284.84 627.61 L 288.7 630.01 Z M 273.58 654 C 271.98 654 270 652.66 270 650.11 L 270 603.96 C 270 601.73 271.69 600 273.73 600 L 306.21 600 C 308.7 600 310 602.18 310 603.76 L 310 650.13 C 310 652.34 308.17 654 306.33 654 Z M 273.53 643.06 C 272.82 644.15 272.38 645.02 272.38 646.08 C 272.38 648.68 274.48 650.31 276.39 650.31 C 278.51 650.31 279.75 649.07 280.57 647.31 L 286.85 630.68 L 285.06 629.63 Z M 276.4 648.23 C 275.46 648.23 274.82 647.44 274.82 646.71 C 274.82 645.5 275.84 645.07 276.32 645.07 C 277.53 645.07 277.94 646.09 277.94 646.63 C 277.94 647.55 277.2 648.23 276.4 648.23 Z M 289.91 625.79 C 286.73 625.79 284.47 623.05 284.47 620.38 C 284.47 616.98 287.09 614.7 289.8 614.7 C 293.1 614.65 295.56 617.28 295.45 620.39 C 295.45 623.18 293.14 625.79 289.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"540\"\n      y=\"590\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"547.5\"\n      y=\"663\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 678px;\n              margin-left: 549px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                8TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"595\"\n          y=\"682\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          8TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"550\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 565.79 637.5 C 567.12 637.89 568.49 638.02 569.94 638.02 C 580.07 638.02 587.57 629.79 587.57 620.14 C 587.57 611.77 581.06 602.46 569.69 602.46 C 560.68 602.46 552.42 609.89 552.42 620.7 C 552.78 626.73 555.28 631.04 559.19 634.2 L 564.84 627.61 L 568.7 630.01 Z M 553.58 654 C 551.98 654 550 652.66 550 650.11 L 550 603.96 C 550 601.73 551.69 600 553.73 600 L 586.21 600 C 588.7 600 590 602.18 590 603.76 L 590 650.13 C 590 652.34 588.17 654 586.33 654 Z M 553.53 643.06 C 552.82 644.15 552.38 645.02 552.38 646.08 C 552.38 648.68 554.48 650.31 556.39 650.31 C 558.51 650.31 559.75 649.07 560.57 647.31 L 566.85 630.68 L 565.06 629.63 Z M 556.4 648.23 C 555.46 648.23 554.82 647.44 554.82 646.71 C 554.82 645.5 555.84 645.07 556.32 645.07 C 557.53 645.07 557.94 646.09 557.94 646.63 C 557.94 647.55 557.2 648.23 556.4 648.23 Z M 569.91 625.79 C 566.73 625.79 564.47 623.05 564.47 620.38 C 564.47 616.98 567.09 614.7 569.8 614.7 C 573.1 614.65 575.56 617.28 575.45 620.39 C 575.45 623.18 573.14 625.79 569.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"600\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 615.79 637.5 C 617.12 637.89 618.49 638.02 619.94 638.02 C 630.07 638.02 637.57 629.79 637.57 620.14 C 637.57 611.77 631.06 602.46 619.69 602.46 C 610.68 602.46 602.42 609.89 602.42 620.7 C 602.78 626.73 605.28 631.04 609.19 634.2 L 614.84 627.61 L 618.7 630.01 Z M 603.58 654 C 601.98 654 600 652.66 600 650.11 L 600 603.96 C 600 601.73 601.69 600 603.73 600 L 636.21 600 C 638.7 600 640 602.18 640 603.76 L 640 650.13 C 640 652.34 638.17 654 636.33 654 Z M 603.53 643.06 C 602.82 644.15 602.38 645.02 602.38 646.08 C 602.38 648.68 604.48 650.31 606.39 650.31 C 608.51 650.31 609.75 649.07 610.57 647.31 L 616.85 630.68 L 615.06 629.63 Z M 606.4 648.23 C 605.46 648.23 604.82 647.44 604.82 646.71 C 604.82 645.5 605.84 645.07 606.32 645.07 C 607.53 645.07 607.94 646.09 607.94 646.63 C 607.94 647.55 607.2 648.23 606.4 648.23 Z M 619.91 625.79 C 616.73 625.79 614.47 623.05 614.47 620.38 C 614.47 616.98 617.09 614.7 619.8 614.7 C 623.1 614.65 625.56 617.28 625.45 620.39 C 625.45 623.18 623.14 625.79 619.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"380\"\n      y=\"590\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"387.5\"\n      y=\"663\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 678px;\n              margin-left: 389px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                10TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"435\"\n          y=\"682\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          10TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"390\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 405.79 637.5 C 407.12 637.89 408.49 638.02 409.94 638.02 C 420.07 638.02 427.57 629.79 427.57 620.14 C 427.57 611.77 421.06 602.46 409.69 602.46 C 400.68 602.46 392.42 609.89 392.42 620.7 C 392.78 626.73 395.28 631.04 399.19 634.2 L 404.84 627.61 L 408.7 630.01 Z M 393.58 654 C 391.98 654 390 652.66 390 650.11 L 390 603.96 C 390 601.73 391.69 600 393.73 600 L 426.21 600 C 428.7 600 430 602.18 430 603.76 L 430 650.13 C 430 652.34 428.17 654 426.33 654 Z M 393.53 643.06 C 392.82 644.15 392.38 645.02 392.38 646.08 C 392.38 648.68 394.48 650.31 396.39 650.31 C 398.51 650.31 399.75 649.07 400.57 647.31 L 406.85 630.68 L 405.06 629.63 Z M 396.4 648.23 C 395.46 648.23 394.82 647.44 394.82 646.71 C 394.82 645.5 395.84 645.07 396.32 645.07 C 397.53 645.07 397.94 646.09 397.94 646.63 C 397.94 647.55 397.2 648.23 396.4 648.23 Z M 409.91 625.79 C 406.73 625.79 404.47 623.05 404.47 620.38 C 404.47 616.98 407.09 614.7 409.8 614.7 C 413.1 614.65 415.56 617.28 415.45 620.39 C 415.45 623.18 413.14 625.79 409.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"440\"\n      y=\"600\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 455.79 637.5 C 457.12 637.89 458.49 638.02 459.94 638.02 C 470.07 638.02 477.57 629.79 477.57 620.14 C 477.57 611.77 471.06 602.46 459.69 602.46 C 450.68 602.46 442.42 609.89 442.42 620.7 C 442.78 626.73 445.28 631.04 449.19 634.2 L 454.84 627.61 L 458.7 630.01 Z M 443.58 654 C 441.98 654 440 652.66 440 650.11 L 440 603.96 C 440 601.73 441.69 600 443.73 600 L 476.21 600 C 478.7 600 480 602.18 480 603.76 L 480 650.13 C 480 652.34 478.17 654 476.33 654 Z M 443.53 643.06 C 442.82 644.15 442.38 645.02 442.38 646.08 C 442.38 648.68 444.48 650.31 446.39 650.31 C 448.51 650.31 449.75 649.07 450.57 647.31 L 456.85 630.68 L 455.06 629.63 Z M 446.4 648.23 C 445.46 648.23 444.82 647.44 444.82 646.71 C 444.82 645.5 445.84 645.07 446.32 645.07 C 447.53 645.07 447.94 646.09 447.94 646.63 C 447.94 647.55 447.2 648.23 446.4 648.23 Z M 459.91 625.79 C 456.73 625.79 454.47 623.05 454.47 620.38 C 454.47 616.98 457.09 614.7 459.8 614.7 C 463.1 614.65 465.56 617.28 465.45 620.39 C 465.45 623.18 463.14 625.79 459.91 625.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"125\"\n      y=\"720\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"132.5\"\n      y=\"793\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 808px;\n              margin-left: 134px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                6TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"180\"\n          y=\"812\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          6TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"135\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 150.79 767.5 C 152.12 767.89 153.49 768.02 154.94 768.02 C 165.07 768.02 172.57 759.79 172.57 750.14 C 172.57 741.77 166.06 732.46 154.69 732.46 C 145.68 732.46 137.42 739.89 137.42 750.7 C 137.78 756.73 140.28 761.04 144.19 764.2 L 149.84 757.61 L 153.7 760.01 Z M 138.58 784 C 136.98 784 135 782.66 135 780.11 L 135 733.96 C 135 731.73 136.69 730 138.73 730 L 171.21 730 C 173.7 730 175 732.18 175 733.76 L 175 780.13 C 175 782.34 173.17 784 171.33 784 Z M 138.53 773.06 C 137.82 774.15 137.38 775.02 137.38 776.08 C 137.38 778.68 139.48 780.31 141.39 780.31 C 143.51 780.31 144.75 779.07 145.57 777.31 L 151.85 760.68 L 150.06 759.63 Z M 141.4 778.23 C 140.46 778.23 139.82 777.44 139.82 776.71 C 139.82 775.5 140.84 775.07 141.32 775.07 C 142.53 775.07 142.94 776.09 142.94 776.63 C 142.94 777.55 142.2 778.23 141.4 778.23 Z M 154.91 755.79 C 151.73 755.79 149.47 753.05 149.47 750.38 C 149.47 746.98 152.09 744.7 154.8 744.7 C 158.1 744.65 160.56 747.28 160.45 750.39 C 160.45 753.18 158.14 755.79 154.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"185\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 200.79 767.5 C 202.12 767.89 203.49 768.02 204.94 768.02 C 215.07 768.02 222.57 759.79 222.57 750.14 C 222.57 741.77 216.06 732.46 204.69 732.46 C 195.68 732.46 187.42 739.89 187.42 750.7 C 187.78 756.73 190.28 761.04 194.19 764.2 L 199.84 757.61 L 203.7 760.01 Z M 188.58 784 C 186.98 784 185 782.66 185 780.11 L 185 733.96 C 185 731.73 186.69 730 188.73 730 L 221.21 730 C 223.7 730 225 732.18 225 733.76 L 225 780.13 C 225 782.34 223.17 784 221.33 784 Z M 188.53 773.06 C 187.82 774.15 187.38 775.02 187.38 776.08 C 187.38 778.68 189.48 780.31 191.39 780.31 C 193.51 780.31 194.75 779.07 195.57 777.31 L 201.85 760.68 L 200.06 759.63 Z M 191.4 778.23 C 190.46 778.23 189.82 777.44 189.82 776.71 C 189.82 775.5 190.84 775.07 191.32 775.07 C 192.53 775.07 192.94 776.09 192.94 776.63 C 192.94 777.55 192.2 778.23 191.4 778.23 Z M 204.91 755.79 C 201.73 755.79 199.47 753.05 199.47 750.38 C 199.47 746.98 202.09 744.7 204.8 744.7 C 208.1 744.65 210.56 747.28 210.45 750.39 C 210.45 753.18 208.14 755.79 204.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"295\"\n      y=\"720\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"302.5\"\n      y=\"793\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 808px;\n              margin-left: 304px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                4TB<br \/>Mirror VDEV\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"350\"\n          y=\"812\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          4TB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"305\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 320.79 767.5 C 322.12 767.89 323.49 768.02 324.94 768.02 C 335.07 768.02 342.57 759.79 342.57 750.14 C 342.57 741.77 336.06 732.46 324.69 732.46 C 315.68 732.46 307.42 739.89 307.42 750.7 C 307.78 756.73 310.28 761.04 314.19 764.2 L 319.84 757.61 L 323.7 760.01 Z M 308.58 784 C 306.98 784 305 782.66 305 780.11 L 305 733.96 C 305 731.73 306.69 730 308.73 730 L 341.21 730 C 343.7 730 345 732.18 345 733.76 L 345 780.13 C 345 782.34 343.17 784 341.33 784 Z M 308.53 773.06 C 307.82 774.15 307.38 775.02 307.38 776.08 C 307.38 778.68 309.48 780.31 311.39 780.31 C 313.51 780.31 314.75 779.07 315.57 777.31 L 321.85 760.68 L 320.06 759.63 Z M 311.4 778.23 C 310.46 778.23 309.82 777.44 309.82 776.71 C 309.82 775.5 310.84 775.07 311.32 775.07 C 312.53 775.07 312.94 776.09 312.94 776.63 C 312.94 777.55 312.2 778.23 311.4 778.23 Z M 324.91 755.79 C 321.73 755.79 319.47 753.05 319.47 750.38 C 319.47 746.98 322.09 744.7 324.8 744.7 C 328.1 744.65 330.56 747.28 330.45 750.39 C 330.45 753.18 328.14 755.79 324.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"355\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 370.79 767.5 C 372.12 767.89 373.49 768.02 374.94 768.02 C 385.07 768.02 392.57 759.79 392.57 750.14 C 392.57 741.77 386.06 732.46 374.69 732.46 C 365.68 732.46 357.42 739.89 357.42 750.7 C 357.78 756.73 360.28 761.04 364.19 764.2 L 369.84 757.61 L 373.7 760.01 Z M 358.58 784 C 356.98 784 355 782.66 355 780.11 L 355 733.96 C 355 731.73 356.69 730 358.73 730 L 391.21 730 C 393.7 730 395 732.18 395 733.76 L 395 780.13 C 395 782.34 393.17 784 391.33 784 Z M 358.53 773.06 C 357.82 774.15 357.38 775.02 357.38 776.08 C 357.38 778.68 359.48 780.31 361.39 780.31 C 363.51 780.31 364.75 779.07 365.57 777.31 L 371.85 760.68 L 370.06 759.63 Z M 361.4 778.23 C 360.46 778.23 359.82 777.44 359.82 776.71 C 359.82 775.5 360.84 775.07 361.32 775.07 C 362.53 775.07 362.94 776.09 362.94 776.63 C 362.94 777.55 362.2 778.23 361.4 778.23 Z M 374.91 755.79 C 371.73 755.79 369.47 753.05 369.47 750.38 C 369.47 746.98 372.09 744.7 374.8 744.7 C 378.1 744.65 380.56 747.28 380.45 750.39 C 380.45 753.18 378.14 755.79 374.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"465\"\n      y=\"720\"\n      width=\"110\"\n      height=\"110\"\n      rx=\"11\"\n      ry=\"11\"\n      fill=\"#cce5ff\"\n      stroke=\"#36393d\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"472.5\"\n      y=\"793\"\n      width=\"95\"\n      height=\"30\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <g transform=\"translate(-0.5 -0.5)\">\n      <switch>\n        <foreignObject\n          pointer-events=\"none\"\n          width=\"100%\"\n          height=\"100%\"\n          requiredFeatures=\"http:\/\/www.w3.org\/TR\/SVG11\/feature#Extensibility\"\n          style=\"overflow: visible; text-align: left\"\n          ><div\n            xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"\n            style=\"\n              display: flex;\n              align-items: unsafe center;\n              justify-content: unsafe center;\n              width: 93px;\n              height: 1px;\n              padding-top: 808px;\n              margin-left: 474px;\n            \"\n          >\n            <div\n              data-drawio-colors=\"color: #000000; \"\n              style=\"box-sizing: border-box; font-size: 0px; text-align: center\"\n            >\n              <div\n                style=\"\n                  display: inline-block;\n                  font-size: 12px;\n                  font-family: Helvetica;\n                  color: rgb(0, 0, 0);\n                  line-height: 1.2;\n                  pointer-events: all;\n                  white-space: normal;\n                  overflow-wrap: normal;\n                \"\n              >\n                512GB<br \/>L2ARC Cache\n              <\/div>\n            <\/div>\n          <\/div><\/foreignObject\n        >\n        <text\n          x=\"520\"\n          y=\"812\"\n          fill=\"#000000\"\n          font-family=\"Helvetica\"\n          font-size=\"12px\"\n          text-anchor=\"middle\"\n        >\n          512GB&#8230;\n        <\/text>\n      <\/switch>\n    <\/g>\n    <rect\n      x=\"475\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 490.79 767.5 C 492.12 767.89 493.49 768.02 494.94 768.02 C 505.07 768.02 512.57 759.79 512.57 750.14 C 512.57 741.77 506.06 732.46 494.69 732.46 C 485.68 732.46 477.42 739.89 477.42 750.7 C 477.78 756.73 480.28 761.04 484.19 764.2 L 489.84 757.61 L 493.7 760.01 Z M 478.58 784 C 476.98 784 475 782.66 475 780.11 L 475 733.96 C 475 731.73 476.69 730 478.73 730 L 511.21 730 C 513.7 730 515 732.18 515 733.76 L 515 780.13 C 515 782.34 513.17 784 511.33 784 Z M 478.53 773.06 C 477.82 774.15 477.38 775.02 477.38 776.08 C 477.38 778.68 479.48 780.31 481.39 780.31 C 483.51 780.31 484.75 779.07 485.57 777.31 L 491.85 760.68 L 490.06 759.63 Z M 481.4 778.23 C 480.46 778.23 479.82 777.44 479.82 776.71 C 479.82 775.5 480.84 775.07 481.32 775.07 C 482.53 775.07 482.94 776.09 482.94 776.63 C 482.94 777.55 482.2 778.23 481.4 778.23 Z M 494.91 755.79 C 491.73 755.79 489.47 753.05 489.47 750.38 C 489.47 746.98 492.09 744.7 494.8 744.7 C 498.1 744.65 500.56 747.28 500.45 750.39 C 500.45 753.18 498.14 755.79 494.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <rect\n      x=\"525\"\n      y=\"730\"\n      width=\"40\"\n      height=\"54\"\n      fill=\"none\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n    <path\n      d=\"M 540.79 767.5 C 542.12 767.89 543.49 768.02 544.94 768.02 C 555.07 768.02 562.57 759.79 562.57 750.14 C 562.57 741.77 556.06 732.46 544.69 732.46 C 535.68 732.46 527.42 739.89 527.42 750.7 C 527.78 756.73 530.28 761.04 534.19 764.2 L 539.84 757.61 L 543.7 760.01 Z M 528.58 784 C 526.98 784 525 782.66 525 780.11 L 525 733.96 C 525 731.73 526.69 730 528.73 730 L 561.21 730 C 563.7 730 565 732.18 565 733.76 L 565 780.13 C 565 782.34 563.17 784 561.33 784 Z M 528.53 773.06 C 527.82 774.15 527.38 775.02 527.38 776.08 C 527.38 778.68 529.48 780.31 531.39 780.31 C 533.51 780.31 534.75 779.07 535.57 777.31 L 541.85 760.68 L 540.06 759.63 Z M 531.4 778.23 C 530.46 778.23 529.82 777.44 529.82 776.71 C 529.82 775.5 530.84 775.07 531.32 775.07 C 532.53 775.07 532.94 776.09 532.94 776.63 C 532.94 777.55 532.2 778.23 531.4 778.23 Z M 544.91 755.79 C 541.73 755.79 539.47 753.05 539.47 750.38 C 539.47 746.98 542.09 744.7 544.8 744.7 C 548.1 744.65 550.56 747.28 550.45 750.39 C 550.45 753.18 548.14 755.79 544.91 755.79 Z\"\n      fill=\"#505050\"\n      stroke=\"none\"\n      pointer-events=\"all\"\n    \/>\n  <\/g>\n<\/svg>\n<\/center>\n\n\n\n<p>Before the migration, we must backup all the data from the LVM system. I cobbled together a collection of old hard drives and then proceeded to create another LVM volume as the temporary storage of the content. This temporary volume will not have any redundancy capability, so if any one of the old hard drives fails, then out goes all the content. The original LVM system is mounted on <code>\/mnt\/airvideo<\/code> and the temporary LVM volume is mounted on <code>\/mnt\/av2<\/code>.<\/p>\n\n\n\n<p>I used the command below to proceed with the backup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rsync --delete -aAXv \/mnt\/airvideo \/mnt\/av2 > ~\/nohup.avs.rsync.out 2>&amp;1 &amp;<\/code><\/pre>\n\n\n\n<p>I can then monitor the progress of the backup with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tail -f ~\/nohup.avs.rsync.out<\/code><\/pre>\n\n\n\n<p>The backup took a little more than 7 days to copy around 32 TB of data from our NAS server. During this entire process, all of the NAS services continued to run, so that downtime was almost non-existent.<\/p>\n\n\n\n<p>Once the backup is completed, I wanted to move all the services to the backup before I started to dismantle the old LVM volume. The following steps were done:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stop all services on other machines that were using the NAS;<\/li>\n\n\n\n<li>Stop all services on the NAS that were using the <code>\/mnt\/airvideo<\/code> LVM volume;\n<ul class=\"wp-block-list\">\n<li><code>sudo systemctl stop apache2 smbd nmbd plexmediaserver<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Unmount the <code>\/mnt\/airvideo<\/code> volume, and create a soft-link of the same name to the backup volume at <code>\/mnt\/av2<\/code>;\n<ul class=\"wp-block-list\">\n<li><code>sudo umount \/mnt\/airvideo<\/code><\/li>\n\n\n\n<li><code>sudo ln -s \/mnt\/av2 \/mnt\/airvideo<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Restart all services on the NAS and the other machines;\n<ul class=\"wp-block-list\">\n<li><code>sudo systemctl start apache2 smbd nmbd plexmediaserver<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Once again, the downtime here was minimal;<\/li>\n\n\n\n<li>Remove or comment out the entry in the <code>\/etc\/fstab<\/code> file that automatically mounts the old LVM volume on boot. This is no longer necessary because ZFS is remounted by default;<\/li>\n<\/ul>\n\n\n\n<p>Now that the services are all up and running, we can then start destroying the old LVM volume (<code>airvideovg2\/airvideo<\/code>) and volume group (<code>airvideovg2<\/code>). We can obtain a list of all the physical volumes that make up the volume group.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pvdisplay -C --separator ' | ' -o pv_name,vg_name\n\n  PV | VG\n  \/dev\/md1 | airvideovg2\n  \/dev\/md2 | airvideovg2\n  \/dev\/md3 | airvideovg2\n  \/dev\/md4 | airvideovg2\n  \/dev\/nvme0n1p1 | airvideovg2<\/code><\/pre>\n\n\n\n<p>The <code>\/dev\/mdX<\/code> devices are the <code>mdadm<\/code> mirror devices, each consisting of a pair of hard drives.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo lvremove airvideovg2\/airvideo\nDo you really want to remove and DISCARD active logical volume airvideovg2\/airvideo? &#91;y\/n]: y\n  Flushing 0 blocks for cache airvideovg2\/airvideo.\nDo you really want to remove and DISCARD logical volume airvideovg2\/lv_cache_cpool? &#91;y\/n]: y\n  Logical volume \"lv_cache_cpool\" successfully removed\n  Logical volume \"airvideo\" successfully removed\n\nsudo vgremove airvideovg2\n  Volume group \"airvideovg2\" successfully removed<\/code><\/pre>\n\n\n\n<p>At this point, both the logical volume and the volume group are removed. We say a little prayer to ensure nothing happens with our temporary volume (<code>\/mnt\/av2<\/code>), that is currently in operation.<\/p>\n\n\n\n<p>We now have to disassociate the <code>mdadm<\/code> devices from LVM.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pvremove \/dev\/md1\nLabels on physical volume \"\/dev\/md1\" successfully wiped.\nsudo pvremove \/dev\/md2\nLabels on physical volume \"\/dev\/md2\" successfully wiped.\nsudo pvremove \/dev\/md3\nLabels on physical volume \"\/dev\/md3\" successfully wiped.\nsudo pvremove \/dev\/md4\nLabels on physical volume \"\/dev\/md4\" successfully wiped.\nsudo pvremove \/dev\/nvme0n1p1\nLabels on physical volume \"\/dev\/nvme0n1p1\" successfully wiped.<\/code><\/pre>\n\n\n\n<p>You can find the physical hard drives associated with each <code>mdadm<\/code> device using the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mdadm --detail \/dev\/md1\n#or\nsudo cat \/proc\/mdstat<\/code><\/pre>\n\n\n\n<p>We then have to stop all the <code>mdadm<\/code> devices and zero their superblock so that we can reuse the hard drives to set up our ZFS pool.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mdadm --stop \/dev\/md1\nmdadm: stopped \/dev\/md1\nsudo mdadm --stop \/dev\/md2\nmdadm: stopped \/dev\/md2\nsudo mdadm --stop \/dev\/md3\nmdadm: stopped \/dev\/md3\nsudo mdadm --stop \/dev\/md4\nmdadm: stopped \/dev\/md4\n\n# Normally you also need to do a --remove after the --stop,\n# but it looks like the 6.5 kernel did the remove automatically.\n#\n# For all partitions used in the md device\n\nfor i in sdb1 sdc1 sdp1 sda1 sdo1 sdd1 sdg1 sdn1\ndo\n\tsudo mdadm --zero-superblock \/dev\/${i}\ndone<\/code><\/pre>\n\n\n\n<p>Now with all of the old hard drives freed up, we can repurpose them to create our ZFS pool. Instead of using the <code>\/dev\/sdX<\/code> reference of the physical device, it is recommended to use <code>\/dev\/disk\/by-id<\/code> with the manufacturer&#8217;s model and serial number so that the ZFS pool can be moved to another machine in the future. We also used the <code>-f<\/code> switch to let ZFS know that it is okay to erase the existing content on those devices. The command to create the pool we named <code>vault<\/code> is this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zpool create -f vault mirror \/dev\/disk\/by-id\/ata-ST10000VN0008-2JJ101_ZHZ1KMA0-part1 \/dev\/disk\/by-id\/ata-WDC_WD101EFAX-68LDBN0_VCG6VRWN-part1 mirror \/dev\/disk\/by-id\/ata-ST8000VN0022-2EL112_ZA1E8GW4-part1 \/dev\/disk\/by-id\/ata-ST8000VN0022-2EL112_ZA1E8S0V-part1 mirror \/dev\/disk\/by-id\/ata-ST10000VN0004-1ZD101_ZA2C69FN-part1 \/dev\/disk\/by-id\/ata-ST10000VN0004-1ZD101_ZA2964KD-part1 mirror \/dev\/disk\/by-id\/ata-ST12000VN0008-2YS101_ZRT008SC-part1 \/dev\/disk\/by-id\/ata-ST12000VN0008-2YS101_ZV701XQV-part1\n\n# The above created the pool with the old drives from the old LVM volume group\n# We then added 4 more drives, 2 x 6TB, and 2 x 4TB drives to the pool\n\n# Adding another 6TB mirror:\n\nsudo zpool add -f vault mirror \/dev\/disk\/by-id\/ata-WDC_WD60EFRX-68L0BN1_WD-WX31D87HDU09-part1 \/dev\/disk\/by-id\/ata-WDC_WD60EZRZ-00GZ5B1_WD-WX11D374490J-part1\n\n# Adding another 4TB mirror:\n\nsudo zpool add -f vault mirror \/dev\/disk\/by-id\/ata-ST4000DM004-2CV104_ZFN0GTAK-part1 \/dev\/disk\/by-id\/ata-WDC_WD40EZRX-00SPEB0_WD-WCC4E0354579-part1<\/code><\/pre>\n\n\n\n<p>We also want to add the old NVMe as ZFS L2ARC cache.<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:17px\"><code>ls -lh \/dev\/disk\/by-id\/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4P2NF0M419555D\n\nlrwxrwxrwx 1 root root 13 Mar  2 16:02 \/dev\/disk\/by-id\/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4P2NF0M419555D -> ..\/..\/nvme0n1\n\nsudo zpool add vault cache \/dev\/disk\/by-id\/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4P2NF0M419555D <\/code><\/pre>\n\n\n\n<p>We can see the pool using this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:10px\"><code>sudo zpool list -v vault\n\nNAME                                                    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT\nvault                                                  45.4T  31.0T  14.4T        -         -     0%    68%  1.00x    ONLINE  -\n  mirror-0                                             9.09T  8.05T  1.04T        -         -     0%  88.5%      -    ONLINE\n    ata-ST10000VN0008-2JJ101_ZHZ1KMA0-part1                -      -      -        -         -      -      -      -    ONLINE\n    ata-WDC_WD101EFAX-68LDBN0_VCG6VRWN-part1               -      -      -        -         -      -      -      -    ONLINE\n  mirror-1                                             7.27T  6.49T   796G        -         -     0%  89.3%      -    ONLINE\n    ata-ST8000VN0022-2EL112_ZA1E8GW4-part1                 -      -      -        -         -      -      -      -    ONLINE\n    ata-ST8000VN0022-2EL112_ZA1E8S0V-part1                 -      -      -        -         -      -      -      -    ONLINE\n  mirror-2                                             9.09T  7.54T  1.55T        -         -     0%  82.9%      -    ONLINE\n    ata-ST10000VN0004-1ZD101_ZA2C69FN-part1                -      -      -        -         -      -      -      -    ONLINE\n    ata-ST10000VN0004-1ZD101_ZA2964KD-part1                -      -      -        -         -      -      -      -    ONLINE\n  mirror-3                                             10.9T  8.91T  2.00T        -         -     0%  81.7%      -    ONLINE\n    ata-ST12000VN0008-2YS101_ZRT008SC-part1                -      -      -        -         -      -      -      -    ONLINE\n    ata-ST12000VN0008-2YS101_ZV701XQV-part1                -      -      -        -         -      -      -      -    ONLINE\n  mirror-4                                             5.45T  23.5G  5.43T        -         -     0%  0.42%      -    ONLINE\n    ata-WDC_WD60EFRX-68L0BN1_WD-WX31D87HDU09-part1         -      -      -        -         -      -      -      -    ONLINE\n    ata-WDC_WD60EZRZ-00GZ5B1_WD-WX11D374490J-part1         -      -      -        -         -      -      -      -    ONLINE\n  mirror-5                                             3.62T  17.2G  3.61T        -         -     0%  0.46%      -    ONLINE\n    ata-ST4000DM004-2CV104_ZFN0GTAK-part1                  -      -      -        -         -      -      -      -    ONLINE\n    ata-WDC_WD40EZRX-00SPEB0_WD-WCC4E0354579-part1         -      -      -        -         -      -      -      -    ONLINE\ncache                                                      -      -      -        -         -      -      -      -  -\n  nvme-Samsung_SSD_970_EVO_Plus_500GB_S4P2NF0M419555D   466G  3.58G   462G        -         -     0%  0.76%      -    ONLINE<\/code><\/pre>\n\n\n\n<p>Once the pool is created, we wanted to set some pool properties so that in the future when we replace these drives with bigger drives, the pool will automatically expand.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zpool set autoexpand=on vault<\/code><\/pre>\n\n\n\n<p>With the pool created, we can then create our dataset or filesystem and its associated mount point. We also want to ensure that the filesystem also supports <code>posixacl<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zfs create vault\/airvideo\nzfs set mountpoint=\/mnt\/av vault\/airvideo\nzfs set acltype=posixacl vault\nzfs set acltype=posixacl vault\/airvideo<\/code><\/pre>\n\n\n\n<p>We mount the new ZFS filesystem on <code>\/mnt\/av<\/code> because the <code>\/mnt\/airvideo<\/code> is soft-linked to the temporary <code>\/mnt\/av2<\/code> volume that is still in operation. We first have to re-copy all our content from the temporary volume to the new ZFS filesystem.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rsync --delete -aAXv \/mnt\/av2\/ \/mnt\/av > ~\/nohup.avs.rsync.out 2>&amp;1 &amp;<\/code><\/pre>\n\n\n\n<p>This took around 4 days to complete. We can all breathe easy again because all the data now have redundancy again! We can now bring the new ZFS filesystem live.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl stop apache2.service smbd nmbd plexmediaserver.service\nsudo rm \/mnt\/airvideo\nsudo zfs set mountpoint=\/mnt\/airvideo vault\/airvideo\nsudo systemctl start apache2.service smbd nmbd plexmediaserver.service\n\nzfs list\n\nNAME             USED  AVAIL     REFER  MOUNTPOINT\nvault           31.0T  14.2T       96K  \/vault\nvault\/airvideo  31.0T  14.2T     31.0T  \/mnt\/airvideo<\/code><\/pre>\n\n\n\n<p>The above did not take long and the migration is completed!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h \/mnt\/airvideo\n\nFilesystem      Size  Used Avail Use% Mounted on\nvault\/airvideo   46T   32T   15T  69% \/mnt\/airvideo<\/code><\/pre>\n\n\n\n<p>Getting the capacity of our new ZFS filesystem shows that we now have 46TB to work with! This should last for at least a couple of years I hope.<\/p>\n\n\n\n<p>I also did a quick reboot of the system to ensure it can come back up with the ZFS filesystem in tack and without issues. It has now been running for 2 days. I have not collected any performance statistics, but the services all feel faster.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous post, I described the hardware changes that I made to facilitate additional drive slots on my NAS Media Server. We now need to migrate from an LVM system consisting of 40TB of redundant mirrored storage using mdadm to a ZFS system consisting of a single pool and a dataset. Below is a &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2024\/03\/02\/lvm-to-zfs-migration\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;LVM to ZFS Migration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[111],"tags":[93,5,28,6,159],"class_list":["post-2779","post","type-post","status-publish","format-standard","hentry","category-tech","tag-lvm","tag-nas","tag-technology","tag-ubuntu","tag-zfs"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-IP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=2779"}],"version-history":[{"count":16,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2779\/revisions"}],"predecessor-version":[{"id":2795,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/2779\/revisions\/2795"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=2779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=2779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=2779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}