Re: how to create a degraded raid1 with only 1 of 2 drives ??

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

 



Quoting Mitchell Laks <mlaks@xxxxxxxxxxxxxxxx>:

Hi mdadm raid gurus,

I wanted to make a raid1 array, but at the moment I have only 1 drive available. The other disk is
in the mail. I wanted to make a raid1 that i will use as a backup.

But I need to do the backup now, before the second drive comes.

So I did this.

formated /dev/sda creating /dev/sda1 with type fd.

then I tried to run
mdadm -C /dev/md0 --level=1 --raid-devices=1 /dev/sda1

Perhaps give this a try:

# mdadm -C /dev/md0 --level=1 --raid-devices=2 /dev/sda1 missing

Cheers,
Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux