Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Assessment : File Systems and Advanced Scripting

Length: 15 - 20 pages including screenshots

Task

In this assignment you will develop simple scripts to manage the user and file system whilst developing some expertise in managing a complex file system.

Part 1: Automated Account Management

You have been asked by your boss to prepare two shell scripts which manage user information. You are to prepare a simple shell script which reads a text file called users.txt. The file is in the form dfs /home/dfs Daniel Saffioti and creates these users on the system without any interactive input. To do this you will need to use the adduser(1) and passwd(1) commands. You will need to randomly produce the password and report this to the administrator.

You can assume the fields being username, home directory and GCOS string are separate by a single white space.

You can assume all users are in the same group.

The program should output the username and generated password once created.

Part 2: Design of a File System

You work for the Information Technology Department in your University and you have been asked to build a server to store user data (home directories). The volumes can grow without bounds, so it was felt that the ZFS file system should be used for each volume. The operating system itself need not be on a ZFS volume. All volumes including the operating system should be engineered in such a way to ensure the
best data protection is afforded in the event of local disk failure. It is expected that no more than 1 hours worth of data will be lost.
The volumes required are as follows:

1. uni0 with mount point /users/ug& quota of 200G.

2. uni1 with mount point /users/pg& quota of 200G.

3. uni2 with mount point /users/deleted& reservation of 100G.

4. uni3 with mount point /users/staff& reservation of 100G.

5. uni4 with mount point /users/guest & reservation of 250G.

Given the above your task is as follows define a strategy for how you will ensure the volumes outlined above are provisioned whilst ensuring there data protection. Document this accordingly along with a suitable rationale for your design.

Part 3: Implementing the Filesystem

Given the strategy defined in part two, your job is to implement the storage system.

1. To do this install the latest version of Ubuntu Server on a virtual machine. You will need to ensure the networking is bridged and the root portioning is managed appropriately. You will need to add additional virtual disks to meet the storage needs above.

2. Install the ZFS package and configure it such that pools of storage are created to meet the above requirements including redundancy and backups. To achieve this use the mirroring and snapshot features of ZFS.

Demonstrates your filesystem working and provide any insights gained along the way.

Part 4: File System Management with Scripts

Now that you have a plan for the storage there are a few house keeping matters to take care of because users tend to be somewhat liberal with their storage.

1. Write a script to make sure that user home directories are owned and only accessible by the owner. The script can assume home directories are descendants of /users.

2. Finally write a script which takes as an argument the filesystem name e.g. /home and looks for objects which do not belong i.e. end with the extension

a.mp3

b.aac

c.mp4

d..mov

e..avi

f..vid

When these files are found a summary should be produced including where they are and the size. The script should also remove the files.

Demonstrate each script working in your submission and document the source code and any insights gained along the way.

Rationale

back to top

This assessment task will assess the following learning outcome/s:

be able to manage servers from the command line.

be able to create and manage basic information services.

be able to write scripts to automate various server management tasks.

be able to formulate methods for protecting data and services accessed via the internet.

In this assignment you will develop simple scripts to manage the user and file system whilst developing some expertise in managing a complex file system.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M93080171

Have any Question?


Related Questions in Homework Help/Study Tips

Question 1 a name and describe two uses for demographic

Question: 1. A) Name and describe two uses for demographic data. B) Describe how age distributions are important to predicting population growth rates. 2. A) Define doubling time of a population. B) Name the most importa ...

Question define and briefly discuss the following

Question: Define and briefly discuss the following brainstorming techniques, the delphi technique, brainstorming, or nominal group technique. Requirements (please read): For each discussion, you are required to write an ...

Discussion your communications plan please respond to the

Discussion: "Your Communications Plan" Please respond to the following: Part 1: Provide a brief overview of your Strategic Communications Plan. Include a short description for each of the following in bullet point format ...

Question for your hot topic research essay you will explore

Question: For your Hot Topic Research Essay, you will explore the use of organic foods and adapting a menu to meet demand for organic foods. The essay will be demonstrate knowledge gained from this course, research, and ...

Search pubmedbriefly explain the underlying neurobiology

Search Pubmed Briefly explain the underlying neurobiology related to the movement disorder chosen, including (if known), the brain areas responsible for the symptoms What treatments are currently available for this disor ...

Resources the art and science of leadership ch 3 and

Resources: The Art and Science of Leadership, Ch. 3 and Leadership Theories Matrix As a leader, you often need to display or clarify a concept. A matrix is a grid that contains information and offers a visual model of id ...

Question 1 what policies programs and procedures does your

Question: 1. What policies, programs, and procedures does your present or former organization have in place to encourage cultural diversity among its employees within your work environment? Research your organization's p ...

Assignment - an ios recipe applicationintroductionin this

Assignment - An iOS Recipe Application Introduction In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. Read the entire Assignm ...

Overviewthis course has three written assignments that

Overview This course has three written assignments that build upon one another and are designed to take you step-by-step through a process of writing a paper that identifies an ethical question, examines the context, iss ...

Question do media distort representations of islam and arab

Question: Do Media Distort Representations of Islam and Arab Cultures?" Please respond to the following: Debate It - Take a position on this statement: The news media's depiction of Muslims negatively effects the way Ame ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As