FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-13-2012, 09:08 PM
James
 
Default Raid1 simple workstation

Hello,

Well it's been almost a year since I tried to set up
a simple raid1 workstation. (I.E. 2 identical drives,
boo/root/swap only with Raid 1). So I'm starting over.

I found this link:
http://en.gentoo-wiki.com/wiki/RAID/Software

Is this the best document to follow?
(note, I'm going to try to avoid using LVM:

fdisk -l

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xab83344a

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 526335 262144 fd Linux raid autodetect
/dev/sda2 526336 10573823 5023744 fd Linux raid autodetect
/dev/sda3 10573824 3907029167 1948227672 fd Linux raid autodetect

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xab83344a

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 526335 262144 fd Linux raid autodetect
/dev/sdb2 526336 10573823 5023744 fd Linux raid autodetect
/dev/sdb3 10573824 3907029167 1948227672 fd Linux raid autodetect

Disk /dev/md127: 268 MB, 268369920 bytes
2 heads, 4 sectors/track, 65520 cylinders, total 524160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md127 doesn't contain a valid partition table
<snip many more /dev/md### partitions.


So the drives are setup identical, and are identical 2T seagate
drivers. The md### partitions are all screwed up. So I think
I should just nuke all the data and start over, just keeping
the formatting.


(parted) print
Model: ATA ST32000542AS (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 269MB 268MB primary boot, raid
2 269MB 5414MB 5144MB primary raid
3 5414MB 2000GB 1995GB primary raid


(parted) print
Model: ATA ST32000542AS (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 269MB 268MB primary boot, raid
2 269MB 5414MB 5144MB primary raid
3 5414MB 2000GB 1995GB primary raid




parted shows the drives as set up fine (???), I just need to
erase each partition from here? Suggestions?


James
 

Thread Tools




All times are GMT. The time now is 11:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org