Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Ned Slider
Phil Schaffner wrote:
> I have attempted to address all comments:
> 
> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
> 
> Give me your best shot! :-D
> 
> Phil
> 

Nice job Phil :)

/remembering my disclaimer/ I'm not a raid/grub expert...

Presumably Section two is required because grub is installed to the mbr 
of /dev/sda so /dev/sdb isn't bootable in the event /dev/sda should fail?

Would using grub be simpler rather than directly editing 
/boot/grub/device.map ? Something like...

Following on from Section 1, reboot...

Stop at the grub menu and enter the "c" option, which gives you the grub
prompt. Then:

grub> device (hd0) /dev/sda
grub> root (hd0,0)
grub> setup (hd0)
grub> device (hd1) /dev/sdb
grub> root (hd1,0)
grub> setup (hd1)
grub> exit

and test both disks are bootable. Achieves the same thing I guess.


___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Marcus Moeller
Dear Phil.

> I have attempted to address all comments:
>
> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
>
> Give me your best shot! :-D

Much better now. You have already addressed most of the issues. Here
are some comments, still:

You wrote: 'usually either ATA or SATA'

please add SCSI here, too.

...

If you are planning to setup a RAID1, I still wonder why not to place
/boot on a raid partition?

...

Could you please name 'Section X' to something more common, e.g.
'Basic Installation Instructions', 'Bootloader Setup' ...

Best Regards
Marcus
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Request for homepage

2009-04-29 Thread Ralph Angenendt
Mats Karlsson wrote:
> User: MatsK

Okie.

Ralph


pgpPkUSeUjyIl.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Ned Slider
Marcus Moeller wrote:
> 
> ...
> 
> If you are planning to setup a RAID1, I still wonder why not to place
> /boot on a raid partition?
> 

Section one, point 4 ?


___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Marcus Moeller
Hi Ned.

>> If you are planning to setup a RAID1, I still wonder why not to place
>> /boot on a raid partition?
>>
>
> Section one, point 4 ?

Ahh, missed it. Fine.

Best Regards
Marcus
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Request for homepage

2009-04-29 Thread Dag Wieers
On Wed, 29 Apr 2009, Ralph Angenendt wrote:

> Mats Karlsson wrote:
>> User: MatsK
>
> Okie.

Not to be nitpicking, but I thought we agreed to use FirstnameSurname as 
the standard for usernames on the wiki. Did that policy change, or don't 
we retrofit existing accounts ?

-- 
--   dag wieers,  d...@centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Request for homepage

2009-04-29 Thread Mats Karlsson
On 2009-04-29, Dag Wieers  wrote:
> On Wed, 29 Apr 2009, Ralph Angenendt wrote:
>
>  > Mats Karlsson wrote:
>  >> User: MatsK
>  >
>  > Okie.
>
>
> Not to be nitpicking, but I thought we agreed to use FirstnameSurname as
>  the standard for usernames on the wiki. Did that policy change, or don't
>  we retrofit existing accounts ?
>
>
>  --
>  --   dag wieers,  d...@centos.org,  http://dag.wieers.com/   --
>  [Any errors in spelling, tact or fact are transmission errors]
>  ___
>  CentOS-docs mailing list
>  CentOS-docs@centos.org
>  http://lists.centos.org/mailman/listinfo/centos-docs

Can my username be changed to MatsKarlsson that would be excellent!?

/Mats
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Phil Schaffner
Ned Slider wrote:...
> 
> /remembering my disclaimer/ I'm not a raid/grub expert...

You are too modest.  :-) I should put in that disclaimer too!

> Presumably Section two is required because grub is installed to the mbr 
> of /dev/sda so /dev/sdb isn't bootable in the event /dev/sda should fail?

Yes.

> Would using grub be simpler rather than directly editing 
> /boot/grub/device.map ? Something like...
> 
> Following on from Section 1, reboot...
> 
> Stop at the grub menu and enter the "c" option, which gives you the grub
> prompt. Then:
> 
> grub> device (hd0) /dev/sda
> grub> root (hd0,0)
> grub> setup (hd0)
> grub> device (hd1) /dev/sdb
> grub> root (hd1,0)
> grub> setup (hd1)
> grub> exit
> 
> and test both disks are bootable. Achieves the same thing I guess.

I believe that's true, in fact I think that approach is used in some of 
the links referenced from the RAID FAQ entry.  Could put it in as an 
alternate method.

Thanks,
Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Manuel Wolfshant
On 04/29/2009 04:39 PM, Phil Schaffner wrote:
>
>> Would using grub be simpler rather than directly editing 
>> /boot/grub/device.map ? Something like...
>>
>> Following on from Section 1, reboot...
>>
>> Stop at the grub menu and enter the "c" option, which gives you the grub
>> prompt. Then:
>>
>> grub> device (hd0) /dev/sda
>> grub> root (hd0,0)
>> grub> setup (hd0)
>> grub> device (hd1) /dev/sdb
>> grub> root (hd1,0)
>> grub> setup (hd1)
>> grub> exit
>>
>> and test both disks are bootable. Achieves the same thing I guess.
>> 
>
> I believe that's true, in fact I think that approach is used in some of 
> the links referenced from the RAID FAQ entry.  Could put it in as an 
> alternate method.
>   
FWIW: the above sequence is exactly what I use in order to put /boot on 
RAID1.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Ned Slider
Phil Schaffner wrote:
> Ned Slider wrote:...
>> Would using grub be simpler rather than directly editing 
>> /boot/grub/device.map ? Something like...
>>
>> Following on from Section 1, reboot...
>>
>> Stop at the grub menu and enter the "c" option, which gives you the grub
>> prompt. Then:
>>
>> grub> device (hd0) /dev/sda
>> grub> root (hd0,0)
>> grub> setup (hd0)
>> grub> device (hd1) /dev/sdb
>> grub> root (hd1,0)
>> grub> setup (hd1)
>> grub> exit
>>
>> and test both disks are bootable. Achieves the same thing I guess.
> 
> I believe that's true, in fact I think that approach is used in some of 
> the links referenced from the RAID FAQ entry.  Could put it in as an 
> alternate method.
> 

... I guess even the first part above is unnecessary if grub has already 
been correctly installed to the mbr of /dev/sda during installation.

IMHO I don't think there's a need for both - just which ever is 
considered the /right/best/approved/ method (maybe something for others 
to comment on?). Both work, both achieve the same thing :)

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Phil Schaffner
Ned Slider wrote:
...
> ... I guess even the first part above is unnecessary if grub has already 
> been correctly installed to the mbr of /dev/sda during installation.

Yes, but it won't hurt and makes the method robust for recovering from a 
failed disk.

> IMHO I don't think there's a need for both - just which ever is 
> considered the /right/best/approved/ method (maybe something for others 
> to comment on?). Both work, both achieve the same thing :)

Yes, but having both doesn't seem to hurt either.  Decided your method 
was the best and put it as "Method 1" in the latest edit, with the other 
as "Method 2".  I'm not adverse to going with only method 1 but am prone 
to leave both.  Final sanity check please.

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5 system tosoftware RAID1 using rescue mode

2009-04-29 Thread Phil Schaffner
Ed Heron wrote:
> From: "Ed Heron", Tuesday, April 28, 2009 11:09 AM
> 
>>  Does documentation exist describing how to convert a simple, single disk
>> non-RAID CentOS 5 system to software RAID1 using the CentOS install CD/DVD
>> as a rescue disk?
>>
>>  (Assuming not) Is there a need for such?
>>
>>  (Assuming need) I volunteer to produce it.
> 
>   If/when a page is created, would HowTos/RAID/CentOS5-rescue-convert2RAID 
> be a good document name?
> 
>   I'm advocating the creation of a new section labelled RAID...
> 
>   Also, username EdHeron...

Having a RAID section in the HowTos page makes sense to me, rather than 
cluttering up Misc.  Does not require /RAID/ in the directory structure. 
  How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5 system tosoftware RAID1 using rescue mode

2009-04-29 Thread Ed Heron
From: "Phil Schaffner", Wednesday, April 29, 2009 8:31 AM

> Having a RAID section in the HowTos page makes sense to me, rather than 
> cluttering up Misc.  Does not require /RAID/ in the directory structure. 
>  How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?

  Works for me.

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-29 Thread Phil Schaffner
Karanbir Singh wrote:
...
> Perhaps what we need is a complete section in the howto's page that 
> talks about storage devices and management of these ( need better phrase ).

That sounds like a good idea, and more general than the 
recently-suggested RAID section.  How about "Storage devices, Logical 
Volume Management, and RAID"?

> Also, a _lot_ of content on this subject matter including mdraid/real 
> raid/lvm/iscsi is covered in the upstream docs, which are also published 
> at www.centos.org/docs/ so pointing to relevant sections in those docs 
> would be nice.

Getting OT here, but speaking of the upstream docs, 5.3 never made it 
there.  I seem to recall some previous mention of the issue but can't 
find the post[s] right now.  Is help needed in that area?

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-29 Thread pjwelsh
On 04/29/2009 09:53 AM, Phil Schaffner wrote:
> ...
> Getting OT here, but speaking of the upstream docs, 5.3 never made it 
> there.  I seem to recall some previous mention of the issue but can't 
> find the post[s] right now.  Is help needed in that area?
>
> Phil
> ___
>   


Thread hijacker :-P
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5 system tosoftware RAID1 using rescue mode

2009-04-29 Thread Phil Schaffner
Ed Heron wrote:
> From: "Phil Schaffner", Wednesday, April 29, 2009 8:31 AM
> 
>> Having a RAID section in the HowTos page makes sense to me, rather than 
>> cluttering up Misc.  Does not require /RAID/ in the directory structure. 
>>  How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?
> 
>   Works for me.

I could create the page, but you'd have to wait for Ralph to give 
EdHeron edit rights anyway, so will let him do the honors.

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5 system tosoftware RAID1 using rescue mode

2009-04-29 Thread Ralph Angenendt
Phil Schaffner wrote:
> Having a RAID section in the HowTos page makes sense to me, rather than 
> cluttering up Misc.  Does not require /RAID/ in the directory structure. 
>   How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?

+1

Ralph


pgpIvGSbNdLaz.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] drafts tag

2009-04-29 Thread Phil Schaffner
Karanbir Singh wrote:
> While articles are being worked on, can we have a policy that says 
> something like 'must contain a banner on the top indicating its a draft 
> article'

I see that has been added to the Guidelines.

I put such a notice in my latest draft effort.  Is there a way to 
automatically add a draft notice to newly-created pages, like the 
automatic description here line?

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] drafts tag

2009-04-29 Thread Karanbir Singh
Phil Schaffner wrote:
> I see that has been added to the Guidelines.

Ralph was kind enough to do that. I think we need more content in the 
guidelines to make things more in-line with each other ( lack of any 
other word - consistent ).

> I put such a notice in my latest draft effort.  Is there a way to 
> automatically add a draft notice to newly-created pages, like the 
> automatic description here line?

Should be possible. I'll investigate.

- KB
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] drafts tag

2009-04-29 Thread Akemi Yagi
On Wed, Apr 29, 2009 at 8:35 AM, Karanbir Singh  wrote:

>> I put such a notice in my latest draft effort.  Is there a way to
>> automatically add a draft notice to newly-created pages, like the
>> automatic description here line?
>
> Should be possible. I'll investigate.

Something like this will be nice:

||
attachment:ArtWork/WikiDesign/icon--admonition-attention.png
 This is a draft. ||

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] drafts tag

2009-04-29 Thread Ralph Angenendt
Phil Schaffner wrote:
> I put such a notice in my latest draft effort.  Is there a way to 
> automatically add a draft notice to newly-created pages, like the 
> automatic description here line?

Only via Templates which would mean that everybody needs to use that
template for creating new pages.

Ralph


pgpqVArLJImLZ.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] drafts tag

2009-04-29 Thread Karanbir Singh
Ralph Angenendt wrote:
> Phil Schaffner wrote:
>> I put such a notice in my latest draft effort.  Is there a way to 
>> automatically add a draft notice to newly-created pages, like the 
>> automatic description here line?
> 
> Only via Templates which would mean that everybody needs to use that
> template for creating new pages.

yup, it would need to be via the Template. Otherwise its a case of 
changing the content in the translation set included in Moin ( and I 
dont think I'd like to handle 32 languages with translations for the 
strings !! )

We could potentially plumb in a template of somesort into the 
MissingPage content and see if that works I'll let someone else have 
a crack at that first though :)


- KB
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread JohnS

On Wed, 2009-04-29 at 10:27 +0200, Marcus Moeller wrote:
> Dear Phil.
> 
> > I have attempted to address all comments:
> >
> > http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
> >
> > Give me your best shot! :-D
> 
> Much better now. You have already addressed most of the issues. Here
> are some comments, still:
> 
> You wrote: 'usually either ATA or SATA'
> 
> please add SCSI here, too.
> 
> ...
> 
> If you are planning to setup a RAID1, I still wonder why not to place
> /boot on a raid partition?
--
I wonder also why ??

JohnStanley

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Phil Schaffner
JohnS wrote:
...
> I wonder also why ??

Then you should read Ned's earlier reply to the same message this one is 
in reply to, or have a careful look at the current version of the page.

http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] NOSPAM on personal home pages not working as expected

2009-04-29 Thread Sean Gilligan
Sean Gilligan wrote:
> I just setup a personal  home page and the template had a section that 
> I edited to look like this:
> [[MailTo(sean AT SPAMFREE msgilligan DOT com)]]
>
> I assumed it would use JavaScript to protect my e-mail address, but 
> when I view source on the page it's right there:
>
> Email:  href="mailto:n...@address.com";>n...@address.com

Oops, sorry -- I see that logged-in users (like me) can see the 
addresses directly, but non-logged in users can't.

-- Sean

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-29 Thread Phil Schaffner
pjwelsh wrote:
...
> Thread hijacker :-P

Guilty - at least I didn't change the Subject on Reply. ;-)

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Ed Heron
From: "Phil Schaffner", Tuesday, April 28, 2009 5:36 PM

>I have attempted to address all comments:
>
> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
>
> Give me your best shot! :-D
>
> Phil

  There's always going to be an argument about whether to put /boot and swap 
on RAID.  It's all about performance most of the time being slightly better 
versus stability in the event of device failure.

  What's the disaster recovery plan here?

  Obviously, if the second drive fails, there's no issue.  Standard removal 
and eventual addition of replacement device(s).

  If the first drive fails, are we hoping the computer will boot off the 
second drive or are we moving the second drive to the first interface?

  Is it outside the scope of this document to describe and test disaster 
recovery?  I think it is.  I'm just making a note to suggest a further 
complimentary page at some time in the future...  (though, at this time, I 
am NOT volunteering to write it)  Is there a wiki page todo list somewhere?

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Ned Slider
Ed Heron wrote:
> From: "Phil Schaffner", Tuesday, April 28, 2009 5:36 PM
> 
>> I have attempted to address all comments:
>>
>> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
>>
>> Give me your best shot! :-D
>>
>> Phil
> 
>   There's always going to be an argument about whether to put /boot and swap 
> on RAID.  It's all about performance most of the time being slightly better 
> versus stability in the event of device failure.

I can't think of a good argument for not having /boot on the raid1. 
Presumably performance isn't an issue as the contents of /boot gets read 
once at system boot (other than maybe fast booting performance, but 
that's not really going to be an issue for a server running raid1, right?)

SWAP on raid0 is a bad idea as one drive failure may cause the system to 
fail to boot. I guess SWAP on raid1 is the safe option. If SWAP 
performance is critical, then maybe two independent non-raid partitions, 
one at the start of each drive, and set to the same priority would be a 
better solution (effectively giving stripped raid0 performance). 
Presumably then a drive failure wouldn't prevent booting but would 
result in a warning that one of the SWAPs was unavailable (assuming the 
system could function fine with the size of the remaining SWAP)?

Hopefully someone can verify my logic here.

> 
>   What's the disaster recovery plan here?
> 
>   Obviously, if the second drive fails, there's no issue.  Standard removal 
> and eventual addition of replacement device(s).
> 
>   If the first drive fails, are we hoping the computer will boot off the 
> second drive or are we moving the second drive to the first interface?
> 

If grub is present on the mbr of both drives, then the system will 
remain functional if *either* drive fails without any further 
intervention. I would think this is the ideal.

>   Is it outside the scope of this document to describe and test disaster 
> recovery?  I think it is.  I'm just making a note to suggest a further 
> complimentary page at some time in the future...  (though, at this time, I 
> am NOT volunteering to write it)  Is there a wiki page todo list somewhere?
> 

I would be in favour of extending the current page to include 
testing/recovery information in the event of a drive failure. If the 
information is not specific to only raid1, then maybe a separate page is 
warranted.



___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread JohnS

On Wed, 2009-04-29 at 13:00 -0400, Phil Schaffner wrote:
> JohnS wrote:
> ...
> > I wonder also why ??
> 
> Then you should read Ned's earlier reply to the same message this one is 
> in reply to, or have a careful look at the current version of the page.
> 
> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
> 
> Phil
---
Nice you put /boot on raid also. Then all you have to do is configure
grub. Much better.

JohnStanley

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Phil Schaffner
Ned Slider wrote:
...
> I can't think of a good argument for not having /boot on the raid1. 
> Presumably performance isn't an issue as the contents of /boot gets read 
> once at system boot (other than maybe fast booting performance, but 
> that's not really going to be an issue for a server running raid1, right?)

+1

> SWAP on raid0 is a bad idea as one drive failure may cause the system to 
> fail to boot. I guess SWAP on raid1 is the safe option. If SWAP 
> performance is critical, then maybe two independent non-raid partitions, 
> one at the start of each drive, and set to the same priority would be a 
> better solution (effectively giving stripped raid0 performance). 
> Presumably then a drive failure wouldn't prevent booting but would 
> result in a warning that one of the SWAPs was unavailable (assuming the 
> system could function fine with the size of the remaining SWAP)?
> 
> Hopefully someone can verify my logic here.

Sounds right to me.  Will test that on VMware as part of my tests of the 
procedure and report back if we are wrong.

...

> If grub is present on the mbr of both drives, then the system will 
> remain functional if *either* drive fails without any further 
> intervention. I would think this is the ideal.

That is the theory.

> I would be in favour of extending the current page to include 
> testing/recovery information in the event of a drive failure. If the 
> information is not specific to only raid1, then maybe a separate page is 
> warranted.

That sounds like a more general topic to me - not ready to add it to 
this page, but if anyone (with edit rights) wants to, feel free.

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread Lev Shamardin
Hi,

I've written two small howtos, and would like to contribute them to the CentOS
Wiki. The first one is "How to install CentOS 5 on software partitionable mdadm
RAID1", and the second one "How to repair a software mdadm RAID5 with two or
more failed disks (if you know that information is still on the disks and
readable)". I think that the first one should be somewhere like
wiki.centos.org/HowTos/Install_On_Partitionable_RAID1 with a reference from
wiki.centos.org/HowTos and the second one should be
wiki.centos.org/TipsAndTricks/Reparing_RAID5_With_Many_Failures with a reference
from wiki.centos.org/TipsAndTricks

My account name on the wiki.centos.org is LevShamardin, and the untranslated
russian versions of these articles are available in my blog at
http://abbot2.blogspot.com/2009/04/centos-53-partitionable-raid1.html and
http://abbot2.blogspot.com/2009/04/mdadm-raid5.html

With best regards,
Lev.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread JohnS

On Wed, 2009-04-29 at 22:41 +0400, Lev Shamardin wrote:
> Hi,
> 
> I've written two small howtos, and would like to contribute them to the CentOS
> Wiki. The first one is "How to install CentOS 5 on software partitionable 
> mdadm
> RAID1", and the second one "How to repair a software mdadm RAID5 with two or
> more failed disks (if you know that information is still on the disks and
> readable)". I think that the first one should be somewhere like
> wiki.centos.org/HowTos/Install_On_Partitionable_RAID1 with a reference from
> wiki.centos.org/HowTos and the second one should be
> wiki.centos.org/TipsAndTricks/Reparing_RAID5_With_Many_Failures with a 
> reference
> from wiki.centos.org/TipsAndTricks
> 
> My account name on the wiki.centos.org is LevShamardin, and the untranslated
> russian versions of these articles are available in my blog at
> http://abbot2.blogspot.com/2009/04/centos-53-partitionable-raid1.html and
> http://abbot2.blogspot.com/2009/04/mdadm-raid5.html
> 
> With best regards,
> Lev.
---
What's that chance of reading them in English?

JohnStanley

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread Ralph Angenendt
Lev Shamardin wrote:
> Hi,
>
> I've written two small howtos, and would like to contribute them to
> the CentOS Wiki. The first one is "How to install CentOS 5 on software
> partitionable mdadm RAID1",

Is that different from ?

> and the second one "How to repair a software mdadm RAID5 with two or
> more failed disks (if you know that information is still on the disks and
> readable)".

That one sounds interesting.

Ralph

pgpNPM83Y3HTC.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread JohnS

On Wed, 2009-04-29 at 20:55 +0200, Ralph Angenendt wrote:
> Lev Shamardin wrote:
> > Hi,
> >
> > I've written two small howtos, and would like to contribute them to
> > the CentOS Wiki. The first one is "How to install CentOS 5 on software
> > partitionable mdadm RAID1",
> 
> Is that different from ?

http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&u=http
%3A%2F%2Fabbot2.blogspot.com%2F2009%2F04%
2Fcentos-53-partitionable-raid1.html&sl=ru&tl=en&history_state0=

I read it but can't wrap my head around it right now. Essentially it is
the same but done after the OS install.

JohnStanley

> > and the second one "How to repair a software mdadm RAID5 with two or
> > more failed disks (if you know that information is still on the disks and
> > readable)".
> 
> That one sounds interesting.
> 
> Ralph


___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Proposal: Java HowTo Section

2009-04-29 Thread Ralph Angenendt
Sean Gilligan wrote:
> In "Wiki Access Request for Java How To's" I mentioned that I wanted to 
> create a Java HowTo section on the wiki.  I'd like to provide a more 
> detailed proposal for adding more Java documentation.
> Proposed Changes
> 
> Sorry for the lengthy background info, but I think it helps explain what 
> I want to do.

Maybe someone with a bit better java background than I have would like to 
chime in?

Ralph

pgpoGngl8bz1D.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5 system tosoftware RAID1 using rescue mode

2009-04-29 Thread Ralph Angenendt
Ed Heron wrote:
> From: "Phil Schaffner", Wednesday, April 29, 2009 8:31 AM
> > Having a RAID section in the HowTos page makes sense to me, rather than 
> > cluttering up Misc.  Does not require /RAID/ in the directory structure. 
> >  How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?
> 
>   Works for me.

Then work on it >:D

Ralph

pgpcib53yHtUV.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread Lev Shamardin
On 04/29/2009 10:55 PM, Ralph Angenendt wrote:
> Lev Shamardin wrote:
>> Hi,
>>
>> I've written two small howtos, and would like to contribute them to
>> the CentOS Wiki. The first one is "How to install CentOS 5 on software
>> partitionable mdadm RAID1",
> 
> Is that different from ?

There is one really HUGE difference. Using that guide you get a system with N
regular raids (where N is the number of the partitions you create). This means
that to rebuild a raid after failure you need to recreate N partitions on a
spare disk, and rebuild N raid volumes.

My guide describes how to install on a partitionable mdadm raid (with devices
/dev/md_d0pX). To repair such system you need to repair only one raid volume,
and you do not need to mess with partition table, etc.

Actually quick search on google some days ago showed that there are apparently
no guides about how to install any of the linux distributions on a partitionable
raid :)

With best regards,
Lev.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] I'd like to contribute two wiki articles

2009-04-29 Thread Lev Shamardin
On 04/29/2009 10:49 PM, JohnS wrote:
> > What's that chance of reading them in English?

I was planning to translate these only if they land in the CentOS wiki or some
other more or less public information source.

You may try the Google translation service meanwhile, it gives a somewhat
readable translation.

With best regards,
Lev.

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5system tosoftware RAID1 using rescue mode

2009-04-29 Thread Ed Heron
From: "Ralph Angenendt", Wednesday, April 29, 2009 1:01 PM

> Ed Heron wrote:
>> From: "Phil Schaffner", Wednesday, April 29, 2009 8:31 AM
>> > Having a RAID section in the HowTos page makes sense to me, rather than
>> > cluttering up Misc.  Does not require /RAID/ in the directory 
>> > structure.
>> >  How about "HowTos/CentOS5ConvertToRAID" for a more Wiki-like name?
>>
>>   Works for me.
>
> Then work on it >:D
>
> Ralph

  I was expecting a polite "Done" message.

  Thanks.

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] New page on installing to software RAID

2009-04-29 Thread Phil Schaffner
Phil Schaffner wrote:
> Karanbir Singh wrote:
> ...
>> Perhaps what we need is a complete section in the howto's page that 
>> talks about storage devices and management of these ( need better phrase ).
> 
> That sounds like a good idea, and more general than the 
> recently-suggested RAID section.  How about "Storage devices, Logical 
> Volume Management, and RAID"?

Seeing no objection, I created the above category on the HowTos page and 
added a link to the new article under it.  This will also presumably 
provide a home for the EdHeron RAID article.

Thanks to all for the help on the article.

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Request for homepage

2009-04-29 Thread Mats Karlsson
On 2009-04-29, Mats Karlsson  wrote:
> On 2009-04-29, Dag Wieers  wrote:
>  > On Wed, 29 Apr 2009, Ralph Angenendt wrote:
>  >
>  >  > Mats Karlsson wrote:
>  >  >> User: MatsK
>  >  >
>  >  > Okie.
>  >
>  >
>  > Not to be nitpicking, but I thought we agreed to use FirstnameSurname as
>  >  the standard for usernames on the wiki. Did that policy change, or don't
>  >  we retrofit existing accounts ?
>  >
>  >
>  >  --
>  >  --   dag wieers,  d...@centos.org,  http://dag.wieers.com/   --
>  >  [Any errors in spelling, tact or fact are transmission errors]
>  >  ___
>  >  CentOS-docs mailing list
>  >  CentOS-docs@centos.org
>  >  http://lists.centos.org/mailman/listinfo/centos-docs
>
>
> Can my username be changed to MatsKarlsson that would be excellent!?
>
>
>  /Mats

I don't have edit rights ?!

/Mats
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread R P Herrold
On Wed, 29 Apr 2009, Ned Slider wrote:

>>   There's always going to be an argument about whether to put /boot and swap
>> on RAID.  It's all about performance most of the time being slightly better
>> versus stability in the event of device failure.
>
> I can't think of a good argument for not having /boot on the raid1.

Then you do not support it, and see the recurring support load 
in #centos -- we get this load all the time.  It is from 
clueless newbies, barely able to communicate, with unknown 
controllers.  Putting /boot on raid adds complexity, it 
breaks, and it is needless in most cases.

I'd rather have a discussion of setting up TWO /boot ext2 
(ext3 unneeded), on differing spindles, and a discussion of 
rsyncing the second when the first is updated; and a grub.conf 
description to match --

Why I'd even argue for a mount of /boot RO, and require that a 
remount occur before a kernel update happened [but that's just 
me] -- one more barrier to keep cracker out of root only 
domains

The 'second non-raid' bootable image was the standard back in 
the early Solaris days -- two '/' that one so updated, and the 
ability to use OpenFirmware to toggle in the alternate boot 
device.

-- Russ herrold
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Akemi Yagi
On Wed, Apr 29, 2009 at 1:01 PM, R P Herrold  wrote:

> Then you do not support it, and see the recurring support load
> in #centos -- we get this load all the time.  It is from
> clueless newbies, barely able to communicate, with unknown
> controllers.  Putting /boot on raid adds complexity, it
> breaks, and it is needless in most cases.

That's exactly why a particular wiki article exists -- to reduce the
recurring support load.  When I wrote the how-to-mount-NTFS wiki page,
the reason was because it was repeatedly asked in #centos.  So, if we
get the same question all the time, the best tactics will be to get a
wiki page up and running in such a way that pointing the user to that
page is all it takes.  Or at lease hope that you never hear from that
user (other than a thank you note). :-P

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] HowTo/RAID/convert non-RAID CentOS 5system tosoftware RAID1 using rescue mode

2009-04-29 Thread Ralph Angenendt
Ed Heron wrote:
> From: "Ralph Angenendt", Wednesday, April 29, 2009 1:01 PM
>> Ed Heron wrote:
>>>   Works for me.
>>
>> Then work on it >:D
> 
>   I was expecting a polite "Done" message.

Done.

Ralph

pgpTZ70flO27E.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Request for homepage

2009-04-29 Thread Ralph Angenendt
Mats Karlsson wrote:
> On 2009-04-29, Mats Karlsson  wrote:
> >  >  >> User: MatsK
> 
> I don't have edit rights ?!

To what?

#acl MatsK:read,write,delete,revert,create,admin Default

Ralph

pgpWe5ulUDI49.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Phil Schaffner
R P Herrold wrote:
> On Wed, 29 Apr 2009, Ned Slider wrote:
> 
>>>   There's always going to be an argument about whether to put /boot and swap
>>> on RAID.  It's all about performance most of the time being slightly better
>>> versus stability in the event of device failure.
>> I can't think of a good argument for not having /boot on the raid1.
> 
> Then you do not support it, and see the recurring support load 
> in #centos -- we get this load all the time.  It is from 
> clueless newbies, barely able to communicate, with unknown 
> controllers.  Putting /boot on raid adds complexity, it 
> breaks, and it is needless in most cases.
> 
> I'd rather have a discussion of setting up TWO /boot ext2 
> (ext3 unneeded), on differing spindles, and a discussion of 
> rsyncing the second when the first is updated; and a grub.conf 
> description to match --

Russ,

That's pretty much what the article started with if you follow the long 
history of the first thread on the contribution, but the consensus of 
the people who commented was overwhelmingly in favor of /boot on RAID1, 
so that's where it is now.  Would be glad to add a footnote with your 
POV, or feel free to do so yourself.

Regards,
Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] computer output blocks on wiki page

2009-04-29 Thread Ed Heron
  Please, how would I create a colored area with fixed space text to emulate 
computer response?

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] computer output blocks on wiki page

2009-04-29 Thread Ralph Angenendt
Ed Heron wrote:
>   Please, how would I create a colored area with fixed space text to emulate 
> computer response?

{{{
polite
input
and
output
here
}}}

Cheers,

Ralph

pgpd1LwjFRIxN.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] computer output blocks on wiki page

2009-04-29 Thread Akemi Yagi
On Wed, Apr 29, 2009 at 2:43 PM, Ralph Angenendt  wrote:
> Ed Heron wrote:
>>   Please, how would I create a colored area with fixed space text to emulate
>> computer response?
>
> {{{
>        polite
>        input
>        and
>        output
>        here
> }}}

Even more polite answers with links:

http://wiki.centos.org/SyntaxReference
http://wiki.centos.org/HowTos/Wiki/Editing

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] computer output blocks on wiki page

2009-04-29 Thread Phil Schaffner
Ed Heron wrote:
>   Please, how would I create a colored area with fixed space text to emulate 
> computer response?

Ralph and Akemi have already given good (polite!) answers, but one way 
to get going on Wiki editing is to find a page that is an example of the 
way you want yours to look and under "More actions:" pick "Raw text". 
Guess that only works on pages to which you have edit rights. :-(

I find that editing in GUI mode always makes a mess of things, and it 
works best to "Edit (Text)" and use Preview to see how it is going to 
look.  YMMV.

Phil
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] computer output blocks on wiki page

2009-04-29 Thread Akemi Yagi
On Wed, Apr 29, 2009 at 3:03 PM, Phil Schaffner
 wrote:
> Ed Heron wrote:
>>   Please, how would I create a colored area with fixed space text to emulate
>> computer response?
>
> Ralph and Akemi have already given good (polite!) answers, but one way
> to get going on Wiki editing is to find a page that is an example of the
> way you want yours to look and under "More actions:" pick "Raw text".
> Guess that only works on pages to which you have edit rights. :-(

If I'm not mistaken, adding a ?action=raw to the URL will show the raw
text regardless of the edit rights. ??

Akemi
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Proposal: Java HowTo Section

2009-04-29 Thread Sean Gilligan
Ralph Angenendt wrote:
> Sean Gilligan wrote:
>   
>> In "Wiki Access Request for Java How To's" I mentioned that I wanted to 
>> create a Java HowTo section on the wiki.  I'd like to provide a more 
>> detailed proposal for adding more Java documentation.
>> Proposed Changes
>> 
>> Sorry for the lengthy background info, but I think it helps explain what 
>> I want to do.
>> 
>
> Maybe someone with a bit better java background than I have would like to 
> chime in?


Russ Herrold added the "special note" on OpenJDK, hopefully he will 
chime in.

Sorry, again for the long-winded proposal.  To make a real quick summary 
of what I'm suggesting:

1) Move the current HowTo to a new Java Section
2) Create a new NowTo for OpenJDK on CentOS 5.3 and later

The current HowTo describes various methods of installing Sun or IBM's 
commercial Java.

OpenJDK makes CentOS 5.3 the first version of CentOS to have a built-in 
Java that is fully compatible with Sun's latest Java.  This is a 
significant change from earlier releases and for most 5.3 users makes 
the previous HowTo obsolete.

-- Sean

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Updated How to Setup a Software RAID on CentOS 5

2009-04-29 Thread Manuel Wolfshant
On 04/29/2009 08:00 PM, Phil Schaffner wrote:
> JohnS wrote:
> ...
>   
>> I wonder also why ??
>> 
>
> Then you should read Ned's earlier reply to the same message this one is 
> in reply to, or have a careful look at the current version of the page.
>
> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
On my systems I also create a second entry in grub.conf, configured for 
booting from the second disk.
[r...@xenh2 ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,0)
#  kernel /vmlinuz-version ro root=/dev/md0
#  initrd /initrd-version.img
#boot=/dev/sda
default=0
fallback=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.18-128.1.6.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.1.6.el5
module /vmlinuz-2.6.18-128.1.6.el5xen ro root=/dev/md0 panic=45
module /initrd-2.6.18-128.1.6.el5xen.img
title CentOS (2.6.18-128.1.6.el5xen disc2)
root (hd1,0)
kernel /xen.gz-2.6.18-128.1.6.el5
module /vmlinuz-2.6.18-128.1.6.el5xen ro root=/dev/md0 panic=45
module /initrd-2.6.18-128.1.6.el5xen.img

[r...@xenh2 ~]# cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/sda
(hd1) /dev/sdb

___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs