Can't mount drive that was UFS formatted as BTRFS in OMV

  • I have a Western Digital 4TB drive that was previously used in a NAS4FREE NAS formatted as UFS. This drive is now in my OMV 3.0.99 NAS.


    I was able to mount the drive as UFS and copy the contents to the other BTRFS formatted disks in the NAS, and now I'm trying to reformat and add the drive as another BTRFS formatted drive to use as an active share etc.


    The drive has been wiped securely from the physical disks menu and when trying to add a new logical drive formatted as BTRFS it's throwing the following error when trying to apply the changes.

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb1' 2>&1' with exit code '32': mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so.


    The dmesg output is referencing UFS still...


    Code
    [266612.922988] ufs: ufs_fill_super(): bad magic number
    [267271.012749]  sdb: sdb1
    [267271.203062] ufs: ufs_fill_super(): bad magic number
    [267349.803448]  sdb: sdb1
    [267349.982420] ufs: ufs_fill_super(): bad magic number
    [267353.051461]  sdb: sdb1
    [267353.184658]  sdb: sdb1
    [267353.284221] ufs: ufs_fill_super(): bad magic number
    [267354.292610] BTRFS: device label wd4tb4 devid 1 transid 5 /dev/sdb1
    [267377.421612] ufs: ufs_fill_super(): bad magic number


    I have also tried to wipe the disk from the command line with dd if:/dev/null etc and still have the same result.


    Looking at parted -l for sbd I can see that it's recognised at btrfs....


    Code
    Model: ATA WDC WD40EFRX-68N (scsi)
    Disk /dev/sdb: 4001GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:
    
    
    Number  Start   End     Size    File system  Name  Flags
     1      1049kB  4001GB  4001GB  btrfs


    I'm out of ideas at this stage... Is anyone able to provide a suggestion on what to try next?

  • Hi geaves,


    The output from the command you have mentioned is


    Code
    offset               type
    ----------------------------------------------------------------
    0x200                gpt   [partition table]
  • What's the output of wipefs -n /dev/sdb

    I think I worked out what the problem was... I had defined that drive in fstab at some point to mount it so I could get the data off (probably 6 months ago). Once I removed it from there things started to behave as expected.


    Thank you for your help on this :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!