LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Raid 1 boot error

[ILUG] Raid 1 boot error

Conor Daly conor.daly at cod.utvinternet.com
Thu Dec 16 16:09:49 GMT 2004


On Thu, Dec 16, 2004 at 12:08:47PM +0000 or so it is rumoured hereabouts, 
John Madden thought:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On (16/12/04 11:54), Frank Murphy didst pronounce:
> > 
> > mkfs -t ext3 /dev/hdb1 (hdc1)
> > 
> > mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/hdb1 /dev/hdc1
> > 
> > (it believed partitions to be ext2, fdisk-l shows type 83)
> > 
> Don't you have to create the filesystem on the RAID device, not on the
> individual partitions being used for it? I think a mke2fs -j /dev/md0
> should fix your problems. Note, this will wipe any data on the two
> partitions in md0.

The way to avoid wiping data {only in a raid 1 setup} is to mark the disk
with the data as a 'failed-disk', mount it elsewhere, mkfs /dev/md0, cp -a
the failed disk into the raid fs, then mark the failed disk as ok.  I used
this to convert a single disk to half of a raid set after the OS had been
installed.

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  4:11pm  up 22 days, 20:35,  0 users,  load average: 0.00, 0.03, 0.05
Hobbiton.cod.ie
 16:07:25  up 22 days, 20:32,  1 user,  load average: 0.08, 0.05, 0.01



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell