Am Mon, 29 Jun 2015 17:22:19 +0200 schrieb Thomas Orgis <[email protected]>:
> Where should I properly edit the code to work with squashfs+overlayfs? Apparently here: Index: share/xcat/netboot/rh/dracut_033/xcatroot =================================================================== --- share/xcat/netboot/rh/dracut_033/xcatroot (revision 476) +++ share/xcat/netboot/rh/dracut_033/xcatroot (working copy) @@ -52,7 +52,11 @@ mkdir -p /rw mount -t squashfs /rootimg.sfs /ro mount -t tmpfs rw /rw - mount -t aufs -o dirs=/rw:/ro mergedroot $NEWROOT + # ThOr: We want overlayfs. + mkdir -p /rw/upper + mkdir -p /rw/work + modprobe overlay + mount -t overlay -o lowerdir=/ro,upperdir=/rw/upper,workdir=/rw/work mergedroot $NEWROOT mkdir -p $NEWROOT/ro mkdir -p $NEWROOT/rw mount --move /ro $NEWROOT/ro That works to give me a booting node with squashfs+overlayfs. I got over 600 MiB more RAM available than before, and that after the addition of the NVIDIA driver. Seems to work so far, apart from some other funky trouble that might be unrelated to xcat itself, but to our config/scripts instead (bad ssh host keys when using packimage with defaults, "grep: write error" on each start of a shell). I guess a proper patch would try to check if aufs or overlayfs module is available at runtime and decide based on that. Please note that I did not have to put the overlay module into any list, it was there by default, apparently. Alrighty then, Thomas -- Dr. Thomas Orgis Universität Hamburg RRZ / Zentrale Dienste / HPC Schlüterstr. 70 20146 Hamburg Tel.: 040/42838 8826 Fax: 040/428 38 6270
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
