Problems Creating Volumes

Status
Not open for further replies.

cobalt

Dabbler
Joined
Nov 22, 2011
Messages
14
I have been trying to get a new freenas box running and continue to encounter problems.

I installed the 8.0.2-RELEASE-amd64.iso first and could not get by a Fatal Trap 12 error.

I then decided to try a newer nightly build r8878-amd64 to encounter a problem building a ZFS dataset. I posted that issue http://forums.freenas.org/showthread.php?4944-ZFS-Not-Working&p=17618#post17618
and then tried a newer nightly build from Nov 30, 2011 the r8891-amd64.iso.
The r8891 version also has an issue with the creation of a volume, it does not work!

I had hoped that the next nightly build would have corrected that issue, but for some reason there has not been a nightly build since Nov 30???
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
How doesn't it work, what is the issue - are there any entries in /var/log/console that might shed some light on it?

Possibly the disks need to be wiped "clean" if a previous volume exists and is preventing creation of a new volume, try the following on each of your disks:

Code:
dd if=/dev/zero of=/dev/adaX bs=1m count=1
dd if=/dev/zero of=/dev/adaX bs=1m oseek=`diskinfo adaX | awk '{print int($3 / (1024*1024)) - 4;}'`


replace adaX with the identifier for one of your disks (eg. ada0) then repeat for all remaining disks.
 

cobalt

Dabbler
Joined
Nov 22, 2011
Messages
14
When I click on the create volume icon, I get this error:


Environment:

Request Method: GET
Request URL: http://10.0.1.137/storage/wizard/
Django Version: FreeNAS-8.2-r8891-amd64
Python Version: 2.7.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.staticfiles',
'freeadmin',
'south',
'dojango',
'account',
'system',
'network',
'storage',
'sharing',
'services']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'freenasUI.freeadmin.middleware.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'freenasUI.freeadmin.middleware.RequireLoginMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'dojango.middleware.DojoCollector')


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/freeadmin/middleware.py" in process_view
66. 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
23. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/storage/views.py" in wizard
164. 'zfsversion': notifier().zfs_get_version(),
File "/usr/local/www/freenasUI/middleware/notifier.py" in zfs_get_version
2185. version = self.sysctl('vfs.zfs.version.spa', _type='INT')
File "/usr/local/www/freenasUI/middleware/notifier.py" in sysctl
2246. self.__sysctl_error(libc, name)
File "/usr/local/www/freenasUI/middleware/notifier.py" in __sysctl_error
2205. raise AssertionError("Sysctl by name (%s) failed: %s" % (name, msg))

Exception Type: AssertionError at /storage/wizard/
Exception Value: Sysctl by name (vfs.zfs.version.spa) failed: Unknown error (35)
 

cobalt

Dabbler
Joined
Nov 22, 2011
Messages
14
zpool clear

Millhouse - you were correct in that the zpool needed to be cleared. Once that was done, I was good to go. Thanks for the help
 
Status
Not open for further replies.
Top