Error replacing, error wiping

clarknova

Explorer
Joined
Sep 22, 2015
Messages
66
Trying to replace a failed disk in a pool. The replacement disk was used for other things previously, so I used the 'Force' checkbox when replacing. A few seconds after clicking the Replace button I see the error "Command '('gpart', 'create', '-s', 'gpt', '/dev/da67')' returned non-zero exit status 1."

I then attempted to wipe the disk, first using the quick option, then the overwrite with zeros option, and finally the overwrite with random data option. In each case I saw the exact same error "Command '('gpart', 'create', '-s', 'gpt', '/dev/da67')' returned non-zero exit status 1. Is there no way to remove the partitions from a disk in the Freenas web UI? What's the recommended action?
 

clarknova

Explorer
Joined
Sep 22, 2015
Messages
66
Code:
root@fs08:~ # diskinfo -v da67
da67
    512             # sectorsize
    4000787030016    # mediasize in bytes (3.6T)
    7814037168      # mediasize in sectors
    4096            # stripesize
    0               # stripeoffset
    486401          # Cylinders according to firmware.
    255             # Heads according to firmware.
    63              # Sectors according to firmware.
    ATA WDC WD40EFRX-68N    # Disk descr.
    WD-WCC7K2YREFHK    # Disk ident.
    id1,enc@n50030480008dea7d/type@0/slot@1/elmdesc@Slot_01    # Physical path
    No              # TRIM/UNMAP support
    5400            # Rotation rate in RPM
    Not_Zoned       # Zone Mode

root@fs08:~ # gpart show da67
=>         0  7814037168  da67  (none)  (3.6T)
           0  7814037168        - free -  (3.6T)
          
root@fs08:~ # gpart destroy -F da67
gpart: Permission denied
 
Top