mdadm: You havent given enough devices
Dobrý den, mám problém při vytváření RAID 1 pole na linux mint:
zorek@linux ~ $
mdadm: You haven't given enough devices (real or missing) to create this array
Tak to byla moje chyba, nespecifikoval jsem disky, takto je to ok:
zorek@linux~ $ sudo mdadm --create /dev/md0 --level=1 --raid-disks=2 /dev/sdb1 /dev/sdd1
mdadm: /dev/sdb1 appears to contain an ext2fs file system
size=976760832K mtime=Thu Jan 1 01:00:00 1970
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
mdadm: /dev/sdd1 appears to contain an ext2fs file system
size=976760832K mtime=Thu Jan 1 01:00:00 1970
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.
zorek@linux ~ $
sudo mdadm --create /dev/md0 --level=1 --raid-disks=2
mdadm: You haven't given enough devices (real or missing) to create this array
ODPOVĚĎ
Tak to byla moje chyba, nespecifikoval jsem disky, takto je to ok:
zorek@linux~ $ sudo mdadm --create /dev/md0 --level=1 --raid-disks=2 /dev/sdb1 /dev/sdd1
mdadm: /dev/sdb1 appears to contain an ext2fs file system
size=976760832K mtime=Thu Jan 1 01:00:00 1970
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
mdadm: /dev/sdd1 appears to contain an ext2fs file system
size=976760832K mtime=Thu Jan 1 01:00:00 1970
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.