Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Unable to attach a USB stick in boot volume

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

X3N

Newbie
Joined
Jun 9, 2021
Messages
2
Hi,

I had 2 USB stick in my boot volume in order to prevent the dead of one. It just happened. So I removed it and try to attach the new one but it doesn't work :
Code:
Error: [EFAULT] [EFAULT] Command gpart create -s gpt /dev/da1 failed (code 1): gpart: geom 'da1': File exists

I try
Code:
dd if=/dev/zero of=/dev/da1 bs=512 count=1000
(from https://www.truenas.com/community/threads/operation-not-permitted-hdd-trouble.12208/)
But it still no working.
Also try with
Code:
sysctl kern.geom.debugflags=0x10

Once I also have this error but not anymore :
Code:
newfs_msdos -F 16 /dev/da1p1 failed: newfs_msdos: /dev/da1p1: Operation not permitted


Can anyone have an idea ? (other than reinstall all)

Thanks
 
Top