Note: The fdisk utility in Linux is very similar to the same-named utility in Wi
ID: 3737808 • Letter: N
Question
Note: The fdisk utility in Linux is very similar to the same-named utility in Windows and allows you to do the same things. Such as:
• View disk partitions
• Create new partitions
• Change partition types
• Delete partitions
1. What is the primary utility used to manage MBR partitions?
2. Due to its power, how must one be logged in as to use the fdisk utility?
3. Which fdisk command would you use to see any existing partitions?
4. What is the maximum number of partitions supported by MBR without creating an extended partition?
5. Which newer partitioning scheme is managed by the gdisk utility?
6. Name the six advantages of using GPG instead of MBR partitions? Answer:
7. What is the purpose of the parted command? Answer: 8. What does mkpart command allow you to do? Answer:
9. The Logical Volume Manager (LVM) an alternative for? Answer:
10. One of the strengths of LVM is that it allows you to dynamically add space to the system. Explain this concept. Answer:
11. What are the three steps for creating a logical volume? Answer:
12. Explain what the pvcreate command does when defining physical volumes? Answer: HW –
13. Once you have got our physical volumes defined, you assign those physical volumes to the volume group. This takes the space on those physical volumes and allocates it to the volume group that can then be later on assigned to a logical volume. Which command would you use to do this?
14. Explain the purpose of the lvcreate command.
15. Explain the purpose of the mkfs –t command
16. List all of the file systems supported by Linux.
17. What is the difference between fdisk and gdisk?
18. Explain the purpose of the mkskwap command.
19. Explain the purpose of the mount and umount commands.
20. Explant the purpose of the fsck utility.
Explanation / Answer
1. What is the primary utility used to manage MBR partitions?
Ans: The primary utility in UNIX systems which is used to manage MBR parttions is called fdisk.
2. Due to its power, how must one be logged in as to use the fdisk utility?
Ans: Due to its power, one must be logged as root in order to use the fdisk utility.
3. Which fdisk command would you use to see any existing partitions?
Ans: To see any existing partitions we can use the command fdisk -l which will show all the details of the partitions
4. What is the maximum number of partitions supported by MBR without creating an extended partition?
Ans: At max 4 primary partitions is supported by MBR without creating an extended partition.
5. Which newer partitioning scheme is managed by the gdisk utility?
Ans: A newer paritioning scheme or Globally Unique Identifier (GUID) Partition Table (GPT) is managed by gdisk utility.
6. Name the six advantages of using GPT instead of MBR partitions?
Ans: 1. GPT allows more than 4 primary partition
2. The partitioning and boot data in GPT is stored in more than one place but in case of MBR it is stored in only one space, if it gets corrupt then the system stops functing. But in GPT as it is store in multiple places probability of all of the place is very less.
3. GPT uses cyclic redundancy check or CRC in order to check the validity of data, MBR doesnot have any such measures
4. in GPT file systems and paritions can be much larger than in MBR
5. GPT is more advanced and modern than MBR
6. Nearly all modern operating systems supports GPT, which is not true in case of MBR
7. What is the purpose of the parted command?
Ans: parted command is used to create and manage partitions in a hard disk
8. What does mkpart command allow you to do?
Ans: makepart command used to make a partition on an already existing partition without creating a file system on that partition.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.