Question

In: Computer Science

An executive asks you to allocate additional disk space for someone. You respond that you don't...

An executive asks you to allocate additional disk space for someone. You respond that you don't have the disk space, but are told "Make space , this person is important". Soon the same request is made by another person you are told "You did it for last person , this person is just as important ". How would you handle this situation, keeping in mind it may happen in the future again ? Answer needed in terms of Linux.

Solutions

Expert Solution

This is a most common issue faced while handling disk space in Linux. But its mandatory to manage the disk space for better performance of the operating system. In the early times unix and later linux ,disks where physically large but very small in terms of storage. A 300 megabyte disk was present in the mid-90’s which was the size of a shoebox. But now, we can get multi-terrabyte disks that are the size of a slice of bread.

In traditional, the files resided within a file systems that resided in disk partitions that were themselves simply slices of disks. Nowadays, most of our file systems are virtual which are  much far easier to handle as well as easy to resize according to the needs.Thus we might end up thinking that if the disks were virtual it would have more ease of handling storage spaces. In fact there are a lot of ways for the management of disk.

DISK MANAGEMENT:

The system admin's are generally responsible for managing disks. They may face a lot of issues in managaing disk includes:

  • Partitioning disks
  • Creating file systems
  • Mounting file systems
  • Sharing file systems
  • Monitoring free space within file systems
  • Backing up file systems

Partitioning disks:

The key reasons to partition a disk includes protecting some file systems from running out of space,improving performance, facilitating maintenance and backups,allocating swap space , more efficient fsck,reserving enough space for file system expansion,maintaining multiple operating system and so on.

LINUX PARTITIONING COMMANDS:

In most of the servers the partitioning is done before the deployment. Sometimes , we might add disks later and can also hold back some significant amount of disk space for future use. The various partitioning commands are as follows:

  1. fdisk/dev/sda : Used for verifying partitions or to make changes in it.
  2. df: Used for examining disk partitioning and reporting on disk space usage. It gives out the measurements in most human friendly format.
  3. pydf: Used to display disk space usage, along with mount point and small illustrations on how full each partition is.
  4. parted: Used to display the partitioning information in different format.
  5. lsblk: Used for illustrating  the relationship between disks and their partitions graphically and it also supplies the major and minor device numbers and mount points.
  6. fdisk: Used for creating or deleting partitions, list unpartitioned space, change a partition type, or verify the partition table.
  7. iostat: Used to display statistics that illustrate how disks are performing, which includes how heavily they are being used. Most importantly for our focus on disks, the %iowait is very low.

8. smartctl: Used for providing valuable measurements that might help us to pointout disk problems, particularly once we get used to working with its extensive output.

There are a lot of other commands also for the proper management of disk and disk space,but these are the most important and most commonly used one.Using the above commands periodically has a lot of advantages as the easiest way to sort out  problems is becoming so used to the output of commands such as these commands easily spot out the various kind of differences that might indicate problems to the disk,diskspace and operating system and also helps us to exapand disk space for any further future needs.


Related Solutions

the enemy? how will you respond?( how will you treat someone who hates you as a...
the enemy? how will you respond?( how will you treat someone who hates you as a minority, and suddenly this person is shot and unconscious and need assistance. There is no one to give the assistance but those he hates. how will you respond to this?)
What option in Virtual Box allows you to add additional virtual hard disk to a virtual...
What option in Virtual Box allows you to add additional virtual hard disk to a virtual machine? (Take screenshots of the steps)
As a policymaker, how would you convince someone to allocate financial resource to address important issue...
As a policymaker, how would you convince someone to allocate financial resource to address important issue such as plastic waste? Please be thorough in your explanation.
A user continually gets the following warning message that his hard disk space is low: ``You...
A user continually gets the following warning message that his hard disk space is low: ``You are running out of disk space on drive C:``. He says he knows his disk space is low, but he doesn`t have time to deal with the problem. He would like to know if there is a way to disable the message. Can this warning be disabled? Is so, how? Is it advisable to do so? Write an email response to the user with...
As an energetic executive at Ford Motor Company, you are ready to compile your additional findings...
As an energetic executive at Ford Motor Company, you are ready to compile your additional findings in order to present your conclusions before a board of investors. For the final part of your course project, questions are provided below for you to incorporate into your final presentation to include: What type of good and/or service does Ford Motor Company produce and/or provide? Describe factors that lead to the market failure of Ford Motor Company? Explain whether the involvement of the...
A friend knows “someone” in financial difficulty and asks you to explain how bankruptcy process is...
A friend knows “someone” in financial difficulty and asks you to explain how bankruptcy process is initiated, what happens when in bankruptcy, the consequences to secured creditors, general creditors and governmental creditors, and the consequences to the debtor.
Write a story about don't give feedback when you are upset at a workplace. If someone...
Write a story about don't give feedback when you are upset at a workplace. If someone criticize you and your are upset.
Can someone please explain these problems, I don't understand, please and thank you!! The patients in...
Can someone please explain these problems, I don't understand, please and thank you!! The patients in the Digoxin trial dataset can be considered a population of people suffering from heart failure. These patients were examined before the drug trial began, and their heart rate and blood pressure were recorded. The mean and standard deviation of the variables are listed below. Each variable follows a normal distribution. Heart rate (beats/min)                          μ = 78.8            σ = 12.66 Systolic blood pressure (mmHg)             μ...
Pretend like someone in another field who uses statistics (e.g. a psychologist, etc.) asks you to...
Pretend like someone in another field who uses statistics (e.g. a psychologist, etc.) asks you to explain the difference between the t distribution and the normal distribution. Explain to them in a way a non-expert would understand, making sure to highlight when you would use each distribution during a hypothesis test.
What three points would you use to respond to someone who claims that business ethics is...
What three points would you use to respond to someone who claims that business ethics is a fad? please explain in detail
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT