Storage at 109% unable todo anything with the volume

Status
Not open for further replies.

bitpanic

Cadet
Joined
Apr 5, 2014
Messages
1
Hi everybody,

I have a little problem which I would like to understand, the following setup.

2 Freenas server one of them is backup server which has the following problem.

I was playing around with the periodical snapshot utility and of course i forgot to set it back to a good setting... which means it filled up the volume at around 93% I started deleting all 800 snapshots which went quick enough over the web interface. This did not help at this point i was kinda frustrated and just thought to myself i wanted started from scratch and i'll just delete the volume and recreated it...... still no change..... later i found a reboot would have solved this problem..... well anyway no to my problem =)

When I try to delete my periodical snapshot I get an error message:


Request Method:
POST
Request URL:
http://sv-bs/admin/storage/task/delete/1/
Software Version:
FreeNAS-9.2.1.5-RELEASE-x86 (80c1d35)
Exception Type:
OperationalError
Exception Value:
database or disk is full
Exception Location:
/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 450
Server time:
Thu, 5 Jun 2014 23:59:56 +0200
Environment:

Software Version: FreeNAS-9.2.1.5-RELEASE-x86 (80c1d35)
Request Method: POST
Request URL: http://sv-bs/admin/storage/task/delete/1/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
107. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
158. 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
22. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in wrapper
209. return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52. response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
144. return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in delete
689. mf.delete(events=events)
File "/usr/local/www/freenasUI/../freenasUI/common/forms.py" in delete
109. self.instance.delete()
File "/usr/local/www/freenasUI/../freenasUI/storage/models.py" in delete
1032. super(Task, self).delete(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in delete
695. collector.delete()
File "/usr/local/lib/python2.7/site-packages/django/db/models/deletion.py" in delete
277. query.delete_batch(pk_list, self.using)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/subqueries.py" in delete_batch
49. self.do_query(self.get_meta().db_table, where, using=using)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/subqueries.py" in do_query
34. self.get_compiler(using).execute_sql(None)
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
781. cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
53. return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/utils.py" in __exit__
99. six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
53. return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
450. return Database.Cursor.execute(self, query, params)

Exception Type: OperationalError at /admin/storage/task/delete/1/
Exception Value: database or disk is full
The volume which was full before is now completely empty but i think i know what the problem is when I do a df -h on the console i get the following


[root@sv-bs ~]# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs1a 926M 757M 94M 89% /
devfs 1.0k 1.0k 0B 100%
/dev /dev/md0 4.6M 3.3M 909k 79% /etc
/dev/md1 823k 2.0k 756k 0% /mnt
/dev/md2 149M 40M 97M 29% /var
/dev/ufs/FreeNASs4 19M 19M -1.6M 109% /data
main 3.5T 244k 3.5T 0% /mnt/main
main/.system 3.5T 244k 3.5T 0% /mnt/main/.system
main/.system/cores 3.5T 209k 3.5T 0% /mnt/main/.system/cores main/.system/samba4 3.5T 535k 3.5T 0% /mnt/main/.system/samba4
main/.system/syslog 3.5T 1M 3.5T 0% /mnt/main/.system/syslog
main/jails 3.5T 209k 3.5T 0% /mnt/main/jails
main/svfs 3.5T 209k 3.5T 0% /mnt/main/svfs
[root@sv-bs ~]#


So as you can see /data /dev is full and I have no idea how to clear this without reinstalling the system.
any ideas?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
If you have no data on your pool I'd just reinstall FreeNAS from scratch and start over... sounds like you corrupted somethign.
 
Status
Not open for further replies.
Top