Replace failed drive... fails...

Status
Not open for further replies.

LWWz

Cadet
Joined
Feb 19, 2017
Messages
3
A drive in my 8x2TB pool failed and I replaced it with a brand new, out of the box 4TB drive and got this error:

https://www.dropbox.com/s/xktttvbvhrfdt3z/Screenshot 2018-06-27 20.03.45.png?dl=0

There's nothing on it so I forced it and got this python error:

Request Method: POST
Request URL: http://192.168.0.50/storage/zpool-pool1/disk/replace/3419771921175972079/
Software Version: FreeNAS-11.1-RELEASE (dc7d195f4)
Exception Type: ClientException
Exception Value:
NOT NULL constraint failed: storage_disk.disk_passwd
Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 394

With this traceback:

Environment:

Software Version: FreeNAS-11.1-RELEASE (dc7d195f4)
Request Method: POST
Request URL: http://192.168.0.50/storage/zpool-pool1/disk/replace/3419771921175972079/


Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
42. response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
162. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "./freenasUI/storage/views.py" in zpool_disk_replace
768. if form.done():
File "./freenasUI/storage/forms.py" in done
2224. passphrase=passfile
File "./freenasUI/middleware/notifier.py" in zfs_replace_disk
987. self.__gpt_labeldisk(type="freebsd-zfs", devname=to_disk, swapsize=swapsize)
File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
365. c.call('disk.sync', devname)
File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
365. c.call('disk.sync', devname)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
394. raise ClientException(c.error, c.errno, c.trace, c.extra)

Exception Type: ClientException at /storage/zpool-pool1/disk/replace/3419771921175972079/
Exception Value: NOT NULL constraint failed: storage_disk.disk_passwd

Anybody have suggestions on where to go from here?
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
With no details about your configuration or the steps you followed to install the drive, it is impossible to comment. You might have tried to install the drive incorrectly.

First thing I would do is to burn in the new drive. That way, you can verify the drive itself is OK. If you search the forum, you will find a quide for this.

Next, I would consult the FreeNAS documentation for instructions on replacing a failed drive. Make certain you did everything correctly.
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
Joined
Feb 23, 2018
Messages
17
Did you find any solution?
Im getting same error when creating a new volume. Never had such issue when creating the previous volume on this same machine

Sent from my ONEPLUS A5010 using Tapatalk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Status
Not open for further replies.
Top