Critical: replication failed

Status
Not open for further replies.

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
I recently had to add a lot more data to a dataset and had to increase the quota size for it first. The next time there was a snapshot, the corresponding replication failed.

I notice the destination dataset still had the old quota, and figured I needed to increase it to match. When I attempted to do that, I got the error below. The destination dataset now has the quota I changed it to, but I get a similar error when I edit the dataset, for instance from read-only to not.

Can anyone help me figure out what this means?
Code:
Request Method:	POST
Request URL:	https://192.168.0.102/storage/dataset/edit/ArkBak/Jim/
Software Version:	FreeNAS-11.1-U4 (89e3d93bc)
Exception Type:	OSError
Exception Value:	

[Errno 30] Read-only file system: '/mnt/ArkBak/Jim/.apple'

Exception Location:	./freenasUI/middleware/notifier.py in dataset_init_apple_meta_file, line 3668
Server time:	Fri, 31 Aug 2018 06:57:27 -0600
Traceback
Environment:

Software Version: FreeNAS-11.1-U4 (89e3d93bc)
Request Method: POST
Request URL: https://192.168.0.102/storage/dataset/edit/ArkBak/Jim/


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 dataset_edit
  411.		 if form.is_valid() and form.save():
File "./freenasUI/storage/forms.py" in save
  1539.		 notifier().change_dataset_share_type(name, self.cleaned_data.get('dataset_share_type'))
File "./freenasUI/middleware/notifier.py" in change_dataset_share_type
  3693.			 self.dataset_init_apple_meta_file(dataset)
File "./freenasUI/middleware/notifier.py" in dataset_init_apple_meta_file
  3668.		 with open("%s/.apple" % path, "w") as f:

Exception Type: OSError at /storage/dataset/edit/ArkBak/Jim/
Exception Value: [Errno 30] Read-only file system: '/mnt/ArkBak/Jim/.apple'


Request information
GET

No GET data
POST
Variable	Value
__all__	''
dataset_comments	''
dataset_sync	'inherit'
dataset_compression	'inherit'
dataset_share_type	'mac'
dataset_atime	'inherit'
dataset_refquota	'125G'
dataset_quota	'0'
dataset_refreservation	'0'
dataset_reservation	'0'
dataset_dedup	'inherit'
dataset_readonly	'on'
dataset_recordsize	'inherit'
__form_id	'form_ZFSDatasetEditForm'
FILES

No FILES data
COOKIES
Variable	Value
csrftoken	'********'
fntreeSaveStateCookie	'root%2Croot%2F189%2F190'
sessionid	'7tefaiv8mlgon4zzxcd2t3ngilo6wafx'
META
Variable	Value
Request Method: 	 POST 	
	
	 Request URL: 	 https://192.168.0.102/storage/dataset/edit/ArkBak/Jim/ 	
	
	 Software Version: 	 FreeNAS-11.1-U4 (89e3d93bc) 	
	
	 Exception Type: 	 OSError 	
	
	 Exception Value: 	
[Errno 30] Read-only file system: '/mnt/ArkBak/Jim/.apple'
	 	
	 Exception Location: 	 ./freenasUI/middleware/notifier.py in dataset_init_apple_meta_file, line 3668 	
	
	 Server time: 	 Fri, 31 Aug 2018 06:57:27 -0600 	
	
 

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
Today's replication succeeded, but I'm still concerned there is something amiss with the destination dataset.
 
D

dlavigne

Guest
Do you continue to get tracebacks? The one above was for when the destination was read-only.
 

Glorious1

Guru
Joined
Nov 23, 2014
Messages
1,211
Yes when I edit dataset settings I get it. I’ve been replicating to that dataset for years, wonder why it would suddenly become read-only.
I’m on a trip now and shut the server down so won’t be able to fiddle with it for a few weeks.
 
Status
Not open for further replies.
Top