[CoLoCo] SATA RAID controller

TC telecon at infosyndicate.net
Wed Mar 5 01:39:38 GMT 2008


WEll, the only members of your active raid devices are the partitions on sda

You still need to add the partitions on sdb so that they will start
mirroring.

mdadm /dev/md0 -add /dev/sdb1

should do it.

Be careful though!

What do you have mounted?

Jim Hutchinson wrote:
> 
> 
> On Tue, Mar 4, 2008 at 6:14 PM, TC <telecon at infosyndicate.net
> <mailto:telecon at infosyndicate.net>> wrote:
> 
>     Ummm.  This indicates you are doing raid mirroring on one drive.
> 
>     That won't save anything if you lose the drive.  Installing raid at
>     install can be tricky.
> 
>     Can you send me an fdisk -l?
> 
> 
> Sure.
> 
> Disk /dev/sda: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00026af0
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       36230   291017443+  fd  Linux raid
> autodetect
> /dev/sda2   *       36231       38662    19535040   fd  Linux raid
> autodetect
> /dev/sda3           38663       38913     2016157+  82  Linux swap / Solaris
> 
> Disk /dev/sdb: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x000b02b7
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1       36230   291017443+  fd  Linux raid
> autodetect
> /dev/sdb2           36231       38662    19535040   fd  Linux raid
> autodetect
> /dev/sdb3           38663       38913     2016157+  82  Linux swap / Solaris
> 
> Disk /dev/md0: 298.0 GB, 298001760256 bytes
> 2 heads, 4 sectors/track, 72754336 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
> Disk identifier: 0x00000000
> 
> Disk /dev/md0 doesn't contain a valid partition table
> 
> Disk /dev/md1: 20.0 GB, 20003815424 bytes
> 2 heads, 4 sectors/track, 4883744 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
> Disk identifier: 0x00000000
> 
> Disk /dev/md1 doesn't contain a valid partition table
> 
> I don't think  I'm mirroring on one drive. There isn't enough space to
> mirror on one drive. It's two partitions but one is /home and one is /.
> 
> Thanks,
> -jim
> -- 
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
> 



More information about the Ubuntu-us-co mailing list