Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

reduce RAID5 to RAID0

Posted on 2012-03-19
17
Medium Priority
?
516 Views
Last Modified: 2012-06-27
Hi,

I have a HP Proliant DL360 G6 server, with one controller. At the moment I have four disks in a RAID5 array. Is it possible to "reduce" this RAID5 array to a RAID0 array with only two disks? Without losing any data? (The remaining two disks will need to be configured as a RAID1 array.)

regards,

Paul
0
Comment
Question by:IT_Assist
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
  • 4
17 Comments
 
LVL 47

Expert Comment

by:David
ID: 37739465
Not possible, the math doesn't work out.

a 4-disk RAID5 has effectively 3 disks worth of data once you remove the XOR/redundancy.  If you go to a RAID0, then you need 3 disks .
0
 

Author Comment

by:IT_Assist
ID: 37739845
Ah, what a pity. I thought already so, but you never know if some genius invented a tool to reduce those three disks to two. Technically speaken, there is enough diskspace on two disks, to contain the data spread over three.
0
 
LVL 56

Accepted Solution

by:
andyalder earned 2000 total points
ID: 37740132
You can almost do it, the SAAP license enables shrinking an array, but I don't think it allows you to shrink a logical disk. If you have two logical disks striped over the array of physical disks you could delete one and have space.

Easier to buy a second disk backplane for 4 more disk bays, probably cheaper too. That would lose the CD ROM though, there isn't room for that when you put 8 SFF hard disks in a 1U server.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 47

Expert Comment

by:David
ID: 37740153
Well, then, IT_Assist,  If you can delete 3 disks to 2, then why not go the extra mile and repeat the process and reduce 2 to 1, and continue.

(Actually you can technically reduce all that data to just one bit with data compression, where 1=the pattern on those 3 disks, and anything starting with 0 represents anything else.  But point here is that there is no free lunch in this universe. ;)
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37740208
You can almost do that too David; but it involves first deleting a load of old files, then shrinking the space used by the filesystem and defragging, then shrinking the logical disk, then re-leveling and taking the physical disks out of the array.

Shrinking the logical disk is child's play for the controller but it isn't enabled in the GUI probably because it's too scary to contemplate what would happen if someone shrunk it without shuffling the remaining data to the left first. The controller is clever, but not clever enough to understand the whole filesystem format. Still, they could check that the OS partition shuffling had been done first by only shrinking it by removing stripes that were zeroed out.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37740214
"That" was not addressing "Actually you can technically reduce all that data to just one bit with data compression" which is clearly ludicrous. It was addressing your first paragraph.
0
 
LVL 47

Expert Comment

by:David
ID: 37740247
Ludicrous that you could compress into a single bit? Granted if you never studied discrete math or got an advanced degree in CS then it might not be obvious, but no need to get insulting because you don't understand.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37740353
.
0
 

Author Comment

by:IT_Assist
ID: 37741039
It's allright, andyalder, I knew dlethe was having a little laugh. :-) Imagine reducing all those gigantic SANs all over the world being reduced to one bit. Imagine losing that one bit due to a disk crash. :-D

Now I thought of the new backplane myself of course, but I just wanted to explore this little idea too. Several people always know more then one. Thanks for your insights.
0
 

Author Comment

by:IT_Assist
ID: 37741042
@ andyalder : there is no backplane for only two more disks? It would be nice to keep the cd-rom drive.
0
 
LVL 47

Expert Comment

by:David
ID: 37741850
Guys, data compression 101.  If you are free to choose the algorithm, you can reduce ANY dataset to just one bit.

So if you have ABCDEF, your data compression algorithm is
1. If data is ABCDEF, then result = 1, and exit
else
  print 0, then if next byte is A print 001, if B 010, if C 011, if D 0001, ...  and so on.   You use a variable-length decoding pattern, and make the first test for the 1 pattern you are looking for.

You could just as easily make 1 represent the entire contents of the library of congress.   But the statement I made is accurate, and if you ever write data compression software, then it is actually quite sound. The trick to compress data is analyzing the data and producing a proper algorithm that can do the most amount of compression and balancing CPU overhead.

You have to have a 0 in front of the pattern to show that it is not the 3-disk compressed data, and then anything after the leading 0 is the rest of a variable-length pattern that uses any other algorithm.  If 1 is in front, and it is the first bit, then that means you have the compressed version of whatever you wanted.

The prof made quite an impression on this exercise, because it served to teach us how data compression really works (and some cryptography techniques, which I spared you), and not to get hung up by thinking like a human.   It all comes down to choosing the right algorithm.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37741889
No two disk bakplane I'm afraid, just four.
0
 

Author Comment

by:IT_Assist
ID: 37741954
other question (though I don't know yet if I need to replace the existing 4-disk-backplane with an 8-disk-backplane, or just add another 4-disk-backplane) : If I need to replace the existing 4-disk-backplane with an 8-disk-backplane, will the "old" RAID5 automatically be recognized when I plug those disks in? (I suppose it is a yes?)
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37741984
It's a second backplane, comes with all the cables and screws needed, 516966-B21 (http://www.equanet.co.uk/catalogue/item/Y876528M)

It might be possible to not fit the second cage and keep the DVD, I'll look next time I get one in.
0
 
LVL 56

Expert Comment

by:andyalder
ID: 37744886
99.9% sure it's not possible to retain the DVD since the backplane would get on the way of seating it.

BTW, I played about with SAAP, shrink array works as expected but there's no shrink logical disk option.
0
 

Author Comment

by:IT_Assist
ID: 37744922
okay, nice, very nice ! I'll buy the second backplane, plug it in, restart the server and off we go ! Thanks!
0
 

Author Closing Comment

by:IT_Assist
ID: 37744928
Very complete first reply and meaningfull and quick responses to my other subquestions.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Patch Management is administrated by page 129 of  the following document:     http://support.dell.com/support/edocs/software/smdmc/11/en/ug/ug.pdf However, there are issues with Patch Management with FTP (for instance, a slow Internet connectio…
Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question