SOLVED Error after renaming dataset

Status
Not open for further replies.

ITGuy1024

Explorer
Joined
Dec 13, 2014
Messages
89
I used this command to rename a dataset. zfs rename PoolB/HTPCBackup PoolB/Data

I'm trying to change the share type to Windows and getting this error about a missing directory. Can I just create said directory?

Request Method:POST
Request URL:http://192.168.1.64/storage/dataset/edit/PoolB/Data/
Software Version:FreeNAS-9.3-STABLE-201412090314
Exception Type:IOError
Exception Value:
[Errno 2] No such file or directory: u'/mnt/PoolB/Data/.windows'
Exception Location:/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py in dataset_init_windows_meta_file, line 5068
Server time:Fri, 19 Dec 2014 10:24:44 -0500

Code:
Environment:

Software Version: FreeNAS-9.3-STABLE-201412090314
Request Method: POST
Request URL: http://192.168.1.64/storage/dataset/edit/PoolB/Data/


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
  156.         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/storage/views.py" in dataset_edit
  461.                             dataset_name, val)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in change_dataset_share_type
  5107.             self.dataset_init_windows_meta_file(dataset)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in dataset_init_windows_meta_file
  5068.         with open("%s/.windows" % path, "w") as f:

Exception Type: IOError at /storage/dataset/edit/PoolB/Data/
Exception Value: [Errno 2] No such file or directory: u'/mnt/PoolB/Data/.windows'
 

ITGuy1024

Explorer
Joined
Dec 13, 2014
Messages
89
This is resolved. I rebooted the FreeNAS box.
 
Status
Not open for further replies.
Top