Entex
Cadet
- Joined
- Apr 1, 2019
- Messages
- 2
My boot device has "recently" been DEGRADED. So I've bought two new USBs and now I'm trying to replace the degraded device with two new.
This is my process:
System -> Boot Environments -> Status -> Attach
- Member Disk = da2
- Save
[EFAULT] 'newfs_msdos -F 16 /dev/da2p1' failed: newfs_msdos: /dev/da2p1: Operation not permitted
If i try it again i get
[EFAULT] 'gpart create -s gpt -f active /dev/da2' failed: gpart: geom 'da2': File exists
That can be fixed simply by
System -> Boot Environments -> Status -> Replace (On the degraded device)
- Member Disk = da2
[EFAULT] 'newfs_msdos -F 16 /dev/da2p1' failed: newfs_msdos: /dev/da2p1: Operation not permitted
I can manuelly do "newfs_msdos -F 16 /dev/da2p1" in the shell and it works fine. But I don't know the rest of the steps to complete a new boot device.
Current System:
FreeNAS-11.2-RELEASE
Intel(R) Core(TM) i3-6100T CPU @ 3.20GHz (4 cores)
16 GB Memory
Current Boot Device:
Kingston USB 3.1 DataTraveler Micro 16GB
New Boot Devices:
2x Kingston USB 3.0 DataTraveler 50 16GB
This is my process:
System -> Boot Environments -> Status -> Attach
- Member Disk = da2
- Save
[EFAULT] 'newfs_msdos -F 16 /dev/da2p1' failed: newfs_msdos: /dev/da2p1: Operation not permitted
If i try it again i get
[EFAULT] 'gpart create -s gpt -f active /dev/da2' failed: gpart: geom 'da2': File exists
That can be fixed simply by
Code:
gpart destroy -F da2
System -> Boot Environments -> Status -> Replace (On the degraded device)
- Member Disk = da2
[EFAULT] 'newfs_msdos -F 16 /dev/da2p1' failed: newfs_msdos: /dev/da2p1: Operation not permitted
Code:
Error: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 161, in call_method result = await self.middleware.call_method(self, message) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1109, in call_method return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False) File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1049, in _call return await methodobj(*args) File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 194, in replace boottype = await self.format(dev) File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 664, in nf return await f(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/boot.py", line 94, in format raise CallError('%r failed:\n%s%s' % (" ".join(command), p.stdout.decode("utf-8"), p.stderr.decode("utf-8"))) middlewared.service_exception.CallError: [EFAULT] 'newfs_msdos -F 16 /dev/da2p1' failed: newfs_msdos: /dev/da2p1: Operation not permitted
I can manuelly do "newfs_msdos -F 16 /dev/da2p1" in the shell and it works fine. But I don't know the rest of the steps to complete a new boot device.
Current System:
FreeNAS-11.2-RELEASE
Intel(R) Core(TM) i3-6100T CPU @ 3.20GHz (4 cores)
16 GB Memory
Current Boot Device:
Kingston USB 3.1 DataTraveler Micro 16GB
New Boot Devices:
2x Kingston USB 3.0 DataTraveler 50 16GB