Marc Tousignant
2015-Aug-25 05:37 UTC
[syslinux] Looking for ways to save space - AKA how to boot multiple machines from the same root
I have several machines, same hardware and config, but one tiny little change.. the hostname. Each one of these diskless machines needs its own hostname. Presently my pxelinux.cfg is setup like: prompt 1 default Gentoo timeout 10 label Gentoo kernel boot/kernel-3.16.5-gentoo APPEND root=/dev/nfs rw ip=dhcp nfsroot=192.168.1.10:/RAID/diskless/XXXXX-mythtv-0.27-fixes,tcp,rsize=131072 ,wsize=131072,nfsvers=3 Where the XXXXX is the hostname. Because I have 3 of these machines I am using up 3 times the disk space. I am wondering if there is a way all 3 of them can run from the same nfsroot, but somehow have different hostnames/machine-ids. Presently the hostname comes from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/conf.d/hostname and the machine-id from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/machine-id and these are the only 2 differing files from machine to machine. Marc
Don Cupp
2015-Aug-25 14:57 UTC
[syslinux] Looking for ways to save space - AKA how to boot multiple machines from the same root
Yes it is possible. Not sure why you posted this to syslinux though. On Monday, August 24, 2015 10:46 PM, Marc Tousignant via Syslinux <syslinux at zytor.com> wrote: I have several machines, same hardware and config, but one tiny little change.. the hostname. Each one of these diskless machines needs its own hostname. Presently my pxelinux.cfg is setup like: prompt 1 default Gentoo timeout 10 label Gentoo kernel boot/kernel-3.16.5-gentoo APPEND root=/dev/nfs rw ip=dhcp nfsroot=192.168.1.10:/RAID/diskless/XXXXX-mythtv-0.27-fixes,tcp,rsize=131072 ,wsize=131072,nfsvers=3 Where the XXXXX is the hostname. Because I have 3 of these machines I am using up 3 times the disk space. I am wondering if there is a way all 3 of them can run from the same nfsroot, but somehow have different hostnames/machine-ids. Presently the hostname comes from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/conf.d/hostname and the machine-id from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/machine-id and these are the only 2 differing files from machine to machine. Marc _______________________________________________ Syslinux mailing list Submissions to Syslinux at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux
Marc Tousignant
2015-Aug-26 00:51 UTC
[syslinux] Looking for ways to save space - AKA how to boot multiple machines from the same root
Because everything I searched on for a PXELinux mailing list pointed me to here. And because PXELinux is a derivative of SYSLinux. If there is a better mailing list for my questions, please let me know. Since you say its possible, care to enlighten me on how to do so? Marc From: Don Cupp [mailto:doncuppjr at yahoo.com] Sent: Tuesday, August 25, 2015 10:58 AM To: Marc Tousignant <myrdhn at gmail.com>; syslinux at zytor.com Subject: Re: [syslinux] Looking for ways to save space - AKA how to boot multiple machines from the same root Yes it is possible. Not sure why you posted this to syslinux though. On Monday, August 24, 2015 10:46 PM, Marc Tousignant via Syslinux <syslinux at zytor.com <mailto:syslinux at zytor.com> > wrote: I have several machines, same hardware and config, but one tiny little change.. the hostname. Each one of these diskless machines needs its own hostname. Presently my pxelinux.cfg is setup like: prompt 1 default Gentoo timeout 10 label Gentoo kernel boot/kernel-3.16.5-gentoo APPEND root=/dev/nfs rw ip=dhcp nfsroot=192.168.1.10:/RAID/diskless/XXXXX-mythtv-0.27-fixes,tcp,rsize=131072 ,wsize=131072,nfsvers=3 Where the XXXXX is the hostname. Because I have 3 of these machines I am using up 3 times the disk space. I am wondering if there is a way all 3 of them can run from the same nfsroot, but somehow have different hostnames/machine-ids. Presently the hostname comes from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/conf.d/hostname and the machine-id from /RAID/diskless/XXXXX -mythtv-0.27-fixes/etc/machine-id and these are the only 2 differing files from machine to machine. Marc _______________________________________________ Syslinux mailing list Submissions to Syslinux at zytor.com <mailto:Syslinux at zytor.com> Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux
Maybe Matching Threads
- Looking for ways to save space - AKA how to boot multiple machines from the same root
- Looking for ways to save space - AKA how to boot multiple machines from the same root
- NFSroot is acting strange in CentOS5
- Read only nfsroot and diskless booting CentOS 6?
- Unable to PXE boot