I'm sure this is a simple one, but I can't find the answer:

When booting my stateless node, the initrd loads without a problem, but
downloading the rootimg fails. My rootimage.tar.gz is 442 MB, a fairly
normal size as far as I can tell.

The error message is actually "no such file or device" but I already
determined that the real problem is that the root file system in the initrd
is too small to hold the rootimg.tar.gz.

When I strip down the rootimg.tar.gz to the bare minimum (363 MB), the
download completes, but extracting the image fails with an error "no space
left on the device".

How do I generate an initrd with more space in the root fs?

Here is my osimage :

Object name: rhels7.4-x86_64-netboot-hpccn
    exlist=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.exlist
    imagetype=linux
    osarch=x86_64
    osdistroname=rhels7.4-x86_64
    osname=Linux
    osvers=rhels7.4
    otherpkgdir=/install/post/otherpkgs/rhels7.4/x86_64

otherpkglist=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.otherpkgs.pkglist

partitionfile=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.cfglocaldisk
    permission=755
    pkgdir=/install/rhels7.4/x86_64
    pkglist=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.pkglist
    postinstall=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.postinstall
    profile=hpccn
    provmethod=netboot
    rootimgdir=/install/netboot/rhels7.4/x86_64/hpccn
    synclists=/install/custom/netboot/rh/hpccn.rhels7.4.x86_64.synclist

And here is how I generate the image:

/opt/xcat/bin/genimage rhels7.4-x86_64-netboot-hpccn
/opt/xcat/sbin/packimage --method=tar rhels7.4-x86_64-netboot-hpccn

Thanks!

-- 

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS |
kke...@sandiego.edu
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859
<%28619%29%20260-2298>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to