[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID1 with multiple partitions



On Fri, Dec 10, 2010 at 05:57:09PM -0500, David Gaudine wrote:
> On 10-12-10 3:50 PM, Reiner Buehl wrote:
>> On 10.12.2010 21:15, David Gaudine wrote:
>>> 2) I put the SWAP partition on RAID.  The first guide doesn't use  
>>> RAID for swap.  The author emailed me his comments about the pros and 
>>> cons, and I think I want it on RAID for peace of mind.  It shouldn't  
>>> really matter since I have much more RAM than I need.  Is there any  
>>> reason I might regret putting SWAP on RAID?  "cat /proc/mdstat"  
>>> reports the MD1 (the swap device) as "auto-read-only".
>>
>> In Linux, all raid arrays stay in "auto-read-only" mode until they are  
>> access the first time after each reboot, so this seems to imply that  
>> your system has not yet initialized the swap. Did you add your swap to  
>> /etc/fstab and mark it as swap there?
>
> Usually the installer does that for me.  I can't say if that happened  
> this time, because I played with Grub and now I can't boot.
>
Burn yourself a copy of supergrubdisk.  It can be a lifesaver in these
situations.

>>> 4) The first guide shows how to install Grub on both disks.  After  
>>> that's done once, do I have to do it again whenever there's a new  
>>> kernel package?  Or in any other situation that I have to watch out 
>>> for?
>>
>> You only need to install grub on both disks once. After that, there is  
>> no need to repeat that again unless you upgrade grub itself.
>
> Here I have a big problem.  The guide said to run grub and do
> root(hd0,0)
> setup(hd0)
> and repeat for the other disk.  I don't have an executable file "grub".   
> grub-pc is installed.  After a bit of reading I tried this:
>
Are you trying it as root?

-Rob


Reply to: