Joeri Vanthienen
2011-Jun-30 21:12 UTC
[zfs-discuss] cross platform (freebsd) zfs pool replication
Hi, I have two servers running: freebsd with a zpool v28 and a nexenta (opensolaris b134) running zpool v26. Replication (with zfs send/receive) from the nexenta box to the freebsd works fine, but I have a problem accessing my replicated volume. When I''m typing and autocomplete with tab key the command cd /remotepool/us (for /remotepool/users) I get a panic. check the panic @ http://www.boeri.be/panic.jpg -> autocomplete tab does a ls command in the background, I think I think there is a problem with NFSv4 acl/id mapping. Normal zfs (inititally created on the FreeBSD box) file systems are working fine. The nexenta box is Active Directory integrated with and the mappings for the users on this cifs share have been created on the fly (Ephemeral ID Mapping). Any solution for this? I really need the ACL permissions to be replicated. So rsync is not a solution. Please help :) root@ ~]# zfs get all remotepool/users NAME PROPERTY VALUE SOURCE remotepool/users type filesystem - remotepool/users creation Wed Jun 29 14:42 2011 - remotepool/users used 9.06G - remotepool/users available 187G - remotepool/users referenced 9.06G - remotepool/users compressratio 1.00x - remotepool/users mounted yes - remotepool/users quota none default remotepool/users reservation none default remotepool/users recordsize 128K default remotepool/users mountpoint /remotepool/users default remotepool/users sharenfs off default remotepool/users checksum on default remotepool/users compression off default remotepool/users atime on default remotepool/users devices on default remotepool/users exec on default remotepool/users setuid on default remotepool/users readonly off default remotepool/users jailed off default remotepool/users snapdir hidden received remotepool/users aclinherit passthrough received remotepool/users canmount on default remotepool/users xattr off temporary remotepool/users copies 1 default remotepool/users version 5 - remotepool/users utf8only off - remotepool/users normalization none - remotepool/users casesensitivity insensitive - remotepool/users vscan off default remotepool/users nbmand on received remotepool/users sharesmb name=users,guestok=true received remotepool/users refquota none default remotepool/users refreservation none default remotepool/users primarycache all default remotepool/users secondarycache all default remotepool/users usedbysnapshots 0 - remotepool/users usedbydataset 9.06G - remotepool/users usedbychildren 0 - remotepool/users usedbyrefreservation 0 - remotepool/users logbias latency default remotepool/users dedup off default remotepool/users mlslabel - remotepool/users sync standard default -- This message posted from opensolaris.org
Andriy Gapon
2011-Jul-01 13:14 UTC
[zfs-discuss] cross platform (freebsd) zfs pool replication
on 01/07/2011 00:12 Joeri Vanthienen said the following:> Hi, > > I have two servers running: freebsd with a zpool v28 and a nexenta (opensolaris b134) running zpool v26. > > Replication (with zfs send/receive) from the nexenta box to the freebsd works fine, but I have a problem accessing my replicated volume. When I''m typing and autocomplete with tab key the command cd /remotepool/us (for /remotepool/users) I get a panic. > > check the panic @ http://www.boeri.be/panic.jpgSince this is a FreeBSD panic, I suggest that you try getting help on FreeBSD mailing lists, fs at freebsd.org looks like the best choice. BTW, your report doesn''t contain your actual panic message and that could be important.> -> autocomplete tab does a ls command in the background, I think > > I think there is a problem with NFSv4 acl/id mapping. Normal zfs (inititally created on the FreeBSD box) file systems are working fine. > > The nexenta box is Active Directory integrated with and the mappings for the users on this cifs share have been created on the fly (Ephemeral ID Mapping). > > Any solution for this? I really need the ACL permissions to be replicated. So rsync is not a solution. Please help :) > > root@ ~]# zfs get all remotepool/users > NAME PROPERTY VALUE SOURCE > remotepool/users type filesystem - > remotepool/users creation Wed Jun 29 14:42 2011 - > remotepool/users used 9.06G - > remotepool/users available 187G - > remotepool/users referenced 9.06G - > remotepool/users compressratio 1.00x - > remotepool/users mounted yes - > remotepool/users quota none default > remotepool/users reservation none default > remotepool/users recordsize 128K default > remotepool/users mountpoint /remotepool/users default > remotepool/users sharenfs off default > remotepool/users checksum on default > remotepool/users compression off default > remotepool/users atime on default > remotepool/users devices on default > remotepool/users exec on default > remotepool/users setuid on default > remotepool/users readonly off default > remotepool/users jailed off default > remotepool/users snapdir hidden received > remotepool/users aclinherit passthrough received > remotepool/users canmount on default > remotepool/users xattr off temporary > remotepool/users copies 1 default > remotepool/users version 5 - > remotepool/users utf8only off - > remotepool/users normalization none - > remotepool/users casesensitivity insensitive - > remotepool/users vscan off default > remotepool/users nbmand on received > remotepool/users sharesmb name=users,guestok=true received > remotepool/users refquota none default > remotepool/users refreservation none default > remotepool/users primarycache all default > remotepool/users secondarycache all default > remotepool/users usedbysnapshots 0 - > remotepool/users usedbydataset 9.06G - > remotepool/users usedbychildren 0 - > remotepool/users usedbyrefreservation 0 - > remotepool/users logbias latency default > remotepool/users dedup off default > remotepool/users mlslabel - > remotepool/users sync standard default-- Andriy Gapon