Answered step by step
Verified Expert Solution
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 x MB hard disks, partition each disk as single partition and then create RAID as devmd and create
xfs file system on it and mount it on raid directory.
Assign user and group ownership to yourself for raid create files rtest by redirecting the output of man mdadm to
rtest similarly for rtest using man gdisk and rtest using man useradd raid without using sudo,
Simulate any one of the disks in devmd array for failure, remove it and replace it with the unused M
disk.Following SCREENSHOTS required at each stage given below.
Aftersetting disk as failed After failed disk removed After replacing failed disk
cat procmdstat
mdadm D devmd
mdadm E devmd diskfailed
ls ld raid;ls l raid;df Th raid
cat procmdstat
mdadm D devmd
mdadm E devmd anyarraydisk
ls ld raid;ls l raid;df Th raid
cat procmdstat
mdadm D devmd
mdadm E devmd diskreplaced
ls ld raid;ls l raid;df Th raid
Check the raid directory for the presence of the files you have created earlier
Edit file rtest to check for redundancy.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started