Did you try to add the '--noupdateinitrd' as a parameter like 'osimage=xxx
--noupdateinitrd' in chain table? It should work.


Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: w...@cn.ibm.com
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Russell Jones <russell-l...@jonesmail.me>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>,
Date:   2014/04/17 00:22
Subject:        [xcat-user] xCAT diskfull image and custom initrd drivers



Hi all,

Every time a cluster is redeployed with a diskfull osimage, it takes a
very, very long time due to it rebuilding the initrd for every single node
to include our custom drivers. Example:

[root@master ~]# ps aux | grep cpio
root     22435  0.0  0.0  11296  1288 ?        S    11:07   0:00 sh -c
cd /tmp/ddtmpmH2w9vo/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmpmH2w9vo/initrd_img/modules/modules.cgz 2>&1
root     22437  0.0  0.0   8420   712 ?        S    11:07   0:00 cpio -o -H
crc
root     23258  0.0  0.0  11296  1288 ?        S    11:13   0:00 sh -c
cd /tmp/ddtmp8zxIDN9/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmp8zxIDN9/initrd_img/modules/modules.cgz 2>&1
root     23260  0.0  0.0   8420   716 ?        D    11:13   0:00 cpio -o -H
crc
root     23282  0.0  0.0  11296  1284 ?        S    11:14   0:00 sh -c
cd /tmp/ddtmpf3rzSJ8/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmpf3rzSJ8/initrd_img/modules/modules.cgz 2>&1
root     23285  0.0  0.0   8420   716 ?        S    11:14   0:00 cpio -o -H
crc
root     23396  0.0  0.0  11296  1284 ?        S    11:15   0:00 sh -c
cd /tmp/ddtmpwWNUmJC/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmpwWNUmJC/initrd_img/modules/modules.cgz 2>&1
root     23398  0.1  0.0   8420   712 ?        S    11:15   0:00 cpio -o -H
crc
root     23424  0.0  0.0  11296  1288 ?        S    11:15   0:00 sh -c
cd /tmp/ddtmpxPdAop2/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmpxPdAop2/initrd_img/modules/modules.cgz 2>&1
root     23426  0.0  0.0   8420   716 ?        S    11:15   0:00 cpio -o -H
crc
root     23600  0.0  0.0  11296  1288 ?        S    11:17   0:00 sh -c
cd /tmp/ddtmpx1_N0Oq/modules; find . -print | cpio -o -H crc | gzip -9
> /tmp/ddtmpx1_N0Oq/initrd_img/modules/modules.cgz 2>&1
root     23602  0.2  0.0   8420   712 ?        D    11:17   0:00 cpio -o -H
crc



I know there is a flag for nodeset to tell it to not rebuild the initrd,
but this doesn't help with an osimage install that is done via chain. Is
there a way to tell xCAT to just build the initrd once, and not rebuild it
over and over again for each individual compute node when it encounters the
osimage install via the chain table?

Thanks!
------------------------------------------------------------------------------

Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to