Which of the following commands can only be used to create partitions
on a GPT hard disk?
a. gdisk
b. cfdisk
c. fdisk
d. parted - ANSWER a. gdisk
After a partition on a hard disk is formatted with a filesystem, all
partitions on that hard disk drive must use the same filesystem. True or
False?
a. True b. False - ANSWER b. False
You want to see the filesystems that are in use on the system. What
command could you use? (Choose all that apply.)
a. cat /etc/fstab
b. df -T
c. cat /etc/mtab
d. ls /sys/block - ANSWER b. df -T
c. cat /etc/mtab
Jim has just installed two new SAS SSDs in his system. He properly
installs the hardware in his machine. Before he can use them for data
storage and retrieval, what must he do? (Choose all that apply.)
a. Mount the two SSDs so they are accessible by the operating system.
b. Mount a filesystem to each of SSDs.
c. Create one or more partitions on each of the SSDs.
d. Use the vi editor to edit /etc/mtab and create an entry for the SSDs.
e. Mount any partitions created on the two SSDs such that they are
accessible by the operating system.
f. Format any partitions created on the SSDs with a valid filesystem
recognized by Linux. - ANSWER c. Create one or more partitions on
each of the SSDs.
, e. Mount any partitions created on the two SSDs such that they are
accessible by the operating system.
f. Format any partitions created on the SSDs with a valid filesystem
recognized by Linux.
Given the following output from /etc/fstab, which filesystems will be
automatically checked on boot by the fsck command?/dev/sda1 / ext4
defaults 1 1none /dev/pts devpts gid=5,mode=620 1 0none /proc proc
defaults 0 1none /dev/shm tmpfs defaults 1 0/dev/sdc2 swap swap
defaults 0 1/dev/dvd /media/dvd iso9660 noauto,ro 0 0
a. none, as fsck must be run manually for each filesystem
b. /, /dev/pts, and /dev/shm
c. /, /proc, and swap
d. all of them, as fsck is run automatically at boot for all filesystems -
ANSWER c. /, /proc, and swap
A user mounts a device to a mount point directory and realizes afterward
she needs files previously found within the mount point directory. What
should this user do?
a. Nothing; the files are lost and cannot ever be accessed.
b. Nothing; the files could not have been there because you can only
mount to empty directories.
c. Unmount the device from the directory.
d. Run the fsck command to recover the file.
e. Look in the lost+found directory for the file. - ANSWER c. Unmount
the device from the directory.
Which command is used to display the amount of free space that exists
on a filesystem?
a. fsck
b. quota
c. du
d. df - ANSWER d. df
What must you do to successfully run the fsck command on a
filesystem?
a. Run the fsck command with the -u option to automatically unmount
the filesystem first.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller luzlinkuz. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.