Hello All,
We are copying files using rsync with the =96A option from a solaris 2.6
ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
not able to get or set acl=92s. How do I set ACL=92s. Will it help if I
run rsync again without the =96A option (-A, --acls
preserve ACLs (implies --perms) )
]> getfacl test
File system doesn't support aclent_t style ACL's.
See acl(5) for more information on Solaris ACL support.
setfacl -m g:files:rwx acltest
File system doesn't support aclent_t style ACL's.
See acl(5) for more information on ACL styles support by Solaris.
|
|
0
|
|
|
|
Reply
|
yeshappytrader (4)
|
8/20/2010 3:21:16 PM |
|
SDRGuy wrote:
> Hello All,
>
>
> We are copying files using rsync with the �A option from a solaris 2.6
> ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
> not able to get or set acl�s. How do I set ACL�s. Will it help if I
> run rsync again without the �A option (-A, --acls
> preserve ACLs (implies --perms) )
>
> ]> getfacl test
>
> File system doesn't support aclent_t style ACL's.
>
> See acl(5) for more information on Solaris ACL support.
>
> setfacl -m g:files:rwx acltest
>
> File system doesn't support aclent_t style ACL's.
>
> See acl(5) for more information on ACL styles support by Solaris.
DID YOU "See acl(5)"? Translated into English that means see the acl
entry in section/volume 5 of the man pages. Post *after* you RTFM, if
you still don't understand.
|
|
0
|
|
|
|
Reply
|
Richard
|
8/20/2010 3:38:55 PM
|
|
On Aug 20, 10:38=A0am, "Richard B. Gilbert" <rgilber...@comcast.net>
wrote:
> SDRGuy wrote:
> > Hello All,
>
> > We are copying files using rsync with the =96A option from a solaris 2.=
6
> > ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
> > not able to get or set acl=92s. How do I set ACL=92s. =A0Will it help i=
f I
> > run rsync again without the =96A option (-A, --acls
> > preserve ACLs (implies --perms) )
>
> > ]> getfacl test
>
> > File system doesn't support aclent_t style ACL's.
>
> > See acl(5) for more information on Solaris ACL support.
>
> > setfacl -m g:files:rwx acltest
>
> > File system doesn't support aclent_t style ACL's.
>
> > See acl(5) for more information on ACL styles support by Solaris.
>
> DID YOU "See acl(5)"? =A0Translated into English that means see the acl
> entry in section/volume 5 of the man pages. =A0Post *after* you RTFM, if
> you still don't understand.
read it, I still don=92t get it, it says:
Shell-level Solaris API
The Solaris command interface supports the manipulation of ACLs. The
following Solaris utilities accommodate both ACL models:
So both acl models are supported. And it says rcp is acl aware, so is
rsync. Then why am I having this problem?
|
|
0
|
|
|
|
Reply
|
SDRGuy
|
8/20/2010 4:11:27 PM
|
|
On Aug 20, 9:21=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
> Hello All,
>
> We are copying files using rsync with the =96A option from a solaris 2.6
> ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
> not able to get or set acl=92s. How do I set ACL=92s. =A0Will it help if =
I
> run rsync again without the =96A option (-A, --acls
> preserve ACLs (implies --perms) )
>
> ]> getfacl test
>
> File system doesn't support aclent_t style ACL's.
>
> See acl(5) for more information on Solaris ACL support.
>
> setfacl -m g:files:rwx acltest
>
> File system doesn't support aclent_t style ACL's.
>
> See acl(5) for more information on ACL styles support by Solaris.
The error messages suggest that these ACLs are not compatible.
I have a few suggestions but the main issue is that ZFS uses a new
ACL model so regardless of what tool you use to migrate
the files, you're going to need to either reapply the ACLs or tweak
them because the UFS-->ZFS ACL translation can't translate all
entries because of their inherent differences.
You might have better luck by ufsdump and ufsrestore to migrate
this data.
If you were running a UFS file system on Solaris 10, you could use
tar -p or cpio -P to migrate the ACL info. Solaris 2.6 is just too old
for this support.
You can read about ZFS style ACLs, here:
http://docs.sun.com/app/docs/doc/819-5461/ftyxi?l=3Den&a=3Dview
Thanks,
Cindy
|
|
0
|
|
|
|
Reply
|
cindy
|
8/20/2010 4:30:09 PM
|
|
On 08/20/10 12:11 PM, SDRGuy wrote:
> On Aug 20, 10:38 am, "Richard B. Gilbert"<rgilber...@comcast.net>
>> DID YOU "See acl(5)"?
>
> read it, I still don�t get it, it says:
>
> Shell-level Solaris API
>
> The Solaris command interface supports the manipulation of ACLs. The
> following Solaris utilities accommodate both ACL models:
Which include "ls" and "chmod".
See "man ls" and "man chmod" sections on ACLs or google for "ZFS ACLs".
|
|
0
|
|
|
|
Reply
|
Oscar
|
8/20/2010 4:35:55 PM
|
|
SDRGuy wrote:
> On Aug 20, 10:38 am, "Richard B. Gilbert" <rgilber...@comcast.net>
> wrote:
>> SDRGuy wrote:
>>> Hello All,
>>> We are copying files using rsync with the �A option from a solaris 2.6
>>> ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
>>> not able to get or set acl�s. How do I set ACL�s. Will it help if I
>>> run rsync again without the �A option (-A, --acls
>>> preserve ACLs (implies --perms) )
>>> ]> getfacl test
>>> File system doesn't support aclent_t style ACL's.
>>> See acl(5) for more information on Solaris ACL support.
>>> setfacl -m g:files:rwx acltest
>>> File system doesn't support aclent_t style ACL's.
>>> See acl(5) for more information on ACL styles support by Solaris.
>> DID YOU "See acl(5)"? Translated into English that means see the acl
>> entry in section/volume 5 of the man pages. Post *after* you RTFM, if
>> you still don't understand.
>
> read it, I still don�t get it, it says:
>
> Shell-level Solaris API
>
> The Solaris command interface supports the manipulation of ACLs. The
> following Solaris utilities accommodate both ACL models:
>
> So both acl models are supported. And it says rcp is acl aware, so is
> rsync. Then why am I having this problem?
I don't know! I do consider it quite possible that there is something
about the files, the ACLs, or something not yet mentioned that is
causing a problem. Solaris 2.6 is something out of the dark ages!
Suppose you create mumble.txt and put two or three lines of "Now is the
time for all good men...." in it. Now add an ACL. Doe that work? If
so, try creating another empty file and with an ACL that allows you to
write to the file. Copy whatever you like into your file. Should you
wish, you can then remove write access.
|
|
0
|
|
|
|
Reply
|
Richard
|
8/20/2010 5:07:10 PM
|
|
On Aug 20, 11:30=A0am, cindy <cindy.swearin...@sun.com> wrote:
> On Aug 20, 9:21=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
>
>
> > Hello All,
>
> > We are copying files using rsync with the =96A option from a solaris 2.=
6
> > ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
> > not able to get or set acl=92s. How do I set ACL=92s. =A0Will it help i=
f I
> > run rsync again without the =96A option (-A, --acls
> > preserve ACLs (implies --perms) )
>
> > ]> getfacl test
>
> > File system doesn't support aclent_t style ACL's.
>
> > See acl(5) for more information on Solaris ACL support.
>
> > setfacl -m g:files:rwx acltest
>
> > File system doesn't support aclent_t style ACL's.
>
> > See acl(5) for more information on ACL styles support by Solaris.
>
> The error messages suggest that these ACLs are not compatible.
>
> I have a few suggestions but the main issue is that ZFS uses a new
> ACL model =A0so regardless of what tool you use to migrate
> the files, you're going to need to either reapply the ACLs or tweak
> them because the UFS-->ZFS ACL translation can't translate all
> entries because of their inherent differences.
>
> You might have better luck by ufsdump and ufsrestore to migrate
> this data.
>
> If you were running a UFS file system on Solaris 10, you could use
> tar -p or cpio -P to migrate the ACL info. Solaris 2.6 is just too old
> for this support.
>
> You can read about ZFS style ACLs, here:
>
> http://docs.sun.com/app/docs/doc/819-5461/ftyxi?l=3Den&a=3Dview
>
> Thanks,
>
> Cindy
Cindy,
Thank you for replying, but I am running ufs on solaris 2.6 and
transferring files from there to a solaris 10 zfs box.
The tool I am using is rsync, which supports acl=92s
I am not able to set acl=92s on the files which were copied over to the
zfs solaris 10 box, I need to set acl=92s, please help
|
|
0
|
|
|
|
Reply
|
SDRGuy
|
8/20/2010 5:09:14 PM
|
|
On Aug 20, 11:09=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
> On Aug 20, 11:30=A0am, cindy <cindy.swearin...@sun.com> wrote:
>
>
>
> > On Aug 20, 9:21=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
> > > Hello All,
>
> > > We are copying files using rsync with the =96A option from a solaris =
2.6
> > > ufs box to a solaris 10 zfs box. Unfortunately after the copy we were
> > > not able to get or set acl=92s. How do I set ACL=92s. =A0Will it help=
if I
> > > run rsync again without the =96A option (-A, --acls
> > > preserve ACLs (implies --perms) )
>
> > > ]> getfacl test
>
> > > File system doesn't support aclent_t style ACL's.
>
> > > See acl(5) for more information on Solaris ACL support.
>
> > > setfacl -m g:files:rwx acltest
>
> > > File system doesn't support aclent_t style ACL's.
>
> > > See acl(5) for more information on ACL styles support by Solaris.
>
> > The error messages suggest that these ACLs are not compatible.
>
> > I have a few suggestions but the main issue is that ZFS uses a new
> > ACL model =A0so regardless of what tool you use to migrate
> > the files, you're going to need to either reapply the ACLs or tweak
> > them because the UFS-->ZFS ACL translation can't translate all
> > entries because of their inherent differences.
>
> > You might have better luck by ufsdump and ufsrestore to migrate
> > this data.
>
> > If you were running a UFS file system on Solaris 10, you could use
> > tar -p or cpio -P to migrate the ACL info. Solaris 2.6 is just too old
> > for this support.
>
> > You can read about ZFS style ACLs, here:
>
> >http://docs.sun.com/app/docs/doc/819-5461/ftyxi?l=3Den&a=3Dview
>
> > Thanks,
>
> > Cindy
>
> Cindy,
>
> Thank you for replying, but I am running ufs on solaris 2.6 and
> transferring files from there to a solaris 10 zfs box.
>
> The tool I am using is rsync, which supports acl=92s
>
> I am not able to set acl=92s on the files which were copied over to the
> zfs solaris 10 box, I need to set acl=92s, please help
I should have said that rsync will not work in this case. If you move
the Solaris 2.6 UFS files to a Solaris 10 system with ufsdump/
ufsrestore,
and then use some other tool that is ACL-aware to migrate the data to
a
ZFS file system, you would have a better chance of getting this to
work.
Or, you could just try ufsdump/ufsrestore from the 2.6 UFS file system
to
a Solaris 10 ZFS file system.
Cindy
|
|
0
|
|
|
|
Reply
|
cindy
|
8/20/2010 5:15:22 PM
|
|
On Aug 20, 12:15=A0pm, cindy <cindy.swearin...@sun.com> wrote:
> On Aug 20, 11:09=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
>
>
> > On Aug 20, 11:30=A0am, cindy <cindy.swearin...@sun.com> wrote:
>
> > > On Aug 20, 9:21=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
> > > > Hello All,
>
> > > > We are copying files using rsync with the =96A option from a solari=
s 2.6
> > > > ufs box to a solaris 10 zfs box. Unfortunately after the copy we we=
re
> > > > not able to get or set acl=92s. How do I set ACL=92s. =A0Will it he=
lp if I
> > > > run rsync again without the =96A option (-A, --acls
> > > > preserve ACLs (implies --perms) )
>
> > > > ]> getfacl test
>
> > > > File system doesn't support aclent_t style ACL's.
>
> > > > See acl(5) for more information on Solaris ACL support.
>
> > > > setfacl -m g:files:rwx acltest
>
> > > > File system doesn't support aclent_t style ACL's.
>
> > > > See acl(5) for more information on ACL styles support by Solaris.
>
> > > The error messages suggest that these ACLs are not compatible.
>
> > > I have a few suggestions but the main issue is that ZFS uses a new
> > > ACL model =A0so regardless of what tool you use to migrate
> > > the files, you're going to need to either reapply the ACLs or tweak
> > > them because the UFS-->ZFS ACL translation can't translate all
> > > entries because of their inherent differences.
>
> > > You might have better luck by ufsdump and ufsrestore to migrate
> > > this data.
>
> > > If you were running a UFS file system on Solaris 10, you could use
> > > tar -p or cpio -P to migrate the ACL info. Solaris 2.6 is just too ol=
d
> > > for this support.
>
> > > You can read about ZFS style ACLs, here:
>
> > >http://docs.sun.com/app/docs/doc/819-5461/ftyxi?l=3Den&a=3Dview
>
> > > Thanks,
>
> > > Cindy
>
> > Cindy,
>
> > Thank you for replying, but I am running ufs on solaris 2.6 and
> > transferring files from there to a solaris 10 zfs box.
>
> > The tool I am using is rsync, which supports acl=92s
>
> > I am not able to set acl=92s on the files which were copied over to the
> > zfs solaris 10 box, I need to set acl=92s, please help
>
> I should have said that rsync will not work in this case. If you move
> the Solaris 2.6 UFS files to a Solaris 10 system with ufsdump/
> ufsrestore,
> and then use some other tool that is ACL-aware to migrate the data to
> a
> ZFS file system, you would have a =A0better chance of getting this to
> work.
>
> Or, you could just try ufsdump/ufsrestore from the 2.6 UFS file system
> to
> a Solaris 10 ZFS file system.
>
> Cindy
Cindy, Richard,
I greatly appreciate your attention to this as we still are trying to
figure this out.
Rsync supports acl=92s but I am still getting error messages, is there
any acl migration tool to migrate to nfs4 type acl=92s which zfs
understands?
|
|
0
|
|
|
|
Reply
|
SDRGuy
|
8/20/2010 5:51:11 PM
|
|
On Aug 20, 12:51=A0pm, SDRGuy <yeshappytra...@gmail.com> wrote:
> On Aug 20, 12:15=A0pm, cindy <cindy.swearin...@sun.com> wrote:
>
>
>
> > On Aug 20, 11:09=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
> > > On Aug 20, 11:30=A0am, cindy <cindy.swearin...@sun.com> wrote:
>
> > > > On Aug 20, 9:21=A0am, SDRGuy <yeshappytra...@gmail.com> wrote:
>
> > > > > Hello All,
>
> > > > > We are copying files using rsync with the =96A option from a sola=
ris 2.6
> > > > > ufs box to a solaris 10 zfs box. Unfortunately after the copy we =
were
> > > > > not able to get or set acl=92s. How do I set ACL=92s. =A0Will it =
help if I
> > > > > run rsync again without the =96A option (-A, --acls
> > > > > preserve ACLs (implies --perms) )
>
> > > > > ]> getfacl test
>
> > > > > File system doesn't support aclent_t style ACL's.
>
> > > > > See acl(5) for more information on Solaris ACL support.
>
> > > > > setfacl -m g:files:rwx acltest
>
> > > > > File system doesn't support aclent_t style ACL's.
>
> > > > > See acl(5) for more information on ACL styles support by Solaris.
>
> > > > The error messages suggest that these ACLs are not compatible.
>
> > > > I have a few suggestions but the main issue is that ZFS uses a new
> > > > ACL model =A0so regardless of what tool you use to migrate
> > > > the files, you're going to need to either reapply the ACLs or tweak
> > > > them because the UFS-->ZFS ACL translation can't translate all
> > > > entries because of their inherent differences.
>
> > > > You might have better luck by ufsdump and ufsrestore to migrate
> > > > this data.
>
> > > > If you were running a UFS file system on Solaris 10, you could use
> > > > tar -p or cpio -P to migrate the ACL info. Solaris 2.6 is just too =
old
> > > > for this support.
>
> > > > You can read about ZFS style ACLs, here:
>
> > > >http://docs.sun.com/app/docs/doc/819-5461/ftyxi?l=3Den&a=3Dview
>
> > > > Thanks,
>
> > > > Cindy
>
> > > Cindy,
>
> > > Thank you for replying, but I am running ufs on solaris 2.6 and
> > > transferring files from there to a solaris 10 zfs box.
>
> > > The tool I am using is rsync, which supports acl=92s
>
> > > I am not able to set acl=92s on the files which were copied over to t=
he
> > > zfs solaris 10 box, I need to set acl=92s, please help
>
> > I should have said that rsync will not work in this case. If you move
> > the Solaris 2.6 UFS files to a Solaris 10 system with ufsdump/
> > ufsrestore,
> > and then use some other tool that is ACL-aware to migrate the data to
> > a
> > ZFS file system, you would have a =A0better chance of getting this to
> > work.
>
> > Or, you could just try ufsdump/ufsrestore from the 2.6 UFS file system
> > to
> > a Solaris 10 ZFS file system.
>
> > Cindy
>
> Cindy, Richard,
>
> I greatly appreciate your attention to this as we still are trying to
> figure this out.
>
> Rsync supports acl=92s but I am still getting error messages, is there
> any acl migration tool to migrate to nfs4 type acl=92s which zfs
> understands?
Cindy, Richard,
System>chmod A3=3Dgroup@:read_data/write_data:allow testfile
system> ls -v testfile
testfile
|
|
0
|
|
|
|
Reply
|
SDRGuy
|
8/20/2010 6:13:34 PM
|
|
On 08/21/10 03:21 AM, SDRGuy wrote:
> Hello All,
Why do you keep changing your posting alias?
--
Ian Collins
|
|
0
|
|
|
|
Reply
|
Ian
|
8/20/2010 8:46:08 PM
|
|
On Aug 20, 3:46=A0pm, Ian Collins <ian-n...@hotmail.com> wrote:
> On 08/21/10 03:21 AM, SDRGuy wrote:
>
> > Hello All,
>
> Why do you keep changing your posting alias?
>
> --
> Ian Collins
Ian,
My "Posting Alias" has remained the same.
Can you assist with the question at hand please as we are stuck on
this?
|
|
0
|
|
|
|
Reply
|
SDRGuy
|
8/20/2010 9:10:19 PM
|
|
On 08/21/10 09:10 AM, SDRGuy wrote:
> On Aug 20, 3:46 pm, Ian Collins<ian-n...@hotmail.com> wrote:
>> On 08/21/10 03:21 AM, SDRGuy wrote:
>>
>>> Hello All,
>>
>> Why do you keep changing your posting alias?
>
> Ian,
>
> My "Posting Alias" has remained the same.
Well there must be a lot of you asking similar questions from the same site.
> Can you assist with the question at hand please as we are stuck on
> this?
Take the straightforward approach: copy the files then read the ACLs
from the source and set them on the destination. I had to shift several
TB of data from Solaris 9 to a zfs pool on Solaris 10 and (at the time)
this was the only solution.
An alternative (untested) might be to use Solaris 10 cpio, which is ZFS
ACL aware.
--
Ian Collins
|
|
0
|
|
|
|
Reply
|
Ian
|
8/20/2010 10:09:43 PM
|
|
rdist works with ACL's
|
|
0
|
|
|
|
Reply
|
kartikvashishta108
|
8/22/2010 1:51:57 AM
|
|
On Aug 21, 8:51=A0pm, kartikvashishta108 <kartik.u...@gmail.com> wrote:
> rdist works with ACL's
Sorry, rdist does not preserve ACL
|
|
0
|
|
|
|
Reply
|
kartikvashishta108
|
8/25/2010 2:24:13 AM
|
|
|
14 Replies
308 Views
(page loaded in 0.185 seconds)
Similiar Articles: Can I downgrade ZFS ?? - comp.unix.solarisThe problem is, I have upgraded the ZFS version using # zfs upgrade IIRC, the ... I've got a couple more disks on order, so I could use one as UFS, and move the data via ... ZFS RAIDZ versus HARDWARE RAID on SAN - comp.unix.solaris ...ZFS manual implies that it is better to put the raw ... expect people to just abandon this whole thing and move ... UFS certainly isn't. -- Darren Dunham ... mkdir: Too many links - comp.unix.solarisMulti-TB UFS.. ?? ZFS may well remove that limit. -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS ... Filesystem "automatically" damaged? - comp.unix.solaris... filled up more and more, we connected another SCSI RAID, ran format, created two UFS ... T1000/T2000 + ZFS + SAS performance - comp.unix.solaris... like to use ZFS w/ RAIDZ ... Sun Blade 1500 running Solaris 10 11/06 is choking in ufs code ...... _opaque = 0 } offset_t i_doff = 0xe10cb680 si_t *i_ufs_acl = 0 ... Loading modules: [ unix krtld genunix specfs dtrace ufs pcisch ip sctp usba s1394 fcp fctl lofs zfs ... Live Upgrade error file? - comp.sys.sun.adminProblem Description: 6657692 move p7zip file to ... Solaris Live Upgrade is ... Liveupgrade UFS -> ZFS (The dot in ... --- ...) The upgrade failed at the last minute ... Mirroring and Swap partition - comp.unix.solaris... proc proc - no - /dev/md/dsk/d10 /dev/md/rdsk/d10 / ufs 1 no - /dev/md/dsk/d30 /dev/md/rdsk/d30 /data ufs 2 ... Oracle 10g (ASM vs Veritas Clustered FS) - comp.unix.solaris ...From what I've read, ASM isn't a filesystem like UFS or ... one vendor to go to for support is a big factor in moving ... people > seem to use RMAN, our DBA's are slow ... zfs ... client: searching for jumpstart directory: not found. No entry in ...Sun should just drop their attempt and move >> on. ... No entry in ... >> wan ... solaris Loading ufs-file ... share issues - comp.unix.solaris However, the zfs file ... Chapter 7. Using ACLs to Protect ZFS FilesThe POSIX-draft based ACLs are used to protect UFS files and are translated by ... If you attempt to set a POSIX-style ACL on a ZFS file, you will see messages similar to ... Volumes - FreenasIf your disks are using an existing UFS or ZFS software ... If you will be moving a ZFS formatted drive from one system ... means that you must select the correct type of ACL ... 7/16/2012 7:51:00 AM
|