Project

General

Profile

Bug #25271

Unable to replace failed drive - [MiddlewareError: freebsd-zfs partition could not be found]

Added by Victor Hooi about 3 years ago. Updated about 3 years ago.

Status:
Closed: Insufficient Info
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I'm attempting to replace a failed disk on my 4-disk NAS running FreeNAS 11-MASTER-201706300526 (4ef764a).

However, when I click the UNAVAIL drive, hit Replace, and select my replacement drive (with Force, as it's not empty), I get the error (see screenshot).

Traceback is here as well:

```
Environment:

Software Version: FreeNAS-11-MASTER-201706300526 (4ef764a)
Request Method: POST
Request URL: http://192.168.5.38/storage/zpool-datastore/disk/replace/5473229154515832404/

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
893. if form.done():
File "./freenasUI/storage/forms.py" in done
2067. passphrase=passfile
File "./freenasUI/middleware/notifier.py" in zfs_replace_disk
1043. raise MiddlewareError('freebsd-zfs partition could not be found')

Exception Type: MiddlewareError at /storage/zpool-datastore/disk/replace/5473229154515832404/
Exception Value: [MiddlewareError: freebsd-zfs partition could not be found]
```

History

#1 Updated by Victor Hooi about 3 years ago

  • File debug-freenas-20170724015058.txz added

#3 Updated by Dru Lavigne about 3 years ago

  • Assignee changed from Release Council to William Grzybowski

#4 Updated by William Grzybowski about 3 years ago

  • Status changed from Unscreened to 15
  • Target version set to 11.0-U3

Is that an encrypted volume?

#5 Updated by William Grzybowski about 3 years ago

Ping

#6 Updated by William Grzybowski about 3 years ago

  • Status changed from 15 to Closed: Insufficient Info
  • Target version changed from 11.0-U3 to N/A
  • Private changed from Yes to No

#7 Updated by William Grzybowski about 3 years ago

  • File deleted (debug-freenas-20170724015058.txz)

Also available in: Atom PDF