Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!