SOLVED Read-only file system, unable to write anything after replication task to another server.

fahadshery

Contributor
Joined
Sep 29, 2017
Messages
179
Hi,

I created a replicated task on one of my servers to a different server. It worked fine but the destination dataset is READONLY. I tried this:
zfs set readonly=off /mnt/tank/my_data but getting this error:
Code:
cannot open '/mnt/tank/my_data': leading slash in name

I tried with adding / but getting the same error.
Any ideas?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,740
The destination must be read-only for subsequent incremental replications to work.

If that is not your intention but you want to just do a one time copy and use the destination in read/write mode now, then do this: zfs set readonly=off tank/my_data. The zfs set command takes a dataset or volume as the parameter, not a mount point.
 

fahadshery

Contributor
Joined
Sep 29, 2017
Messages
179
The destination must be read-only for subsequent incremental replications to work.
This makes sense! thank you
If that is not your intention but you want to just do a one time copy and use the destination in read/write mode now, then do this: zfs set readonly=off tank/my_data. The zfs set command takes a dataset or volume as the parameter, not a mount point.
IT WORKED!!! thank you for your swift response. Cheers.
 
Top