<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>2019/09/24 on Yano&#39;s digital garage</title>
    <link>https://www.bravotouring.com/~yano/archives/2019/09/24/</link>
    <description>Recent content in 2019/09/24 on Yano&#39;s digital garage</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 24 Sep 2019 23:52:29 +0900</lastBuildDate>
    <atom:link href="https://www.bravotouring.com/~yano/archives/2019/09/24/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>RAID5解放</title>
      <link>https://www.bravotouring.com/~yano/diary/it/20190924_raid_stop.htm</link>
      <pubDate>Tue, 24 Sep 2019 23:52:29 +0900</pubDate>
      <guid>https://www.bravotouring.com/~yano/diary/it/20190924_raid_stop.htm</guid>
      <description>&lt;p&gt;ReadyNASに構築した&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20190901_st6000dm003.htm&#34;&gt;6TB×4台で16.5TBのRAID&lt;/a&gt;に無事録画データが移行できたので、&lt;a href=&#34;https://www.bravotouring.com/~yano/diary/it/20180510_wd30ezrx.htm&#34;&gt;WD30EZRx×5構成でRAID5な11TBドライブ&lt;/a&gt;を解放。&lt;/p&gt;&#xA;&lt;p&gt;まず&lt;span class=&#34;Path&#34;&gt;/etc/samba/smb.conf&lt;/span&gt;の共有設定をコメントアウトしたあと、restartしてマウントも解除。&#xA;&lt;blockquote class=&#34;Log&#34;&gt;root@GT110b:~# service smbd restart&lt;br/&gt;smbd stop/waiting&lt;br/&gt;smbd start/running, process 8215&lt;br/&gt;root@GT110b:~# umount /mnt/raid&lt;br/&gt;root@GT110b:~# &lt;/blockquote&gt;&#xA;そして&lt;span class=&#34;Software&#34;&gt;mdadm&lt;/span&gt;でRAIDの停止。&#xA;&lt;blockquote class=&#34;Log&#34;&gt;&#xA;root@GT110b:~# cat /proc/mdstat&lt;br/&gt;&#xA;Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]&lt;br/&gt;&#xA;md0 : active raid5 sdf[0] sde[5] sdi[4] sdh[2] sdg[1]&lt;br/&gt;&#xA;      11720540160 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;unused devices: &lt;none&gt;&lt;br/&gt;&#xA;root@GT110b:~#&lt;br/&gt;&#xA;root@GT110b:~# &lt;span class=&#34;Software&#34;&gt;mdadm&lt;/span&gt; -D /dev/md0&lt;br/&gt;&#xA;/dev/md0:&lt;br/&gt;&#xA;        Version : 1.2&lt;br/&gt;&#xA;  Creation Time : Thu Jul 20 23:01:38 2017&lt;br/&gt;&#xA;     Raid Level : raid5&lt;br/&gt;&#xA;     Array Size : 11720540160 (11177.58 GiB 12001.83 GB)&lt;br/&gt;&#xA;  Used Dev Size : 2930135040 (2794.39 GiB 3000.46 GB)&lt;br/&gt;&#xA;   Raid Devices : 5&lt;br/&gt;&#xA;  Total Devices : 5&lt;br/&gt;&#xA;    Persistence : Superblock is persistent&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;    Update Time : Wed Sep 25 01:35:53 2019&lt;br/&gt;&#xA;          State : clean&lt;br/&gt;&#xA; Active Devices : 5&lt;br/&gt;&#xA;Working Devices : 5&lt;br/&gt;&#xA; Failed Devices : 0&lt;br/&gt;&#xA;  Spare Devices : 0&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;         Layout : left-symmetric&lt;br/&gt;&#xA;     Chunk Size : 512K&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;           Name : GT110b:0  (local to host GT110b)&lt;br/&gt;&#xA;           UUID : 81328295:5f1fa0c2:b3535462:79680794&lt;br/&gt;&#xA;         Events : 388988&lt;br/&gt;&#xA;&lt;br/&gt;&#xA;    Number   Major   Minor   RaidDevice State&lt;br/&gt;&#xA;       0       8       80        0      active sync   /dev/sdf&lt;br/&gt;&#xA;       1       8       96        1      active sync   /dev/sdg&lt;br/&gt;&#xA;       2       8      112        2      active sync   /dev/sdh&lt;br/&gt;&#xA;       4       8      128        3      active sync   /dev/sdi&lt;br/&gt;&#xA;       5       8       64        4      active sync   /dev/sde&lt;br/&gt;&#xA;root@GT110b:~#&lt;br/&gt;&#xA;root@GT110b:~# &lt;span class=&#34;Software&#34;&gt;mdadm&lt;/span&gt; --misc &lt;span class=&#34;Warning&#34;&gt;--stop&lt;/span&gt; /dev/md0&lt;br/&gt;&#xA;mdadm: stopped /dev/md0&lt;br/&gt;&#xA;root@GT110b:~#&lt;br/&gt;&#xA;root@GT110b:~# cat /proc/mdstat&lt;br/&gt;&#xA;Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]&lt;br/&gt;&#xA;unused devices: &lt;none&gt;&lt;br/&gt;&#xA;root@GT110b:~# &lt;span class=&#34;Software&#34;&gt;mdadm&lt;/span&gt; --misc --zero-superblock /dev/sd[efghi]&lt;br/&gt;&#xA;root@GT110b:~#&lt;/blockquote&gt;&#xA;最後に&lt;span class=&#34;Software&#34;&gt;parted&lt;/span&gt;で&#xA;&lt;blockquote class=&#34;Log&#34;&gt;root@GT110b:~# &lt;span class=&#34;Software&#34;&gt;parted&lt;/span&gt; /dev/sd[efghi]&lt;/blockquote&gt;とパーティションを削除して終了。&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
