14 lines
363 B
Bash

./fs-26097.sh -izpis
./fs-26097.sh -ustvari /dev/sdb ext2
./fs-26097.sh -posodobi /dev/sdb1
mkdir ~/data
./fs-26097.sh -priklopi /dev/sdb1 ~/data
./fs-26097.sh -ustvariraid /dev/sdc /dev/sdd
./fs-26097.sh -izpisraid
./fs-26097.sh -hotspare /dev/sde
./fs-26097.sh -izpisraid
mkdir ~/raid
./fs-26097.sh -filesistem /dev/md0
./fs-26097.sh -priklopi /dev/md0 ~/raid