Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-28 Thread James Bensley
Hi All, Thanks for all your replies. I understand what I have to do now and have read several tutorials to get a good grasp of everything. All your input has been greatly appreciated. Thank you all. Regards, James ;) -- Jonathan Swift - May you live every day of your life. -

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-28 Thread Ross Walker
On Sep 27, 2009, at 9:35 PM, Karanbir Singh mail-li...@karan.org wrote: On 28/09/09 02:11, Ross Walker wrote: Eg. to convert this setup into a raid-5 : start with a 1 disk raid-1 degraded, move a disks worth of data onto there, bring in the second disk and let them sync into a 'normal'

[CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread James Bensley
Hey List; I have no experience with software RAIDs; at work we only use hardware RAIDs and I'm looking to implement, probably a RAID 5 set up at home for a media server however I have a few questions; I have three 1TB drives in various places; one is inside a USB caddy, one is inside my PC and

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
few things; i'm not hip to the latest barney phife shareware utils that may allow some kind of dynamic raiding bs, but generally, no, you must format those drive to the desired fs after raiding them so back up all data u want housed (or hozed) on that new raid. basic math is that for a

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread James Bensley
2009/9/27 aurfal...@gmail.com: you must format those drive to the desired fs after raiding them Those where my initial thoughts, damn it! Hmm, going to have to bring a sand box server home from work, oh the hassle. Thanks for the confirmation though. ... md (software raid mechanism or watever

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
as a precaution, make a backup of your /etc/md.conf when all dun bulding the raid. good luck. i built a raid 6 using md as i had 40x1Tb drives to do. i tried raid 5 with 3 or 4 hot spares but couldn't get it to work like i wanted. i think its wise that for every 10 drives, do a hot spare

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Craig White
On Sun, 2009-09-27 at 21:49 +0100, James Bensley wrote: 2009/9/27 aurfal...@gmail.com: you must format those drive to the desired fs after raiding them Those where my initial thoughts, damn it! Hmm, going to have to bring a sand box server home from work, oh the hassle. Thanks for the

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
craig, u can grow via md which is what u do first, then grow the fs. ex; mdadm --grow ... to add a drive then, mdadm --add ... to gorw the raid onto it then, pvresize ... to grow your filesystem onto it. atleast this is how i've dun it. On Sep 27, 2009, at 2:07 PM, Craig White wrote: On

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
md (software raid mechanism or watever u wanna call it) allows u to grow so if your raid is formatted with an fs that allows u to grow, then u r good to go (lvm will allow u to grow). This was also my current belief, again thanks for confirming that. you will not be able

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
aurfal...@gmail.com wrote: craig, u can grow via md which is what u do first, then grow the fs. ex; mdadm --grow ... to add a drive He meant --add or -a then, mdadm --add ... to gorw the raid onto it He meant --grow + changes in size/numofdevices/yadayada then, pvresize ... to

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 27/09/09 21:32, aurfal...@gmail.com wrote: few things; i'm not hip to the latest barney phife shareware utils that may allow some kind of dynamic raiding bs, but generally, no, you must format those drive to the desired fs after raiding them so back up all data u want housed (or hozed) on

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Ross Walker
On Sep 27, 2009, at 8:56 PM, Karanbir Singh mail-li...@karan.org wrote: On 27/09/09 21:32, aurfal...@gmail.com wrote: few things; i'm not hip to the latest barney phife shareware utils that may allow some kind of dynamic raiding bs, but generally, no, you must format those drive to the

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
Ross Walker wrote: On Sep 27, 2009, at 8:56 PM, Karanbir Singh mail-li...@karan.org wrote: On 27/09/09 21:32, aurfal...@gmail.com wrote: few things; i'm not hip to the latest barney phife shareware utils that may allow some kind of dynamic raiding bs, but generally, no, you

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 28/09/09 02:12, Christopher Chan wrote: Can you convert a RAID0 to a RAID5? According to Neil Brown, yes. erm, that would be quite interesting, since you cant split the raid-0 without first moving data into some state of sanity first. Can you point out where Neil says its something that

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
Can you say; Use a sledge hammer to pound in a nail? While its nice to expand ones technique, regardless of time and resources, the shortest distance between 2 points is a straight line. On Sep 27, 2009, at 5:56 PM, Karanbir Singh wrote: On 27/09/09 21:32, aurfal...@gmail.com wrote: few

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 28/09/09 02:19, aurfal...@gmail.com wrote: Can you say; Use a sledge hammer to pound in a nail? While its nice to expand ones technique, regardless of time and resources, the shortest distance between 2 points is a straight line. Thats a commpletely irrelevant statement. No matter what

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
Karanbir Singh wrote: On 28/09/09 02:12, Christopher Chan wrote: Can you convert a RAID0 to a RAID5? According to Neil Brown, yes. erm, that would be quite interesting, since you cant split the raid-0 without first moving data into some state of sanity first. Can you point

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 28/09/09 02:11, Ross Walker wrote: Eg. to convert this setup into a raid-5 : start with a 1 disk raid-1 degraded, move a disks worth of data onto there, bring in the second disk and let them sync into a 'normal' raid1 state, then convert that into a raid-5 with the 3rd disk. then bring in

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
have you tried your advice cause it sounds like a bunch of theory. give advice you've actually tried instead of sounding like some academic. back it up and build the raid from scratch instead of some theory non sense. On Sep 27, 2009, at 6:26 PM, Karanbir Singh wrote: On 28/09/09 02:19,

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
so you're giving advice based on what you're read? know that my advice is stuff i've actually done. On Sep 27, 2009, at 6:26 PM, Christopher Chan wrote: Karanbir Singh wrote: On 28/09/09 02:12, Christopher Chan wrote: Can you convert a RAID0 to a RAID5? According to Neil Brown, yes.

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
aurfal...@gmail.com wrote: so you're giving advice based on what you're read? 1) You do not use --grow to add a device. 2) You do not use --add to grow a device 3) I did not give advice know that my advice is stuff i've actually done. Oh no doubt. Does that mean you do not make

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 28/09/09 02:52, aurfal...@gmail.com wrote: have you tried your advice cause it sounds like a bunch of theory. give advice you've actually tried instead of sounding like some academic. because you are unaware of things does not mean it does not happen. I've reshaped raid's dozens of time

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
yea, it means u never done it yourself. On Sep 27, 2009, at 7:02 PM, Christopher Chan wrote: aurfal...@gmail.com wrote: so you're giving advice based on what you're read? 1) You do not use --grow to add a device. 2) You do not use --add to grow a device 3) I did not give advice know

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
You have me there. I've only done perhaps 6 sw based Raids because I would only use hw Raids for production data, so I sleep better at night. Tell me, you ever support your Frankenstein contraptions? A kind invite and I'm sure we would have a good time talking shop but I'm not in Europe

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Karanbir Singh
On 28/09/09 04:20, aurfal...@gmail.com wrote: You have me there. I've only done perhaps 6 sw based Raids because I would only use hw Raids for production data, so I sleep better at night. Tell me, you ever support your Frankenstein contraptions? I am not sure what h/w raid you are using -

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread aurfalien
To me, a storage developer and there technique is very different then using plain old mdadm for sw raids within a Linux distro. I know vendors like Bluearc, Netapp, etc spin there own firmware, ie software but thats very very diff then mdadm within the OS. And yes, i could do for more

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Oliver Ransom
On 28/09/2009, at 5:33 AM, James Bensley wrote: Hey List; I have no experience with software RAIDs; at work we only use hardware RAIDs and I'm looking to implement, probably a RAID 5 set up at home for a media server however I have a few questions; I have three 1TB drives in various

Re: [CentOS] Software Raids Questions (I have only ever used hardware?)

2009-09-27 Thread Christopher Chan
aurfal...@gmail.com wrote: yea, it means u never done it yourself. Yes, I do not do raid5. That does not mean I have not used mdadm. I do raid1+0 (not raid10) and I do not see how that disqualifies me from pointing out that you have the wrong flags for the intended result. I also do raidz