Re: AGL / NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vahid,

No, you can't use NFS because extended attributes are not handled at filesystem
level but they are required to use SMACK.

That's why we added support for netboot through NBD (network block device at
kernel level, filesystem agnostic).

The goal is to have the rootfs mounted on a device named /dev/nbd0. On server
side, a daemon is responsible for pushing the required blocks.

The chain is something like this:

    [--------- target ----------]                        [----- server ------]

ext4 FS -> block device (nbd0) -> nbd-client --(tcp)--> nbd-server -> ext4 image


To enable the NBD feature, you'll have to add the 'agl-netboot' feature at
aglsetup time.

Check this README:

https://git.automotivelinux.org/AGL/meta-agl/tree/meta-netboot/README

You can also find an example script to be run on server side (it's suited for
the AGL docker container which is a debian):

https://git.automotivelinux.org/AGL/docker-worker-generator/tree/INSTALL/tools/scripts_netboot/run_xnbd_server

Hope this helps.
---
Stephane Desneux - CTO - IoT.bzh
stephane.desneux@xxxxxxx - www.iot.bzh

On 03/08/2019 09:16, Vahid Gharaee wrote:
> Dear all,
> 
> Could anyone tell me if it's possible to run AGL over NFS?
> I mean, because SMACK is used, I could not use NFS.
> I need NFS to debug more easily.
> 
> Thank you in advanced.
> Vahid 
> 
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
> 
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux