root cd2e6b7c35 nouveau fichier : Raid5/history_save/history.txt
nouveau fichier : Raid5/history_save/history2.txt
	nouveau fichier : Raid5/history_save/history3.txt
	nouveau fichier : Raid5/history_save/lasthistory.txt
2024-10-17 10:19:05 +02:00

60 lines
1.5 KiB
Plaintext

1 ip a
2 ip r
3 date
4 timedatectl set-timezone Europe/Paris
5 date
6 apt autoclean
7 apt autoremove
8 poweroff
9 fdisk -l |more
10 fdisk -l |more
11 lsblk
12 ifdown enp0s3
13 ifup enp0s3
14 ip a
15 apt install mdadm
16 lsblk
17 apt install partd
18 apt install parted
19 parted
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