JPsiotp/sio2/sisr/Raid5/history2.txt
Jarod Pauchet 8ef43e8740 renommé : sio2/sisr/Raid5/history_save/history.txt -> sio2/sisr/Raid5/history.txt
renommé :         sio2/sisr/Raid5/history_save/history2.txt -> sio2/sisr/Raid5/history2.txt
	renommé :         sio2/sisr/Raid5/history_save/history3.txt -> sio2/sisr/Raid5/history3.txt
	renommé :         sio2/sisr/Raid5/history_save/lasthistory.txt -> sio2/sisr/Raid5/lasthistory.txt
2024-10-17 10:24:01 +02:00

43 lines
1.2 KiB
Plaintext

11 lsblk
15 apt install mdadm
20 lsblk
21 parted /dev/sdb/ mklabel msdos mkpart PARTTYPE1 ext4 0.0 100%
22 parted /dev/sdb mklabel msdos mkpart PARTTYPE1 ext4 0.0 100%
23 parted /dev/sdb mklabel msdos mkpart primary ext4 0.0 100%
24 lsblk
25 sync;
26 sync;
27 lsblk
28 fdisk /dev/sdb
29 parted /dev/sdb mklabel msdos mkpart primary ext4 0.0 100%
30 reboot
31 ldbsk
32 lsblk
33 fdisk /dev/sdb
34 fdisk /dev/sdb
35 lsblk
36 sfdisk -d /dev/sdb | sfdisk -f /dev/sdc
37 sfdisk -d /dev/sdb | sfdisk -f /dev/sdd
38 sfdisk -d /dev/sdb | sfdisk -f /dev/sde
39 lsblk
40 mdadm --create /dev/md0 --level=5 --assume-clean --raid-services=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
41 mdadm --create /dev/md0 --level=5 --assume-clean --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
42 cat /proc/mdstat
43 history > history.txt
44 ls
45 nano history.txt
46 clear
47 cat /proc/mdstat
48 mdadm --add /dev/md0 /dev/sde1
49 cat /proc/mdstat
50 fdisk
51 fdisk /dev/md0
52 lsblk
53 fdisk /dev/md0
54 fdisk /dev/md0p1
55 mkfs.ext4 /dev/md0p1
56 mount help
57 mount /dev/md0p1 /mnt
58 df -h
59 history > history2.txt