User:Asc: Difference between revisions

From FAIWiki
Jump to navigation Jump to search
No edit summary
(clean uo)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


I am Andreas.
I am Andreas.
-----
These are some ideas, if you think they need a other location feel
free to move. But leave a short message that I can remove it from this page.


------
------
I have found a intresting thing for using RAID with setup storage.
Also a RAID 1 with one drive is allowed with setupstorage.
<pre>
disk_config disk1 bootable:1
primary  -              50    -        -
logical  -              800    -        -
logical  -              3000-  -        -
disk_config raid
raid1        /boot  disk1.1            ext2        rw,errors=remount-ro
raid1        swap    disk1.5            swap        sw
raid1        /      disk1.6            ext3        rw
</pre>
After installation you can expand it with:
<pre>
mdadm --grow -n 2
</pre>
to a real raid. Then you must rebuild it like one disk has failed.
------------
class/51-host-add-softupdate-classes
<pre>
#! /bin/bash
# set -xv
# For debugging add classes in /var/lib/fai/FAI_CLASSES
if [ "$action" = "softupdate" ] ; then
  (ifclass DEMO) || echo "DEMO"
fi
</pre>
exit 0

Latest revision as of 06:15, 26 October 2016

Hello,

I am Andreas.


These are some ideas, if you think they need a other location feel free to move. But leave a short message that I can remove it from this page.