<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Disk_Control</id>
	<title>Disk Control - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Disk_Control"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Disk_Control&amp;action=history"/>
	<updated>2026-04-27T13:28:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=964&amp;oldid=prev</id>
		<title>Busk at 19:04, 7 November 2020</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=964&amp;oldid=prev"/>
		<updated>2020-11-07T19:04:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:04, 7 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot; &gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;delete a disk before unplugging:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;delete a disk before unplugging:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo 1 &amp;gt; sys/block/sda/device/delete&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo 1 &amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;sys/block/sda/device/delete&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;scan for new hotplugged disks:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;scan for new hotplugged disks:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=963&amp;oldid=prev</id>
		<title>Busk at 19:04, 7 November 2020</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=963&amp;oldid=prev"/>
		<updated>2020-11-07T19:04:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:04, 7 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot; &gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mkdir /disk2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mkdir /disk2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mount -L disk2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mount -L disk2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;```&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;```&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sudo  rescan-scsi-bus.sh&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=349&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;# Controlling Disk With Linux   # linux disk hot-swapping  take a disk offline: ``` echo offline &gt; /sys/block/sda/device/state ```  put a disk online: ``` echo running &gt; /sys/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Disk_Control&amp;diff=349&amp;oldid=prev"/>
		<updated>2019-08-26T17:39:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;# Controlling Disk With Linux   # linux disk hot-swapping  take a disk offline: ``` echo offline &amp;gt; /sys/block/sda/device/state ```  put a disk online: ``` echo running &amp;gt; /sys/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;# Controlling Disk With Linux&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# linux disk hot-swapping&lt;br /&gt;
&lt;br /&gt;
take a disk offline:&lt;br /&gt;
```&lt;br /&gt;
echo offline &amp;gt; /sys/block/sda/device/state&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
put a disk online:&lt;br /&gt;
```&lt;br /&gt;
echo running &amp;gt; /sys/block/sda/device/state&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
delete a disk before unplugging:&lt;br /&gt;
```&lt;br /&gt;
echo 1 &amp;gt; sys/block/sda/device/delete&lt;br /&gt;
```&lt;br /&gt;
scan for new hotplugged disks:&lt;br /&gt;
```&lt;br /&gt;
echo &amp;quot;0 0 0&amp;quot; &amp;gt; /sys/class/scsi_host/host/scan&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
display the controller IDs:&lt;br /&gt;
```&lt;br /&gt;
omreport storage controller&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
display the IDs for the physical disks attached to the controller:&lt;br /&gt;
```&lt;br /&gt;
omreport storage pdisk controller=0&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
displays property information for all virtual disks on all controllers&lt;br /&gt;
```&lt;br /&gt;
omreport storage vdisk&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
make sure that I’m dealing with the proper disks:&lt;br /&gt;
```&lt;br /&gt;
omconfig storage pdisk action=blink controller=0 pdisk=0:0:2&lt;br /&gt;
omconfig storage pdisk action=unblink controller=0 pdisk=0:0:2&lt;br /&gt;
omconfig storage pdisk action=blink controller=0 pdisk=0:0:3&lt;br /&gt;
omconfig storage pdisk action=unblink controller=0 pdisk=0:0:3&lt;br /&gt;
clear the configuration:&lt;br /&gt;
omconfig storage controller action=clearforeignconfig controller=0&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
check for the new virtual disk:&lt;br /&gt;
```&lt;br /&gt;
omreport storage vdisk&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
initialize a disk:&lt;br /&gt;
```&lt;br /&gt;
omconfig storage vdisk action=fastinit controller=0 vdisk=id&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
how to replace a disk on a dell server with several disks in a jbod configuration&lt;br /&gt;
```&lt;br /&gt;
umount /dev/sdg1&lt;br /&gt;
echo offline &amp;gt; /sys/block/sdg/device/state&lt;br /&gt;
echo 1 &amp;gt; sys/block/sdg/device/delete&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
install replacement disk, then:&lt;br /&gt;
```&lt;br /&gt;
echo &amp;quot;0 0 0&amp;quot; &amp;gt; /sys/class/scsi_host/host/scan&lt;br /&gt;
#&lt;br /&gt;
# WARNING!! WARNING!! Danger Will Robinson!!&lt;br /&gt;
# verify that the disk is the same device&lt;br /&gt;
#&lt;br /&gt;
fdisk -l /dev/sdg&lt;br /&gt;
#&lt;br /&gt;
echo running &amp;gt; /sys/block/sdg/device/state&lt;br /&gt;
parted /dev/sdg&lt;br /&gt;
mkfs.ext3 -m0 -L /disk6  /dev/sdg1&lt;br /&gt;
tune2fs -i0 -c0 /dev/sdg1&lt;br /&gt;
mount /dev/sdg1&lt;br /&gt;
&lt;br /&gt;
fdisk /dev/sdg&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;      Command (m for help): n (create new partition)&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;      Partition number (1-4): 1&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;      Command (m for help): p (create primary partition)&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;      Command (m for help): w    (Write and save partition table)&lt;br /&gt;
mkfs.ext3 -L disk2 -m 0 /dev/sdg1&lt;br /&gt;
tune2fs -c 0 -i 0 /dev/sdg1&lt;br /&gt;
cat &amp;gt;&amp;gt;/etc/fstab &amp;lt;&amp;lt;EOM&lt;br /&gt;
LABEL=disk2           /disk2                   ext3    defaults        1 2&lt;br /&gt;
EOM&lt;br /&gt;
mkdir /disk2&lt;br /&gt;
mount -L disk2&lt;br /&gt;
```&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>