Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109963

dd bs=1M argument error

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      I have installed TrueNAS 12.0 on 64 bit FreeBSD within virtual box. Below is the VM setup. Note that the 4 disks in the LsiLogic controller of the VM are pass through of unformatted partitions (https://www.virtualbox.org/manual/ch09.html#rawdisk) and there are no access issues per se, as will be described below.

       

      The web application looks great and is running. But when I try to create a zpool I get the following error

       

      Then I went to the disk tools to try to replicate this appearant very basic dd wipe disk command that should not be failing and saw this ...

      Then I said ... that command should not be failing. In fact the full zeros and random data options to wipe the disk work just fine. It was specifically this

      dd if=/dev/zero of=/dev/da0 bs=1M count=32

      So ... I went to the console and saw that indeed that command was failing with bs=1M vs bs=512; that was based on looking at the block size of the disk. I am not really an expert in this area of dd tool usage and certainly not the perticulars of this on BSD. I suspect that if the quick wipe would pass the zpool creating would function ok though.

       

       

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                alex.baras Alexander Baras
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: