Hello 
i'm newbie on OpenSolaris and as i'm very interested in the ZFS functionalities 
in order to setup a disk-based replicated backup system for my company.
I'm trying to bench it using 2 Virtual machines.
ZFS snapshot commands work well on my main server as i've got the root "role" 
but i planned to use ZFS Send and receive accross SSH as descibed within the 
sun documentation and then i encounter a problem i can't solve.

as i planned to do such replication using a crontab script, i need it to work 
without any human intervention (no login password asked)

I first try to use the root "account" to log using SSH on the 2nd server but it 
seems you can't do that under OpenSolaris (event when modifying sshd_config to 
authorized it)

so i created a dedicated user "repli" an try this command 
[b]zfs send rpool/sauvegardes_wind...@mardi-15-07-09 | ssh 
re...@opensolaris_bck  /usr/sbin/zfs recv -F rpool/bck_sauvegardes_windows[/b]
but i got this message 
[b]cannot receive new filesystem stream: permission denied[/b]

it seems that the account "repli" does not have enought rights to do the ZFS 
receive (as a matter of fact, when i try to setup a ZFS hierarchy on the 2nd 
server using it, it doesn't work)

As "Rights" management under Solaris seems to be very different from linux 
one...i'm dissapointed because i do not know how to give it enough rights to be 
able to process the "zfs receive" command.

i also try another way, using
zfs send rpool/sauvegardes_wind...@mardi-15-07-09 | ssh re...@opensolaris_bck  
su - root -c /usr/sbin/zfs recv -F rpool/bck_sauvegardes_windows

but then the root password is required (even if set to blank) and the command 
fail with
"su: désolé" 

I'm in a deep :!ù$*, so does an angel here know how to manage such a situation ?
Or is there any other way to proceed this ZFS replication accross the network 
(using something else than SSH ?)

B.R. from France.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to