<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>PCとかケータイのBlog &#187; サーバ管理</title>
	<atom:link href="http://b.0r2.info/tag/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86/feed/" rel="self" type="application/rss+xml" />
	<link>http://b.0r2.info</link>
	<description>PC, Mac, ケータイ, ガジェットの話題を思いつくままに綴る</description>
	<lastBuildDate>Fri, 16 Mar 2012 19:35:08 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>PCとかケータイのBlog</title>
    <url>http://0.gravatar.com/avatar/16ff9a17ed5d94569176f6ba649df376.png?s=48</url>
    <link>http://b.0r2.info</link>
   </image>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://b.0r2.info/tag/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86/feed/" />
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>サーバ移行</title>
		<link>http://b.0r2.info/2009/06/19/%e3%82%b5%e3%83%bc%e3%83%90%e7%a7%bb%e8%a1%8c/</link>
		<comments>http://b.0r2.info/2009/06/19/%e3%82%b5%e3%83%bc%e3%83%90%e7%a7%bb%e8%a1%8c/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 12:28:50 +0000</pubDate>
		<dc:creator>masayukig</dc:creator>
				<category><![CDATA[このサイトのこと]]></category>
		<category><![CDATA[coreserver.jp]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[サーバ管理]]></category>

		<guid isPermaLink="false">http://www.0r2.info/blog/?p=785</guid>
		<description><![CDATA[サーバを移行した。 今までは、Dreamhostを使用していたが、尋常じゃないロードアベレージ 02:36:35 up 9 days, 17:21, 10 users, load average: 18.48, 9.54 <a href='http://b.0r2.info/2009/06/19/%e3%82%b5%e3%83%bc%e3%83%90%e7%a7%bb%e8%a1%8c/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>サーバを移行した。</p>
<p>今までは、Dreamhostを使用していたが、尋常じゃないロードアベレージ</p>
<blockquote><p> 02:36:35 up 9 days, 17:21, 10 users,  load average: 18.48, 9.54, 20.31<br />
 02:37:35 up 9 days, 17:22, 10 users,  load average: 45.46, 19.28, 23.05<br />
 02:38:35 up 9 days, 17:23, 10 users,  load average: 50.78, 24.88, 24.70<br />
 02:39:36 up 9 days, 17:24, 11 users,  load average: 21.77, 21.45, 23.54</p></blockquote>
<p>で、かなーりもっさり(だけなら我慢できるが、時々、PHPやMySQLにつながらないことも。。)<br />
で、coreserver.jpへ乗り換えてみた。<br />
<span id="more-785"></span></p>
<blockquote><p>
masayun@s133:~> uptime<br />
  9:27pm  up 9 days 17:36,  2 users,  load average: 0.27, 0.18, 0.17
</p></blockquote>
<p>と、今のところまともな感じ。<br />
体感速度も、結構向上したと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://b.0r2.info/2009/06/19/%e3%82%b5%e3%83%bc%e3%83%90%e7%a7%bb%e8%a1%8c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://b.0r2.info/2009/06/19/%e3%82%b5%e3%83%bc%e3%83%90%e7%a7%bb%e8%a1%8c/" />
	</item>
		<item>
		<title>lvremove出来ない！(Can&#039;t remove open logical volume &quot;hogehoge&quot;)</title>
		<link>http://b.0r2.info/2009/03/20/lvremove%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%84%ef%bc%81cant-remove-open-logical-volume-hogehoge/</link>
		<comments>http://b.0r2.info/2009/03/20/lvremove%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%84%ef%bc%81cant-remove-open-logical-volume-hogehoge/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 00:13:20 +0000</pubDate>
		<dc:creator>masayukig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[lvremove]]></category>
		<category><![CDATA[サーバ管理]]></category>

		<guid isPermaLink="false">http://www.0r2.info/blog/?p=726</guid>
		<description><![CDATA[lvmを使っていて、必要なくなったlvを削除するためのコマンドである、 lvremove というのがあります。 先日、iscsiテスト用に作ったlvを、これを使って削除しようとしたら、 $ sudo lvremove / <a href='http://b.0r2.info/2009/03/20/lvremove%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%84%ef%bc%81cant-remove-open-logical-volume-hogehoge/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>lvmを使っていて、必要なくなったlvを削除するためのコマンドである、<br />
lvremove<br />
というのがあります。<br />
先日、iscsiテスト用に作ったlvを、これを使って削除しようとしたら、</p>
<pre>
$ sudo lvremove  /dev/vg01/iscsi
Can't remove open logical volume "iscsi"
</pre>
<p>と、言われて削除できなかったので、その解決方法など。<br />
<span id="more-726"></span><br />
結論を言うと、</p>
<pre>
$ sudo dmsetup ls
vg01-iscsip3	(254, 4)
vg01-iscsip1	(254, 3)
vg01-iscsi	(254, 0)
$ sudo dmsetup remove vg01-iscsip1
$ sudo dmsetup remove vg01-iscsip3
$ sudo dmsetup remove vg01-iscsi
$ sudo lvremove  /dev/vg01/iscsi
  Logical volume "iscsi" successfully removed
</pre>
<p>と、すれば良い模様。<br />
最初、</p>
<pre>
$ sudo dmsetup remove vg01-iscsi
</pre>
<p>をやったのですが、</p>
<pre>
device-mapper: remove ioctl failed: Device or resource busy
Command failed
</pre>
<p>と、言われて削除できませんでした。</p>
<p>vg01-iscsip1,3というのが(多分)勝手に作られていて、<br />
それがあったために、vg01-iscsiを削除できなかったのではないかと思っています。</p>
<p>#記憶は若干あやふやなので、参考程度に。。</p>
]]></content:encoded>
			<wfw:commentRss>http://b.0r2.info/2009/03/20/lvremove%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%84%ef%bc%81cant-remove-open-logical-volume-hogehoge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://b.0r2.info/2009/03/20/lvremove%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%84%ef%bc%81cant-remove-open-logical-volume-hogehoge/" />
	</item>
	</channel>
</rss>

