<post>
mkdir /scratch
</post>
> Add sda5 to fstab to mount it
It should be added automatically. If it doesn't just add manually in
the post section after the mkdir:
<post>
mkdir /scratch
echo "fatab line you want" >> /etc/fstab
</post>
> Stop it from making sda5 ext2 (should scratch be ext4?)
you can use the option --fstype=
part /scratch --size 1 --grow --ondisk sda --fstype=ext4" >
You might wanna turn off journalling on the scratch partition if you use ext4.
Sincerely,
Luca
>
> All in extend-compute?
>
>
> Now in trying to get the nodes to partition correctly I find that neither
> putting the stanza in extend-compute or replace partition results in any
> change to the partition sizes. Some other elements in extend-compute are
> obviously working because I can see the results.
>
> echo "clearpart --all --initlabel --drives=sda
> part / --size 20100 --ondisk sda
> part /var --size 8100 --ondisk sda
> part swap --size 8100 --ondisk sda
> part /scratch --size 1 --grow --ondisk sda" >
> /tmp/user_partition_info
>
>