[OmniOS-discuss] extended attributes in LX zone
Michael Talbott
mtalbott at lji.org
Fri Sep 30 22:57:26 UTC 2016
Bummer. Oh well. How about presenting a zvol as a raw device like shown here: http://docs.oracle.com/cd/E19253-01/819-5461/gbebi/index.html <http://docs.oracle.com/cd/E19253-01/819-5461/gbebi/index.html>
I did this, shutdown and rebooted the zone.. and the path the the volume appears under /dev/zvol/dsk/ssdpool/ but that directory is empty when it should contain the name of my zvol :(
I figure if I can get that working, then I could format that vol in ext4 so it'd have a way of properly handling xattrs (or so I hope).. Otherwise.. I guess I could present a zvol as an iscsi volume to the linux host/zone/entity and then format that ext4 over iscsi, but I'd rather not add the networking stack in there if I don't have to.
Any ideas on getting zvols as raw devices in an lx zone?
________________________
Michael Talbott
Systems Administrator
La Jolla Institute
> On Sep 30, 2016, at 3:40 PM, Dale Ghent <daleg at omniti.com> wrote:
>
>
>> On Sep 30, 2016, at 5:30 PM, Michael Talbott <mtalbott at lji.org> wrote:
>>
>> So I've hit a bit of a brick wall in my testing to get BeeGFS working in an LX zone :( The metadata server needs extended attributes. I know zfs has a different implementation of EAs, but they are there.. So.. Is it possible for an LX zone to somehow use them with native linux tools like getfattr, setfattr, etc? I tried adding xattr and user_xattr to the zone's fstab file hoping just maybe it was that simple, but, no dice. Any ideas?
>
> No support for linux get/setxattr syscalls right now in LX brants other than superficial faking to please certain circumstances:
>
> https://grok.elemental.org/source/xref/io-lx-public/usr/src/uts/common/brand/lx/syscall/lx_xattr.c#33
>
> /dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160930/6c9b6d1c/attachment.html>
More information about the OmniOS-discuss
mailing list