I've added the option (just like you have it below) as the last line in the file, OSCAR nodes couldn't image any more. Checking the oscarmaster script shows that when the /dev/shm option is added to the .disk file, SIS tries to install to the second physical hard drive. I think that is the same problem Paul had.
To me, that is a real bug. If I need to add devices to the .disk file, OSCAR needs to interpret them in the correct order. I've solved the /dev/shm issue by dropping a post-install script in the appropriate bin. As I've brought up before, /dev/shm should added to standard OSCAR installs, as it's standard on RHEL installs. There are several cluster applications (some I can't tell you about yet) that use this device. J- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erich Focht Sent: Thursday, January 12, 2006 2:38 AM To: sisuite-devel@lists.sourceforge.net Cc: Paul Greidanus; oscar-devel@lists.sourceforge.net Subject: [Oscar-devel] Re: [Sisuite-devel] Troubles with /dev/shm Hi Paul, I'm not working on this because I don't consider it a bug. There are several ways to customize the partition table one wants on the nodes and I consider it normal that you change the partitioning for your nodes if you don't like the default. The method described in my previous email is (IMO) the best one, it gives you full control over what will happen. Alternatively: - copy the disktab file you want to adapt from /opt/oscar/oscarsamples/*.disk - edit it, i.e. in your case add a line like none - tmpfs /dev/shm defaults - select the edited disktable file when building your preferred image I hope this helps. regards, Erich On Thursday 12 January 2006 06:21, Paul Greidanus wrote: > Hi Erich, (and everyone else) > > I'm just wondering if anyone's working on this one? I've got an open > bug in Oscar waiting on a fix for this one, but I don't know the > systeminstaller code enough to propose a real fix on this one.. > > Erich Focht wrote: > > Hi Paul, > > > > how about adding a line like > > <fsinfo line="104" real_dev="none" mp="/dev/shm" fs="tmpfs" > > options="defaults" dump="0" pass="0" /> > > > > to /var/lib/systemimager/images/$IMAGE/etc/systemimager/autoinstallscript.c onf > > > > Remember to fix the "line=..." attributes (no duplicates!) and regenerate the > > autoinstallscript. > > > > It's just a workaround, the problem you describe seems to lie in > > systeminstaller... > > > > Regards, > > Erich > > > > > > On Tuesday 29 November 2005 18:18, Paul Greidanus wrote: > >> Hi all, > >> > >> I was trying to add /dev/shm to a SIS built image (in oscar), and I > >> found that I couldn't add it to the disks file because it assumed that I > >> then had 2 disks, and set up disk0 as /dev/null. > >> > >> Would it be possible to have whatever fills in GENERATE_FSTAB in the > >> autoinstall script add a /dev/shm mount? Or would it make sense to keep > >> whatever parses disks template files to not think that /dev/null is a > >> real disk? > >> > >> The fstab line should look like this: > >> none /dev/shm tmpfs defaults 0 0 > >> > >> Thanks ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Oscar-devel mailing list Oscar-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-devel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel