Re: [lustre-discuss] Can not mount ZFS-based device

2020-08-04 Thread Andreas Dilger
On Aug 4, 2020, at 4:57 AM, yangshengwang2011  wrote:
> 
> Hi,
> 
> 
> I can not mount a ZFS-based device when install the lustre servers.
> 
> 
> Information in syslog is,
> 
> # kernel:osd_zfs: Unknown symbol zfs_refcount_add (0)
> 
> # kernel:LustreError:158-c: Can't load module 'osd-zfs'
> 
> 
> And the message when insmod osd_zfs.ko  manually is:
> 
> # kernel:osd_zfs: Unknown symbol zfs_refcount_add (0)

It looks like Lustre was not built against the version of ZFS that
was installed on the system.  You need to re-run autogen.sh,
configure, then rebuild the Lustre modules against the version
of ZFS installed on the node.

Cheers, Andreas

> 
> 
> 
> System information:
> 
> distribution name  | centos 7.6
> 
> Linux kernel   | 3.10.0-957.27.2_el7
> 
> Architecture   | x86_64
> 
> Lustre version   | 2.12.5
> 
> ZFS version   | 0.8.1
> 
> 
> 
> What should i do for this situation?
> 
> 
> 
> Sincerely  thanks!
> 
> ___
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Cheers, Andreas







signature.asc
Description: Message signed with OpenPGP
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Re: [lustre-discuss] Upgraded Lustre client now has SElinux failure

2020-08-04 Thread Daniel Rodwell
Hi Kevin

We've hit the same issue, and reported it up to Whamcloud support. It's being 
actively worked on.

The public LU and patch is being tracked on LU-13742 
(https://jira.whamcloud.com/browse/LU-13742).

Initially we bypassed the issue by setting SELinux to explicitly disabled to 
get the client mount working on a particular host. The mount fails if SELinux 
is set to permissive or targeted. This approach may or may not be appropriate 
for your environment of course :D

Regards,
Daniel.

--
Daniel Rodwell
Manager, Data Storage Services
National Computational Infrastructure
The Australian National University
Canberra ACT 2601 Australia



> On 5 Aug 2020, at 4:01 am, Kevin M. Hildebrand  wrote:
> 
> Hi, I just updated a RedHat machine from RHEL8.1 to RHEL8.2, and Lustre from 
> 2.12.4 to 2.12.5.  I've built the lustre client from source, using Mellanox 
> OFED 5.0-2.1.8.0.
> 
> After the update, I can no longer mount my Lustre filesystem- I'm getting the 
> following error:
> 
> # mount /lustre
> [ 1482.866631] Lustre: Mounted scratch-client
> [ 1482.882120] SELinux: (dev lustre, type lustre) has no security xattr 
> handler
> [ 1483.048469] Lustre: Unmounted scratch-client
> 
> Has anyone else seen this issue?  
> 
> Thanks,
> Kevin
> 
> --
> Kevin Hildebrand
> University of Maryland
> Division of IT
> ___
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] Upgraded Lustre client now has SElinux failure

2020-08-04 Thread Kevin M. Hildebrand
Hi, I just updated a RedHat machine from RHEL8.1 to RHEL8.2, and Lustre
from 2.12.4 to 2.12.5.  I've built the lustre client from source, using
Mellanox OFED 5.0-2.1.8.0.

After the update, I can no longer mount my Lustre filesystem- I'm getting
the following error:

# mount /lustre
[ 1482.866631] Lustre: Mounted scratch-client
[ 1482.882120] SELinux: (dev lustre, type lustre) has no security xattr
handler
[ 1483.048469] Lustre: Unmounted scratch-client

Has anyone else seen this issue?

Thanks,
Kevin

--
Kevin Hildebrand
University of Maryland
Division of IT
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] Can not mount ZFS-based device

2020-08-04 Thread yangshengwang2011
Hi,


I can not mount a ZFS-based device when install the lustre servers.


Information in syslog is,

# kernel:osd_zfs: Unknown symbol zfs_refcount_add (0)

# kernel:LustreError:158-c: Can't load module 'osd-zfs'


And the message when insmod osd_zfs.ko  manually is:

# kernel:osd_zfs: Unknown symbol zfs_refcount_add (0)



System information:

distribution name  | centos 7.6

Linux kernel   | 3.10.0-957.27.2_el7

Architecture   | x86_64

Lustre version   | 2.12.5

ZFS version   | 0.8.1



What should i do for this situation?



Sincerely  thanks!

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Re: [lustre-discuss] systemd lnet/rdma conflict

2020-08-04 Thread Mohr Jr, Richard Frank


> On Jul 17, 2020, at 2:20 PM, Mohr Jr, Richard Frank  wrote:
> 
> 
> 
>> On Jul 17, 2020, at 1:41 PM, Andreas Dilger  wrote:
>> 
>> 
>> Rick,
>> would you be able to put this in the form of a patch against 
>> lustre/scripts/systemd/lnet.service so that this is working
>> well for everyone.  You could use LU-9673 for this.
>> 
> 
> Sure, but I would be interested in getting verification from Chris (or 
> someone else) that it works just to make sure this isn’t something that is 
> only working for me.  

Andreas,

I was in contact which Chris Coffey and was able to verify that he got the 
systemd scripts working. It seems one of the key parts was also adding a 
lustre-client service to ensure lustre was mounted/unmounted in the right 
order.  I will try to get a patch submitted this week for the lnet service 
script.

—Rick

___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org