Question

We are planning to use Raid Level-0. We have a data of size 2KB and we would like to create some ...

We are planning to use Raid Level-0. We have a data of size 2KB and we would like to create some blocks where each block will hold 4 Byte. We have total 5 disks named Disk0,Disk1,Disk2,Disk3,Disk4. The block number is starting from Block1. How many blocks will be stored by Disk1?

-------------------------------------------------------------------------------------------------------------------------------

We are planning to use Raid Level-0. We have a data of size 2KB and we would like to create some blocks where each block will hold 4 Byte. We have total 5 disks named Disk0,Disk1,Disk2,Disk3,Disk4. The block number is starting from Block0. Which disk will store Block number 173?

--------------------------------------------------------------------------------

We are planning to use Raid Level-0. We have a data of size 2KB and we would like to create some blocks where each block will hold 4 Byte. We have total 5 disks named Disk0,Disk1,Disk2,Disk3,Disk4. The block number is starting from Block0. What will be the sector number of Block333 if the segment number starts from 0.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

RAID stands for Redundant Array of Independent Disks.In a RAID 0 configuration data is divided into chunks and stored in 2 or more disks in this case number of disks is five. This is done to increase read and write speeds.

FIRST PART

To calculate the number of blocks stored by Disk 1 we first need to calculate the number of bytes in 2KB.

2KB = 2 * 1024 = 2048

Now we divide 2048 with 4  (as we each block has a size of 4 bytes).

2048 / 4 = 512

So we have to store 512 blocks in 5 disks.

Now we need to calculate the number of blocks stored by each disk for this we will divide 512 with 5 (as there are 5 disks)

512 / 5 => Quotient = 102 and Remainder = 2

This means we have 2 blocks left after distributing 510 blocks equally each Disk has 102 blocks stored in it till now.

after this, the remaining 2 blocks will be stored in Disk 0 and Disk 1 as the first disk is Disk 0.

Increasing the number of blocks in Disk 0 and Disk 1 to 103.

Therefore Disk 1 will store 103 BLOCKS

SECOND PART

To determine which disk will store block number 173 we first need to calculate the number of bytes in 2KB.

2KB = 2 * 1024 = 2048

Now we divide 2048 with 4  (as we each block has a size of 4 bytes).

2048 / 4 = 512

So 512 blocks are stored in 5 disks.

Let's assume that the block number starts from Block 1 instead of Block 0, so we need to find the disk in which Block 174 will be stored.

Now we need to find the disk which stores block number 174 for this we will divide 174 with 5 (as there are 5 disks)

174 / 5 => Quotient = 34 and Remainder = 4

This means block 170 will be stored in Disk 4 after this Disk 0 will store Block 171, Disk 1 will store Block 172, Disk 2 will store Block 173 and Disk 3 will store Block 174.

or Disk 3 will store Block 173 as we assumed that block number starts with 1 but actually, it starts with Block 0.

Therefore Disk 3 will store BLOCK number 173

THIRD PART

To determine which sector will store block number 333 first we need to find which disk will store block number 333.

We first need to calculate the number of bytes in 2KB.

2KB = 2 * 1024 = 2048

Now we divide 2048 with 4  (as we each block has a size of 4 bytes).

2048 / 4 = 512

So 512 blocks are stored in 5 disks.

Let's assume that the block number starts from Block 1 instead of Block 0, so we need to find the disk in which Block 334 will be stored.

Now we need to find the disk which stores block number 334 for this we will divide 334 with 5 (as there are 5 disks)

334 / 5 => Quotient = 66 and Remainder = 4

This means block 330 will be stored in Disk 4 after this Disk 0 will store Block 331, Disk 1 will store Block 332, Disk 2 will store Block 333 and Disk 3 will store Block 334.

or Disk 3 will store Block 333 as we assumed that block number starts with 1 but actually, it starts with Block 0.

let us assume that there are a total of 12 sectors in a disk. so we need to find which sector is Block 333 is located.

We know that there are 67 blocks on Disk 3 so we divide 67 with 12

67 / 12 => Quotient = 5, Remainder = 7.

Therefore SECTOR 6 of Disk 3 will store BLOCK number 333

Add a comment
Know the answer?
Add Answer to:
We are planning to use Raid Level-0. We have a data of size 2KB and we would like to create some ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Create the following Excel spreadsheets on vineyard data: Level I Create a spreadsheet with the...

    2. Create the following Excel spreadsheets on vineyard data: Level I Create a spreadsheet with the following information: Block, Tons per Block, Price per Ton, Gallons Blocks: Barbera, Cab Franc, Chardonnay, Counoise, Cinsault Tons: • Barbera - 12.6 • Cab Franc - 11.18 • Counoise - 15.48 • Chardonnay - 15.48 • Cinsault - 6.07 Price/ton: • Barbera - 1050.00 • Cab Franc - 1050.00 • Counoise - 902.50 • Chardonnay - 902.5 • Cinsault - 1050.00 Gallons: • Barbera...

  • This is a C++ assignment that I'm trying to create and would like some help understanding...

    This is a C++ assignment that I'm trying to create and would like some help understanding while loops, with possible integration of for loops and if statements. This program only uses while, for, and if. I have some code that I have started, but where to go from there is what's giving me some trouble. This is involves a sentinel controlled while loop, and there are a lot of specifications below that I must have in the program. The program...

  • This is a C++ assignment that I'm trying to create and would like some help understanding...

    This is a C++ assignment that I'm trying to create and would like some help understanding while loops, with possible integration of for loops and if statements. This program only uses while, for, and if. I have some code that I have started, but where to go from there is what's giving me some trouble. This is involves a sentinel controlled while loop, and there are a lot of specifications below that I must have in the program. The program...

  • We have introduced Abstract Classes and Interfaces in the lectures. In this lab, we would like...

    We have introduced Abstract Classes and Interfaces in the lectures. In this lab, we would like to provide few questions to review these topics and hands-on to solve them. Write a class named Octagon that extends GeometricObject and implements the Comparable and Cloneable interfaces. Assume that all eight sides of the octagon are of equal length. The area can be computed using the following formula: area = (2 + 4 Squareroot 2) * side * side Write a test program...

  • Consider this dataset: {9,−1,5,3,6,8,8,4,3,2,−1,1,8,9,7,0,10}{9,−1,5,3,6,8,8,4,3,2,−1,1,8,9,7,0,10}. We would like to construct a histogram from this data set. Starting...

    Consider this dataset: {9,−1,5,3,6,8,8,4,3,2,−1,1,8,9,7,0,10}{9,−1,5,3,6,8,8,4,3,2,−1,1,8,9,7,0,10}. We would like to construct a histogram from this data set. Starting with the lowest data point we will create 4 classes with class width 3. list the class boundaries separated by comma from in increasing order. Write the class frequency for each class separated by comma in increasing class order. What would be the relative frequency for the first class?

  • Could use some Help on Question. Thank You. You have $17,600 to invest and would like to create a portfolio with an exp...

    Could use some Help on Question. Thank You. You have $17,600 to invest and would like to create a portfolio with an expected return of 11.1 percent. You can invest in Stock K with an expected return of 10.1 percent and Stock L with an expected return of 13.7 percent. How much will you invest in Stock K? o ( $11,651.85 o $4,888.89 o $4,27778 o $6,518.52 o $12,711.11

  • need help with dice excercise For example, if we were writing a calendar program of some...

    need help with dice excercise For example, if we were writing a calendar program of some sort, we might very well use an array with 366 spots to hold the days, not worrying about adding more days to the year. Exercise 23 (C level] For another example, suppose we want to simulate rolling two six-sided dice repeatedly, tallying how many times each total is rolled. We need a memory cell to count the number of times each of the possible...

  • CSBP 319 Data structures - Linked Lists - USE JAVA (NetBeans) A company would like to...

    CSBP 319 Data structures - Linked Lists - USE JAVA (NetBeans) A company would like to implement its inventory of computing machines as a linked list, called ComputerList. Write a Computer node class, called ComputerNode, to hold the following information about a Computer: • code (as a String) • brand (as a String) • model (as a String) • price (as double) • quantity (as int) ComputerNode should have constructors and methods (getters, setters, and toString()) to manage the above...

  • We would like to create an Assembly program whose executable is called division.exe and that behaves...

    We would like to create an Assembly program whose executable is called division.exe and that behaves as follows:  It requests a positive number from the user.  Once it gets the user input, it divides the number by 5 without using the DIV instruction in assembly  It outputs the Quotient and the Remainder As an example, if a user runs the assembly program division.exe and provides a value 34 as an input, the display should show the following:...

  • One-Variable Data Table Your maximum weekly production capability is 200 gallons. You would like to create...

    One-Variable Data Table Your maximum weekly production capability is 200 gallons. You would like to create a one-variable data table to measure the impact of Production Cost, Gross Profit, and Net Profit based on selling between 10 and 200 gallons of paint within a week. a. Start in cell E3. Complete the series of substitution values ranging from 10 to 200 at increments of 10 gallons vertically down column E. b. Enter references to the Total Production Cost, Gross Profit,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT