#! /bin/bash
#
Cat <<eof
d| D) Show disk usages
m| M) Show memory usages
s| S) Show swap usages
*) quit
Eof
Read-p "Your Choice:" Choice
while [$CHOICE! = ' quit '];d o
Case $CHOICE in
d| D
echo "Disk usage:"
DF-PH;;
m| M
echo "Memory usage:"
Free-m |grep "Mem";;
s| S
echo "Swap usage:"
Free-m |grep "Swap";;
*)
echo "Unknown ..."
Exit 9;;
Esac
Read-p "Again, Yourchoice:" CHOICE
Done
Raid:
Level: only means the disk organization is different, there is no subordinate points
0: Strip
Performance improvement: Read/write
Redundancy capability (fault tolerance): none
Space utilization: NS
At least two plates.
Mirror
Performance: Write feature down, read performance improvement
Redundancy capability: Available
Space utilization: 1/2
At least 2 pieces of disk
5.
Improved reading and writing skills
Yes
(n-1)/n
At least 3 pieces of disk
10.
Improved reading and writing skills
Yes
1/2
At least 4 plates required
01.
Improved reading and writing skills
Yes
1/2
At least 4 plates required
30h
Improved reading and writing skills
Yes
(n-2)/n
At least 6 plates required
Jbod
No
No
1
At least 2 plates required
Marco 10-1