Hi Marcelo:

Okay I see the behaviour even with the latest version of SystemImager,
can you please file a bug in our Trac page:

http://svn.oscar.openclustergroup.org/trac/oscar/newticket

BTW, besides fdisk not seeing it as a swap partition correctly, do you
encounter any other problems...?

Cheers,

Bernard

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Marcelo M. Garcia
> Sent: Monday, September 11, 2006 12:14
> To: oscar-users@lists.sourceforge.net
> Subject: Re: [Oscar-users] How to re-install just the 
> processing nodes?
> 
> Hi Bernard.
> 
>   I reinstalled our cluster to see if the problem of swap partition 
> persists. I use Scientific Linux 4.1 and OSCAR 4.2. 
> 
>   The problem is the id of the swap partition in the nodes, it is 83 
> (linux) instead of 82 (swap). The system reports the right 
> amount (4GB) 
> of  "swap partition" when I use commands like "top" or 
> "free", but when 
> I look with fdisk, it  lists as "Linux partition"
> 
>   Below are my autoinstallscript.conf and the partition 
> layout in one of 
> the nodes (nanomol01). The swap partition should be /dev/hda5.
> 
>   Thanks for your attention.
> 
> Marcelo
> 
> 
> ===========================================================
> [EMAIL PROTECTED] mpi]$ more 
> /var/lib/systemimager/images/oscarimage/etc/systemimager/autoi
> nstallscript.conf
> <!--
>         This autoinstallscript.conf file was generated by 
> SystemInstaller
>         for use by SystemImager when creating the autoinstall script.
>         This file generated at: 2006-9-5 15:10:50
>         from: /opt/oscar/scripts//opt/oscar/oscarsamples/ide.disk
>         Image directory: /var/lib/systemimager/images/oscarimage
> -->
> <config>
>         <disk dev="/dev/hda" label_type="msdos" 
> unit_of_measurement="MB">
>                 <part num="1" size="24" p_type="primary" />
>                 <part num="2" size="10000" p_type="primary" />
>                 <part num="3" size="*" p_type="extended" />
>                 <part num="5" size="4096" p_type="logical" />
>                 <part num="6" size="*" p_type="logical" />
>         </disk>
>         <fsinfo line="100" real_dev="/dev/hda2" mp="/" fs="ext3" 
> options="defaults" dump="1" pass="2" />
>         <fsinfo line="101" real_dev="/dev/hda5" mp="swap" fs="swap" 
> options="defaults" dump="0" pass="0" />
>         <fsinfo line="102" real_dev="/dev/hda6" mp="/backup" 
> fs="ext3" 
> options="defaults" dump="1" pass="2" />
>         <fsinfo line="103" real_dev="/dev/hda1" mp="/boot" fs="ext3" 
> options="defaults" dump="1" pass="2" />
>         <fsinfo line="104" real_dev="/dev/fd0" mp="/mnt/floppy" 
> fs="auto" options="noauto,owner" dump="0" pass="0" />
>         <fsinfo line="105" real_dev="none" mp="/dev/pts" fs="devpts" 
> options="defaults" dump="0" pass="0" />
>         <fsinfo line="106" real_dev="none" mp="/proc" fs="proc" 
> options="defaults" dump="0" pass="0" />
>         <fsinfo line="107" real_dev="nfs_oscar:/home" mp="/home" 
> fs="nfs" options="rw" dump="0" pass="0" />
>         <boel devstyle="devfs" />
> </config>
> 
> 
> =================================================================
> [EMAIL PROTECTED] ~]# fdisk /dev/hda
> 
> The number of cylinders for this disk is set to 4863.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> 
> Command (m for help): p
> 
> Disk /dev/hda: 40.0 GB, 40000000000 bytes
> 255 heads, 63 sectors/track, 4863 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1               1           3       24066   83  Linux
> /dev/hda2               4        1278    10241437+  83  Linux
> /dev/hda3            1279        4863    28796512+   5  Extended
> /dev/hda5            1279        1800     4192933+  83  Linux
> /dev/hda6            1801        4863    24603516   83  Linux

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to