Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the 2 x 3 0 0 MB hard disks, partition each disk as single partition and then create RAID 1 as / dev /

Using the 2 x 300MB hard disks, partition each disk as single partition and then create RAID1 as /dev/md1 and create
xfs file system on it and mount it on /raid1 directory.
4. Assign user and group ownership to yourself for /raid1, create files r1test1 by redirecting the output of man mdadm to
r1test1, similarly for r1test2 using man gdisk and r1test3 using man useradd /raid1 without using sudo,
5. Simulate any one of the disks in /dev/md1 array for failure, remove it and replace it with the unused 300M
disk.Following SCREENSHOTS required at each stage given below.
Aftersetting 1 disk as failed After failed disk removed After replacing failed disk
cat /proc/mdstat
mdadm -D /dev/md1
mdadm -E /dev/md1 disk_failed
ls -ld /raid1;ls -l /raid1;df -Th /raid
cat /proc/mdstat
mdadm -D /dev/md1
mdadm -E /dev/md1 any_arraydisk
ls -ld /raid1;ls -l /raid1;df -Th /raid1
cat /proc/mdstat
mdadm -D /dev/md1
mdadm -E /dev/md1 disk_replaced
ls -ld /raid1;ls -l /raid1;df -Th /raid1
6. Check the /raid1 directory for the presence of the files you have created earlier
7. Edit file r1test1 to check for redundancy.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

What are negative messages? (Objective 1)

Answered: 1 week ago