Re: raid/mdadm help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 23/06/2014 17:22, Rodney D. Myers a écrit :
which should be still similar in Debian 7. If you are new to RAID,
So what HTH you says is the good way: create one partitions on each of
your storages devices (say sdX1 and sdY1) then use the given command:
# mdadm --create /dev/md0 --level=1 --raid-devices=2 \
/dev/sdX1 /dev/sdY1
Then format the created raid array
# mkfs.ext4 /dev/md0
Create a mount point for your raid:
# mkdir /storage-raid
Try the result
# mount /dev/md0 /storage-raid
If everything ok, finish your install
1-
# blkid /dev/md0
/dev/md0: UUID="41Js9Q-0WaZ-JGYR-r88a-FiqA-XS5F-0XWNOy" (of course the
uuid will be different for you)
2- add this in /etc/fstab:
UUID=41Js9Q-0WaZ-JGYR-r88a-FiqA-XS5F-0XWNOy /storage-raid ext4 rw 0 0
3-
# mdadm --detail --scan >> /etc/mdadm/mdadm.conf
reboot and see if everything works fine...
- --
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlOoVCoACgkQdE6C2dhV2JXV6gCcC9SEIzSgCqvOwTHJuRr466ty
WxIAnjflYxOJDGc9ppw0k70D954QOrEN
=duvV
-----END PGP SIGNATURE-----
Reply to: