Term
| how many disks and the basic information about the disks |
|
Definition
|
|
Term
|
Definition
|
|
Term
| force the kernel to re-read the updated partition table information |
|
Definition
|
|
Term
| menu driven program to partition a disk |
|
Definition
|
|
Term
| print the disk information on sdc, use parted |
|
Definition
|
|
Term
| RAID 0 - name the two types of RAID 0 |
|
Definition
| Concatenation, and Striping |
|
|
Term
|
Definition
| When stripping is used the reads and writes alternate and the speed is increased. |
|
|
Term
|
Definition
| More likely to fail, any single failure sinks the ship |
|
|
Term
|
Definition
| Mirroring, Twice the disks, but better read performance and protection from a single drive failure |
|
|
Term
| RAID 5, how much disk space stores the parity information |
|
Definition
|
|
Term
| 4 1TB disks in a RAID5 array, how much space is available on the volume |
|
Definition
|
|
Term
| Least number of disks for RAID5 |
|
Definition
|
|
Term
| Least number of disks for RAID6 |
|
Definition
|
|
Term
| command to create a software RAID1 array from sdb1 and sdc1. Call the array md0 |
|
Definition
| mdadm -vC /dev/md0 -n=2 /dev/sdb1 /dev/sdc1 -l=1 |
|
|
Term
| mdadm switch to create a new array and verbose |
|
Definition
|
|
Term
mdadm -vC /dev/md0 -n=2 /dev/sdb1 /dev/sdc1 -l=1 Break that down |
|
Definition
mdadm - softRAID admin -vC - verbose create /dev/md0 - new RAID device md0 -n=2 two block devices to use for this array -l=1 - RAID level 1 |
|
|
Term
| check the details of an array - two answers |
|
Definition
mdadm -D md0 cat /proc/mdstat |
|
|
Term
| make a RAID5 array with 4 drives |
|
Definition
| mdadm -vC /dev/md1 -n=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 -l=5 |
|
|
Term
| mark a drive (sdb1) as bad in array md1 |
|
Definition
| mdadm /dev/md1 -f /dev/sdb1 |
|
|
Term
| remove sdb1 from array md1 |
|
Definition
| mdadm /dev/md1 -r /dev/sdb1 |
|
|
Term
| you just removed a drive from the array md1, confirm that the command worked |
|
Definition
|
|
Term
| add a formatted drive sdb1 to array md1 |
|
Definition
| mdadm /dev/md1 -a /dev/sdb1 |
|
|
Term
| you have a running array, delete it |
|
Definition
mdadm -vS /dev/md0 stop it mdadm -vr /dev/md0 remove it |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
| What is the physical extent |
|
Definition
| It is like block size, but since this is a volume group the physical extent is then mapped to a logical extent, it is the mappings that make one volume out of several partitions, default is 4MB |
|
|
Term
|
Definition
|
|
Term
| what is the partition type that is used for a physical volume |
|
Definition
|
|
Term
| initialize sdb to use it for a physical volume |
|
Definition
|
|
Term
| create a volume group with the disk sdb and the partition sdc1, both have already been initialized |
|
Definition
| vgcreate VolGroup01 /dev/sdb /dev/sdc1 |
|
|
Term
| show the volume VolGroup01 |
|
Definition
|
|
Term
| look at the physical volume sdb that is in VolGroup01 |
|
Definition
|
|
Term
| create a logical volume in the volume group VolGroup01. Make it 20GB |
|
Definition
| lvcreate -L 20000 VolGroup01 |
|
|
Term
| extend a volume VolGroup01 using a new disk sdd |
|
Definition
Initialize disk: pvcreate /dev/sdd vgextend VolGroup01 /dev/sdd |
|
|
Term
| Make the logical volume lvol0 larger by 5GB |
|
Definition
| lvextend -L 5000 /dev/VolGroup01/lvol0 |
|
|
Term
| make a logical volume in VolGroup01 named VideoVol that is 50GB |
|
Definition
| lvcreate -L 50000 -n VideoVol VolGroup01 |
|
|
Term
| Where can you look at the files that have the volume information stored |
|
Definition
|
|
Term
| the three commands that can change the size of a volume |
|
Definition
lvresize lvextend lvreduce |
|
|
Term
| command to change a volume's name |
|
Definition
|
|
Term
| change the name of lvol0 to posvol1 |
|
Definition
| lvrename /dev/VolGroup01/lvolo /dev/VolGroup01/posvol1 |
|
|
Term
|
Definition
| lvremove /dev/VolGroup01/lvol0 |
|
|
Term
| you want to remove a device from the volume group, what is the first step |
|
Definition
move the data in the PEs to other available PEs pvmove /dev/sdc1 |
|
|
Term
| remove a physical volume sdc1 from a volume group |
|
Definition
| vgreduce VolGroup01 /dev/sdc1 |
|
|
Term
| remove the volume group VolGroup01 |
|
Definition
|
|