PINE64
xfs filesystem - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27)
+---- Thread: xfs filesystem (/showthread.php?tid=1044)

Pages: 1 2


xfs filesystem - RaimundEge - 05-14-2016

it seems that xfs filesystem support is missing in the current xenial image.

Is there a way to install it manually ?
Are there any plans to include it in the future ?


RE: xfs filesystem - RaimundEge - 05-15-2016

I understand that the longsleep kernel does not include the xfs module.

What is required to create this module from sources ?


RE: xfs filesystem - martinayotte - 05-15-2016

You need to compile a kernel from sources using longsleep environment and enable XFS module in the kernel config.


RE: xfs filesystem - RaimundEge - 05-15-2016

Thanks for the guidance.
Where do I get the longsleep environment ?

I tried apt-get source linux-source.3.10.101
but nothing is found.


RE: xfs filesystem - martinayotte - 05-15-2016

The kernel sources are located at https://github.com/longsleep/linux-pine64
The current default config is arch/arm64/configs/sun50iw1p1smp_linux_defconfig, you will have to copy that into .config at the root.
Then, you can do 'make -j12 ARCH=arm64 CROSS_COMPILE="ccache aarch64-linux-gnu-" menuconfig', navigate into "filesystems" and add "XFS" as a module.
After configured, compile is done with 'make -j12 ARCH=arm64 CROSS_COMPILE="ccache aarch64-linux-gnu-" Image modules'.


RE: xfs filesystem - coleshores - 05-15-2016

martinayotte, could you make a step by step tutorial on how to do this? Im trying to figure it out as well to put in exfat and hfsplus.
Thanks in advance


RE: xfs filesystem - martinayotte - 05-16-2016

My previous post was provided as much details I can provide to compile new kernel.
To write a more detail tutorial how to build kernel (not only Pine64, but any kernel in general), it would take time, but "time is the missing ingredient".
Anyway, there are plenty of other places on the web that can provide you help about that.


RE: xfs filesystem - longsleep - 05-16-2016

XFS will be in my next build - see https://github.com/longsleep/linux-pine64/commit/86624fd87d1751602db9ab11ea8aea807ac5371e


RE: xfs filesystem - umiddelb - 05-16-2016

(05-15-2016, 03:44 PM)coleshores Wrote: martinayotte, could you make a step by step tutorial on how to do this?  Im trying to figure it out as well to put in exfat and hfsplus.
Thanks in advance

https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device#pine64


RE: xfs filesystem - longsleep - 05-16-2016

XFS and HFS+ are included in 10.101-1-pine64-longsleep-41 (which just was published). Exfat is not a Kernel module, but uses fuse (which has been in the Kernel all the time).