# Copy Codeblocks Theme Component

**URL:** https://meta.discourse.org/t/copy-codeblocks-theme-component/147441
**Category:** Theme component
**Tags:** deprecated
**Created:** [April 9, 2020, 5:32pm UTC](https://meta.discourse.org/t/copy-codeblocks-theme-component/147441 "2020-04-09T17:32:04Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 10, 2020, 4:05pm UTC](https://meta.discourse.org/t/copy-codeblocks-theme-component/147441/11 "2020-04-10T16:05:05Z")

</div>

Sorry, but a ❤ isn’t enough this time.

Sweet! This is awesome. This combined with the [Placeholder Forms](https://meta.discourse.org/t/discourse-placeholder-theme-component/113533) is really cool.

### what I just did with it

> **[Replacing A Failed Hard Drive In A Software RAID1 Array](https://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array)**
>
> This guide shows how to remove a failed hard drive from a Linux RAID1 array (software RAID), and how to add a new hard disk to the RAID1 array without...

```plaintext
sfdisk -d /dev/=gooddev= | sfdisk /dev/=newdev=
mdadm --manage /dev/md1 --add /dev/=newdev=
mdadm --detail /dev/md1

```

### Watch it work!

```plaintext
while true; do mdadm --detail /dev/md1|grep "Rebuild Status" ; sleep 10;done

```

### Get Power On time for all drives

```
for x in a b c d ; do smartctl -a /dev/sd$x|grep Power_On; done

```

---

_[View the full topic](https://meta.discourse.org/t/copy-codeblocks-theme-component/147441)._
