Freenas 8.3 sees removed volumes still

Status
Not open for further replies.

cygnus

Explorer
Joined
Mar 20, 2012
Messages
73
I'm running an freenas 8.3 Beta 2 version of Freenas and replaced some old unused disks with some new ones all seen and configured BUT
how can I delete the 3 old disks that have been removed and reformated from the Freenas database?

As I'm getting alerts warnings displayed as the disks have gone

I'm a bit of a novice so I did look on the forum about deleting from the database but I have no /data folder when I start the shell to use sqlite3.

Help greatfully received

Rgds
:confused:
 

joshg678

Explorer
Joined
Sep 27, 2012
Messages
52
click the detach button from the Volume status screen.

Just make sure you have backups of your data just encase you mess something up.

Also Make sure you run a scrub and wait for it to complete (zpool status)
 

cygnus

Explorer
Joined
Mar 20, 2012
Messages
73
Thanks for the update but I get the following error when try to detach.
Environment:

Software Version:
Request Method: GET
Request URL: http://192.168.0.14/storage/detach/1/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
166. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
20. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/storage/views.py" in volume_detach
789. services = volume.has_attachments()
File "/usr/local/www/freenasUI/../freenasUI/storage/models.py" in has_attachments
115. for service, ids in mp.has_attachments().items():
File "/usr/local/www/freenasUI/../freenasUI/storage/models.py" in has_attachments
507. for nfs in NFS_Share.objects.filter(nfs_path__startswith=mypath):
File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py" in filter
143. return self.get_query_set().filter(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in filter
621. return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in _filter_or_exclude
639. clone.query.add_q(Q(*args, **kwargs))
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in add_q
1250. can_reuse=used_aliases, force_having=force_having)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in add_filter
1122. process_extras=process_extras)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py" in setup_joins
1316. "Choices are: %s" % (name, ", ".join(names)))

Exception Type: FieldError at /storage/detach/1/
Exception Value: Cannot resolve keyword 'nfs_path' into field. Choices are: id, nfs_alldirs, nfs_comment, nfs_hosts, nfs_mapall_group, nfs_mapall_user, nfs_maproot_group, nfs_maproot_user, nfs_network, nfs_quiet, nfs_ro, paths
 

joshg678

Explorer
Joined
Sep 27, 2012
Messages
52
could you post the results of
'zpool status' from the command line?
 

cygnus

Explorer
Joined
Mar 20, 2012
Messages
73
could you post the results of
'zpool status' from the command line?

Thanks but it advises "no pools available" these are UFS HDDs if makes any sense.
Rgds
 

joshg678

Explorer
Joined
Sep 27, 2012
Messages
52
oh sorry, i assumed you were using ZFS.

I don't know anything about UFS on FreeNAS.
 
Status
Not open for further replies.
Top