diff --git a/sio2/sisr/Raid5/history_save/history.txt b/sio2/sisr/Raid5/history_save/history.txt new file mode 100644 index 0000000..d643cb9 --- /dev/null +++ b/sio2/sisr/Raid5/history_save/history.txt @@ -0,0 +1,43 @@ + 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 diff --git a/sio2/sisr/Raid5/history_save/history2.txt b/sio2/sisr/Raid5/history_save/history2.txt new file mode 100644 index 0000000..282c9ea --- /dev/null +++ b/sio2/sisr/Raid5/history_save/history2.txt @@ -0,0 +1,59 @@ + 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 diff --git a/sio2/sisr/Raid5/history_save/history3.txt b/sio2/sisr/Raid5/history_save/history3.txt new file mode 100644 index 0000000..9d9feb6 --- /dev/null +++ b/sio2/sisr/Raid5/history_save/history3.txt @@ -0,0 +1,70 @@ + 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 + 60 nano history2.txt + 61 clear + 62 ls + 63 ../mnt/ + 64 cd ../mnt/ + 65 ls + 66 touch test + 67 cd + 68 clear + 69 dd if=/dev/zero of=/mnt/fic bs=1M count=50 + 70 history > history3.txt diff --git a/sio2/sisr/Raid5/history_save/lasthistory.txt b/sio2/sisr/Raid5/history_save/lasthistory.txt new file mode 100644 index 0000000..b7f34ba --- /dev/null +++ b/sio2/sisr/Raid5/history_save/lasthistory.txt @@ -0,0 +1,73 @@ + 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 + 60 nano history2.txt + 61 clear + 62 ls + 63 ../mnt/ + 64 cd ../mnt/ + 65 ls + 66 touch test + 67 cd + 68 clear + 69 dd if=/dev/zero of=/mnt/fic bs=1M count=50 + 70 history > history3.txt + 71 mdadm /dev/md0 --fail /dev/sdb1 + 72 cat /proc/mdstat + 73 history > lasthistory.txt