Home » 2022 » March » 27

Mar '22 27

Replace Failed disk on Linux

cat /proc/mdstatsudo fdisk -l /dev/sdbsudo fdisk /dev/sdasudo fdisk -l /dev/sdasudo mdadm –manage /dev/md0 –remove /dev/sda1sudo mdadm –manage /dev/md0 –add /dev/sda1sudo mdadm –detail /dev/md0cat /proc/mdstatsudo grub-install /dev/sda sudo zdbls -l /dev/disk/by-id/sudo zpool statussudo zpool offline rpool /dev/disk/by-id/ata-Hitachi_HDS5C3020ALA632_ML0220F31K832N-part2sudo zpool replace rpool /dev/disk/by-id/ata-Hitachi_HDS5C3020ALA632_ML0220F31K832N-part2 … Continue reading