Difference between revisions of "SYA710-midterm"
Milton.paiva (talk | contribs) |
Milton.paiva (talk | contribs) (→Example Midterm Test Questions) |
||
Line 25: | Line 25: | ||
2. Describe the process of use LVM to extent a partition | 2. Describe the process of use LVM to extent a partition | ||
− | 1st COMMAND: fdisk /dev/sdb # create two partitions | + | 1st COMMAND: fdisk /dev/sdb # create two partitions sdb1 and sdb2 |
− | 2nd COMMAND: mkfs -t | + | 2nd COMMAND: mkfs -t ext3 /dev/sdb1; mkfs -t ext3 /dev/sdb2 |
3rd COMMAND: pvcreate /dev/sdb1 /dev/sdb2 | 3rd COMMAND: pvcreate /dev/sdb1 /dev/sdb2 | ||
− | 4th COMMAND: | + | 4th COMMAND: vgcreate /dev/sdb1 /dev/sdb2 |
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Revision as of 18:28, 24 November 2008
Example Midterm Test Questions
1. List the 5 steps (exact commands) you would enter in order to format an ext3 file system on hard drive partition /dev/sdb2, label it BACKUP, set its maximum mount count to 50, check it for errors and mount it on directory /mnt. You should assume the mount point and the hard drive partition already exist and that the partition has never been formatted. [ Each command is worth one mark. ] 1st COMMAND: _____________________________________ 2nd COMMAND: _____________________________________ 3rd COMMAND: _____________________________________ 4th COMMAND: _____________________________________ 5th COMMAND: _____________________________________
2. Describe the process of use LVM to extent a partition 1st COMMAND: fdisk /dev/sdb # create two partitions sdb1 and sdb2 2nd COMMAND: mkfs -t ext3 /dev/sdb1; mkfs -t ext3 /dev/sdb2 3rd COMMAND: pvcreate /dev/sdb1 /dev/sdb2 4th COMMAND: vgcreate /dev/sdb1 /dev/sdb2