﻿<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>评论: 在AIX 5L中，怎么创建没有头部偏移的LV（for Oracle datafile）</title>
	<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html</link>
	<description>dba on unix</description>
	<pubDate>Wed, 27 Aug 2008 23:02:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>作者: biti_rainy</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-278</link>
		<author>biti_rainy</author>
		<pubDate>Tue, 08 May 2007 05:39:57 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-278</guid>
					<description>big vg出现了一个bug，就是使用-T O，也是创建的普通的DS_LV类型的LV，而不是DS_LVZ类型的LV。
---------------------------
更确切一点，是创建好lv之后，当发生chlv 或者lvm的操作的时候lvm会修改掉 vgda中的 DEVICESUBTYPE 。 这样当 VGDA 中的信息和 ODM 中的信息就不一样了。 当 vgda重新写回odm的时候就出问题了。 
参考如下例子： ODM 和 VGDA 信息不一致(lslv -L 的最后一行  DS_LVZ)。
&lt;coolcode&gt;
root@mirror_pri:/&gt;varyonvg  mir_pri_rdvg_01
root@mirror_pri:/&gt;lslv -L   mir_p_128_001
LOGICAL VOLUME:     mir_p_128_001          VOLUME GROUP:   mir_pri_rdvg_01
LV IDENTIFIER:      00c2a48f00004c0000000112227851cf.11 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               raw                    WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        4 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                32                     PPs:            32
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    64
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                                     
root@mirror_pri:/&gt;varyoffvg  mir_pri_rdvg_01
root@mirror_pri:/&gt;lslv -L  mir_p_128_001
LOGICAL VOLUME:     mir_p_128_001          VOLUME GROUP:   mir_pri_rdvg_01
LV IDENTIFIER:      00c2a48f00004c0000000112227851cf.11 PERMISSION:     ?
VG STATE:           inactive               LV STATE:       ?
TYPE:               raw                    WRITE VERIFY:   ?
MAX LPs:            ?                      PP SIZE:        ?
COPIES:             ?                      SCHED POLICY:   ?
LPs:                ?                      PPs:            ?
STALE PPs:          ?                      BB POLICY:      ?
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    64
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: ?                                      
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     ?                                      
lslv: open(): There is a request to a device or address that does not exist.
DEVICESUBTYPE : DS_LVZ&lt;/coolcode&gt;</description>
		<content:encoded><![CDATA[<p>big vg出现了一个bug，就是使用-T O，也是创建的普通的DS_LV类型的LV，而不是DS_LVZ类型的LV。<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
更确切一点，是创建好lv之后，当发生chlv 或者lvm的操作的时候lvm会修改掉 vgda中的 DEVICESUBTYPE 。 这样当 VGDA 中的信息和 ODM 中的信息就不一样了。 当 vgda重新写回odm的时候就出问题了。<br />
参考如下例子： ODM 和 VGDA 信息不一致(lslv -L 的最后一行  DS_LVZ)。</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">root@mirror_pri:/&gt;varyonvg&nbsp; mir_pri_rdvg_01</li>
<li>root@mirror_pri:/&gt;lslv -L&nbsp; &nbsp;mir_p_128_001</li>
<li>LOGICAL VOLUME:&nbsp; &nbsp; &nbsp;mir_p_128_001&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VOLUME GROUP:&nbsp; &nbsp;mir_pri_rdvg_01</li>
<li>LV IDENTIFIER:&nbsp; &nbsp; &nbsp; 00c2a48f00004c0000000112227851cf.11 PERMISSION:&nbsp; &nbsp; &nbsp;read/write</li>
<li>VG STATE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;active/complete&nbsp; &nbsp; &nbsp; &nbsp; LV STATE:&nbsp; &nbsp; &nbsp; &nbsp;closed/syncd</li>
<li>TYPE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE VERIFY:&nbsp; &nbsp;off</li>
<li>MAX LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 512&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PP SIZE:&nbsp; &nbsp; &nbsp; &nbsp; 4 megabyte(s)</li>
<li>COPIES:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCHED POLICY:&nbsp; &nbsp;parallel</li>
<li>LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 32</li>
<li>STALE PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BB POLICY:&nbsp; &nbsp; &nbsp; relocatable</li>
<li>INTER-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;minimum&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RELOCATABLE:&nbsp; &nbsp; yes</li>
<li>INTRA-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;middle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UPPER BOUND:&nbsp; &nbsp; 64</li>
<li>MOUNT POINT:&nbsp; &nbsp; &nbsp; &nbsp; N/A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LABEL:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; None</li>
<li>MIRROR WRITE CONSISTENCY: on/ACTIVE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>EACH LP COPY ON A SEPARATE PV ?: yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>Serialize IO ?:&nbsp; &nbsp; &nbsp;NO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
<li>root@mirror_pri:/&gt;varyoffvg&nbsp; mir_pri_rdvg_01</li>
<li>root@mirror_pri:/&gt;lslv -L&nbsp; mir_p_128_001</li>
<li>LOGICAL VOLUME:&nbsp; &nbsp; &nbsp;mir_p_128_001&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VOLUME GROUP:&nbsp; &nbsp;mir_pri_rdvg_01</li>
<li>LV IDENTIFIER:&nbsp; &nbsp; &nbsp; 00c2a48f00004c0000000112227851cf.11 PERMISSION:&nbsp; &nbsp; &nbsp;?</li>
<li>VG STATE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;inactive&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LV STATE:&nbsp; &nbsp; &nbsp; &nbsp;?</li>
<li>TYPE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE VERIFY:&nbsp; &nbsp;?</li>
<li>MAX LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PP SIZE:&nbsp; &nbsp; &nbsp; &nbsp; ?</li>
<li>COPIES:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCHED POLICY:&nbsp; &nbsp;?</li>
<li>LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?</li>
<li>STALE PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BB POLICY:&nbsp; &nbsp; &nbsp; ?</li>
<li>INTER-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;minimum&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RELOCATABLE:&nbsp; &nbsp; yes</li>
<li>INTRA-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;middle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UPPER BOUND:&nbsp; &nbsp; 64</li>
<li>MOUNT POINT:&nbsp; &nbsp; &nbsp; &nbsp; N/A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LABEL:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; None</li>
<li>MIRROR WRITE CONSISTENCY: ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>EACH LP COPY ON A SEPARATE PV ?: yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>Serialize IO ?:&nbsp; &nbsp; &nbsp;?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>lslv: open(): There is a request to a device or address that does not exist.</li>
<li>DEVICESUBTYPE : DS_LVZ</li></ol></div>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-279</link>
		<author>piner</author>
		<pubDate>Tue, 08 May 2007 06:38:16 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-279</guid>
					<description>The problem shows up only after a reboot
* or any subsequent chlv or other LVM command that can update
* the VGDA on disk.
------------------------
恩，ibm是这样说的，但是，不知道创建后，立即去查，是哪种类型的，这个时候，到底有没有4K的头部区间，你测试下贴过来好了，我没有测试环境。</description>
		<content:encoded><![CDATA[<p>The problem shows up only after a reboot<br />
* or any subsequent chlv or other LVM command that can update<br />
* the VGDA on disk.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
恩，ibm是这样说的，但是，不知道创建后，立即去查，是哪种类型的，这个时候，到底有没有4K的头部区间，你测试下贴过来好了，我没有测试环境。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: biti_rainy</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-280</link>
		<author>biti_rainy</author>
		<pubDate>Tue, 08 May 2007 06:40:50 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-280</guid>
					<description>&lt;coolcode&gt;
root@mirror_pri:/&gt;varyonvg  mir_pri_rdvg_01
root@mirror_pri:/&gt;lsvg -p  mir_pri_rdvg_01
mir_pri_rdvg_01:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdiskpower35      active            1559        173         22..00..00..00..151
root@mirror_pri:/&gt;mklv -y lvtest -T O -t raw   mir_pri_rdvg_01  1
lvtest
root@mirror_pri:/&gt;lslv -L  lvtest
LOGICAL VOLUME:     lvtest                 VOLUME GROUP:   mir_pri_rdvg_01
LV IDENTIFIER:      00c2a48f00004c0000000112227851cf.14 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               raw                    WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        4 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                1                      PPs:            1
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    64
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                                     
DEVICESUBTYPE : DS_LVZ
                                        
root@mirror_pri:/&gt;varyoffvg mir_pri_rdvg_01
root@mirror_pri:/&gt;lslv -L lvtest
LOGICAL VOLUME:     lvtest                 VOLUME GROUP:   mir_pri_rdvg_01
LV IDENTIFIER:      00c2a48f00004c0000000112227851cf.14 PERMISSION:     ?
VG STATE:           inactive               LV STATE:       ?
TYPE:               raw                    WRITE VERIFY:   ?
MAX LPs:            ?                      PP SIZE:        ?
COPIES:             ?                      SCHED POLICY:   ?
LPs:                ?                      PPs:            ?
STALE PPs:          ?                      BB POLICY:      ?
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    64
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: ?                                      
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     ?                                      
lslv: open(): There is a request to a device or address that does not exist.
DEVICESUBTYPE : DS_LVZ
                                        
root@mirror_pri:/&gt;varyonvg  mir_pri_rdvg_01
root@mirror_pri:/&gt;lslv -L lvtest
LOGICAL VOLUME:     lvtest                 VOLUME GROUP:   mir_pri_rdvg_01
LV IDENTIFIER:      00c2a48f00004c0000000112227851cf.14 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               raw                    WRITE VERIFY:   off
MAX LPs:            512                    PP SIZE:        4 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                1                      PPs:            1
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    64
MOUNT POINT:        N/A                    LABEL:          None
MIRROR WRITE CONSISTENCY: on/ACTIVE                              
EACH LP COPY ON A SEPARATE PV ?: yes                                    
Serialize IO ?:     NO                                     
root@mirror_pri:/&gt;&lt;/coolcode&gt;</description>
		<content:encoded><![CDATA[<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">root@mirror_pri:/&gt;varyonvg&nbsp; mir_pri_rdvg_01</li>
<li>root@mirror_pri:/&gt;lsvg -p&nbsp; mir_pri_rdvg_01</li>
<li>mir_pri_rdvg_01:</li>
<li>PV_NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PV STATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOTAL PPs&nbsp; &nbsp;FREE PPs&nbsp; &nbsp; FREE DISTRIBUTION</li>
<li>hdiskpower35&nbsp; &nbsp; &nbsp; active&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1559&nbsp; &nbsp; &nbsp; &nbsp; 173&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;22..00..00..00..151</li>
<li>root@mirror_pri:/&gt;mklv -y lvtest -T O -t raw&nbsp; &nbsp;mir_pri_rdvg_01&nbsp; 1</li>
<li>lvtest</li>
<li>root@mirror_pri:/&gt;lslv -L&nbsp; lvtest</li>
<li>LOGICAL VOLUME:&nbsp; &nbsp; &nbsp;lvtest&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VOLUME GROUP:&nbsp; &nbsp;mir_pri_rdvg_01</li>
<li>LV IDENTIFIER:&nbsp; &nbsp; &nbsp; 00c2a48f00004c0000000112227851cf.14 PERMISSION:&nbsp; &nbsp; &nbsp;read/write</li>
<li>VG STATE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;active/complete&nbsp; &nbsp; &nbsp; &nbsp; LV STATE:&nbsp; &nbsp; &nbsp; &nbsp;closed/syncd</li>
<li>TYPE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE VERIFY:&nbsp; &nbsp;off</li>
<li>MAX LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 512&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PP SIZE:&nbsp; &nbsp; &nbsp; &nbsp; 4 megabyte(s)</li>
<li>COPIES:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCHED POLICY:&nbsp; &nbsp;parallel</li>
<li>LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1</li>
<li>STALE PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BB POLICY:&nbsp; &nbsp; &nbsp; relocatable</li>
<li>INTER-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;minimum&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RELOCATABLE:&nbsp; &nbsp; yes</li>
<li>INTRA-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;middle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UPPER BOUND:&nbsp; &nbsp; 64</li>
<li>MOUNT POINT:&nbsp; &nbsp; &nbsp; &nbsp; N/A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LABEL:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; None</li>
<li>MIRROR WRITE CONSISTENCY: on/ACTIVE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>EACH LP COPY ON A SEPARATE PV ?: yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>Serialize IO ?:&nbsp; &nbsp; &nbsp;NO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
<li>DEVICESUBTYPE : DS_LVZ</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
<li>root@mirror_pri:/&gt;varyoffvg mir_pri_rdvg_01</li>
<li>root@mirror_pri:/&gt;lslv -L lvtest</li>
<li>LOGICAL VOLUME:&nbsp; &nbsp; &nbsp;lvtest&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VOLUME GROUP:&nbsp; &nbsp;mir_pri_rdvg_01</li>
<li>LV IDENTIFIER:&nbsp; &nbsp; &nbsp; 00c2a48f00004c0000000112227851cf.14 PERMISSION:&nbsp; &nbsp; &nbsp;?</li>
<li>VG STATE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;inactive&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LV STATE:&nbsp; &nbsp; &nbsp; &nbsp;?</li>
<li>TYPE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE VERIFY:&nbsp; &nbsp;?</li>
<li>MAX LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PP SIZE:&nbsp; &nbsp; &nbsp; &nbsp; ?</li>
<li>COPIES:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCHED POLICY:&nbsp; &nbsp;?</li>
<li>LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?</li>
<li>STALE PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BB POLICY:&nbsp; &nbsp; &nbsp; ?</li>
<li>INTER-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;minimum&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RELOCATABLE:&nbsp; &nbsp; yes</li>
<li>INTRA-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;middle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UPPER BOUND:&nbsp; &nbsp; 64</li>
<li>MOUNT POINT:&nbsp; &nbsp; &nbsp; &nbsp; N/A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LABEL:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; None</li>
<li>MIRROR WRITE CONSISTENCY: ?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>EACH LP COPY ON A SEPARATE PV ?: yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>Serialize IO ?:&nbsp; &nbsp; &nbsp;?&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>lslv: open(): There is a request to a device or address that does not exist.</li>
<li>DEVICESUBTYPE : DS_LVZ</li>
<li>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
<li>root@mirror_pri:/&gt;varyonvg&nbsp; mir_pri_rdvg_01</li>
<li>root@mirror_pri:/&gt;lslv -L lvtest</li>
<li>LOGICAL VOLUME:&nbsp; &nbsp; &nbsp;lvtest&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VOLUME GROUP:&nbsp; &nbsp;mir_pri_rdvg_01</li>
<li>LV IDENTIFIER:&nbsp; &nbsp; &nbsp; 00c2a48f00004c0000000112227851cf.14 PERMISSION:&nbsp; &nbsp; &nbsp;read/write</li>
<li>VG STATE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;active/complete&nbsp; &nbsp; &nbsp; &nbsp; LV STATE:&nbsp; &nbsp; &nbsp; &nbsp;closed/syncd</li>
<li>TYPE:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;raw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WRITE VERIFY:&nbsp; &nbsp;off</li>
<li>MAX LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 512&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PP SIZE:&nbsp; &nbsp; &nbsp; &nbsp; 4 megabyte(s)</li>
<li>COPIES:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SCHED POLICY:&nbsp; &nbsp;parallel</li>
<li>LPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1</li>
<li>STALE PPs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BB POLICY:&nbsp; &nbsp; &nbsp; relocatable</li>
<li>INTER-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;minimum&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RELOCATABLE:&nbsp; &nbsp; yes</li>
<li>INTRA-POLICY:&nbsp; &nbsp; &nbsp; &nbsp;middle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UPPER BOUND:&nbsp; &nbsp; 64</li>
<li>MOUNT POINT:&nbsp; &nbsp; &nbsp; &nbsp; N/A&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LABEL:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; None</li>
<li>MIRROR WRITE CONSISTENCY: on/ACTIVE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>EACH LP COPY ON A SEPARATE PV ?: yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </li>
<li>Serialize IO ?:&nbsp; &nbsp; &nbsp;NO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
<li>root@mirror_pri:/&gt;</li></ol></div>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-281</link>
		<author>piner</author>
		<pubDate>Tue, 08 May 2007 06:45:58 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-281</guid>
					<description>测试过了，是创建开始的时候，有LVZ标志，没有4k偏移，但是，一但varyoff之类，就变成没有标志了，我修改一下原文吧。</description>
		<content:encoded><![CDATA[<p>测试过了，是创建开始的时候，有LVZ标志，没有4k偏移，但是，一但varyoff之类，就变成没有标志了，我修改一下原文吧。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: blue_prince</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-282</link>
		<author>blue_prince</author>
		<pubDate>Tue, 08 May 2007 07:25:48 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-282</guid>
					<description>晕死，这个BUG也太恶心了，要是不看这文章我还真不知道，如果OS版本刚好碰上，换个光纤卡啥的就碰上了</description>
		<content:encoded><![CDATA[<p>晕死，这个BUG也太恶心了，要是不看这文章我还真不知道，如果OS版本刚好碰上，换个光纤卡啥的就碰上了</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: David.Guo</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-283</link>
		<author>David.Guo</author>
		<pubDate>Tue, 08 May 2007 09:30:55 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-283</guid>
					<description>反正就是运气不好的时候,死了都不知道怎么死的.</description>
		<content:encoded><![CDATA[<p>反正就是运气不好的时候,死了都不知道怎么死的.</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: sherrywei</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-284</link>
		<author>sherrywei</author>
		<pubDate>Tue, 08 May 2007 10:31:07 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-284</guid>
					<description>Hello,I'm coming.
By the way,I have to tell you :it's too hard for me to read your blog except the part of "That's life"!
So I'm leaving with much sorrow.....</description>
		<content:encoded><![CDATA[<p>Hello,I&#8217;m coming.<br />
By the way,I have to tell you :it&#8217;s too hard for me to read your blog except the part of &#8220;That&#8217;s life&#8221;!<br />
So I&#8217;m leaving with much sorrow&#8230;..</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 八神苍月</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-285</link>
		<author>八神苍月</author>
		<pubDate>Tue, 08 May 2007 11:50:59 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-285</guid>
					<description>节日前测试出了这个BUG,幸好及时遇到,要不系统上线后出问题的话就慌了神了</description>
		<content:encoded><![CDATA[<p>节日前测试出了这个BUG,幸好及时遇到,要不系统上线后出问题的话就慌了神了</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: Thomas Zhang</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-302</link>
		<author>Thomas Zhang</author>
		<pubDate>Wed, 09 May 2007 01:15:47 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-302</guid>
					<description>我们现在5300-04，但没有使用大的vg或可扩展vg．出现过几次1578，但因为容灾和备份做的很冗余，所以没把这个事情放到日程上．^&#124;^

piner和feng这个研究的很好，值得参考！</description>
		<content:encoded><![CDATA[<p>我们现在5300-04，但没有使用大的vg或可扩展vg．出现过几次1578，但因为容灾和备份做的很冗余，所以没把这个事情放到日程上．^|^</p>
<p>piner和feng这个研究的很好，值得参考！</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 暗暗</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-303</link>
		<author>暗暗</author>
		<pubDate>Wed, 09 May 2007 02:46:18 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-303</guid>
					<description>ORACLE10。2.02这个问题还有吗？</description>
		<content:encoded><![CDATA[<p>ORACLE10。2.02这个问题还有吗？</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-309</link>
		<author>piner</author>
		<pubDate>Wed, 09 May 2007 05:33:29 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-309</guid>
					<description>[quote]ORACLE10。2.02这个问题还有吗？[/quote]

与oracle没有关系，与OS有关系，是OS的bug</description>
		<content:encoded><![CDATA[<p>[quote]ORACLE10。2.02这个问题还有吗？[/quote]</p>
<p>与oracle没有关系，与OS有关系，是OS的bug</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-355</link>
		<author>老农</author>
		<pubDate>Sun, 13 May 2007 18:52:41 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-355</guid>
					<description>如果不做strip，就没有所说的这个问题，只有做了stip，才会有可能有

如果做了strip，那strip size多大是看你的选择，一般是从4k到128k。在这种情况下，有可能会出现这样的情况：因为缺省让出的4k的offset，有的db_block不全在一个strip里，部分被分到了下一个strip里，散乱到其他LUN/PV上，出现潜在的麻烦。

如果offset正好是strip size的大小或倍数，那这种问题也没有了，所以，也怪ORACLE设offset太小气了，如果弄个1M，那这事都没有。我以前搞INFORMIX，习惯的offset 就是5M。

很多人说这是OS的BUG，其实不然。
如果说BIG VG里的LV的识别出现误判，那的确属于OS的BUG。

但归根结底，是属于ORACLE的offset没选择好而导致，属于ORACLE没能考虑到LV的情况合理规划空间的使用，如果ORACLE的offset选择合适了，哪来这个问题呢？

应该是应用去适应OS，而不是OS去适应应用。ORACLE如果认真，是完全能避免这个问题的。
当然，OS做调整，方便应用，那当然更好。
比方说，ORACLE没有OS/400的版本，那是OS/400的问题还是ORACLE的问题啊？

当然，最简单的还是就用Scalable VG</description>
		<content:encoded><![CDATA[<p>如果不做strip，就没有所说的这个问题，只有做了stip，才会有可能有</p>
<p>如果做了strip，那strip size多大是看你的选择，一般是从4k到128k。在这种情况下，有可能会出现这样的情况：因为缺省让出的4k的offset，有的db_block不全在一个strip里，部分被分到了下一个strip里，散乱到其他LUN/PV上，出现潜在的麻烦。</p>
<p>如果offset正好是strip size的大小或倍数，那这种问题也没有了，所以，也怪ORACLE设offset太小气了，如果弄个1M，那这事都没有。我以前搞INFORMIX，习惯的offset 就是5M。</p>
<p>很多人说这是OS的BUG，其实不然。<br />
如果说BIG VG里的LV的识别出现误判，那的确属于OS的BUG。</p>
<p>但归根结底，是属于ORACLE的offset没选择好而导致，属于ORACLE没能考虑到LV的情况合理规划空间的使用，如果ORACLE的offset选择合适了，哪来这个问题呢？</p>
<p>应该是应用去适应OS，而不是OS去适应应用。ORACLE如果认真，是完全能避免这个问题的。<br />
当然，OS做调整，方便应用，那当然更好。<br />
比方说，ORACLE没有OS/400的版本，那是OS/400的问题还是ORACLE的问题啊？</p>
<p>当然，最简单的还是就用Scalable VG</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-357</link>
		<author>piner</author>
		<pubDate>Mon, 14 May 2007 00:39:24 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-357</guid>
					<description>你这里可能有几个问题弄错了
1、不仅仅是strip的问题，只要一个lv跨越在多个pv上，就可能有这个问题，因为PP的大小肯定也是一个整数，如128M，那么(128M-4k)/8K还是除不尽的。
2、这个lv的offset，不是oracle定出来的，是OS定出来的，Oracle只是从最开始能写数据的地方开始写数据，除非oracle强行偏移8K（一个block大小），或者block的倍数
3、偏移大小，不一定非要一个strip的倍数以上，只要是满足上面的2，一个oracle block大小的倍数就可以
4、Scalable VG不是每个AIX版本都有的，5.2就没有

我觉得是把问题想明白了什么都好说，就怕的是，一看就乱做结论，这是不好的。</description>
		<content:encoded><![CDATA[<p>你这里可能有几个问题弄错了<br />
1、不仅仅是strip的问题，只要一个lv跨越在多个pv上，就可能有这个问题，因为PP的大小肯定也是一个整数，如128M，那么(128M-4k)/8K还是除不尽的。<br />
2、这个lv的offset，不是oracle定出来的，是OS定出来的，Oracle只是从最开始能写数据的地方开始写数据，除非oracle强行偏移8K（一个block大小），或者block的倍数<br />
3、偏移大小，不一定非要一个strip的倍数以上，只要是满足上面的2，一个oracle block大小的倍数就可以<br />
4、Scalable VG不是每个AIX版本都有的，5.2就没有</p>
<p>我觉得是把问题想明白了什么都好说，就怕的是，一看就乱做结论，这是不好的。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: anysql</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-358</link>
		<author>anysql</author>
		<pubDate>Mon, 14 May 2007 00:48:47 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-358</guid>
					<description>AIX不能强行设成offset 8k啊?</description>
		<content:encoded><![CDATA[<p>AIX不能强行设成offset 8k啊?</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-359</link>
		<author>piner</author>
		<pubDate>Mon, 14 May 2007 00:50:33 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-359</guid>
					<description>[quote]AIX不能强行设成offset 8k啊?[/quote]
这个,没有这个接口与命令啊.</description>
		<content:encoded><![CDATA[<p>[quote]AIX不能强行设成offset 8k啊?[/quote]<br />
这个,没有这个接口与命令啊.</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-361</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 03:59:49 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-361</guid>
					<description>1、不仅仅是strip的问题，只要一个lv跨越在多个pv上，就可能有这个问题，因为PP的大小肯定也是一个整数，如128M，那么(128M-4k)/8K还是除不尽的。
#确实是，我忽略了这个。

2、这个lv的offset，不是oracle定出来的，是OS定出来的，Oracle只是从最开始能写数据的地方开始写数据，除非oracle强行偏移8K（一个block大小），或者block的倍数
#这个你错了。LVCB只占512byter。至于从哪里开始写，那完全是ORACLE自己定位的。文件系统让出4K，那是AIX建FS的时候定义的。起码我用INFORMIX，就可以指定offset是多少，这就证明是ORACLE自己没做到。

3、偏移大小，不一定非要一个strip的倍数以上，只要是满足上面的2，一个oracle block大小的倍数就可以
#对，这是更准确

4、Scalable VG不是每个AIX版本都有的，5.2就没有
#没错。所以我强烈建议用AIX5.3,它已经出来3年了。</description>
		<content:encoded><![CDATA[<p>1、不仅仅是strip的问题，只要一个lv跨越在多个pv上，就可能有这个问题，因为PP的大小肯定也是一个整数，如128M，那么(128M-4k)/8K还是除不尽的。<br />
#确实是，我忽略了这个。</p>
<p>2、这个lv的offset，不是oracle定出来的，是OS定出来的，Oracle只是从最开始能写数据的地方开始写数据，除非oracle强行偏移8K（一个block大小），或者block的倍数<br />
#这个你错了。LVCB只占512byter。至于从哪里开始写，那完全是ORACLE自己定位的。文件系统让出4K，那是AIX建FS的时候定义的。起码我用INFORMIX，就可以指定offset是多少，这就证明是ORACLE自己没做到。</p>
<p>3、偏移大小，不一定非要一个strip的倍数以上，只要是满足上面的2，一个oracle block大小的倍数就可以<br />
#对，这是更准确</p>
<p>4、Scalable VG不是每个AIX版本都有的，5.2就没有<br />
#没错。所以我强烈建议用AIX5.3,它已经出来3年了。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-362</link>
		<author>piner</author>
		<pubDate>Mon, 14 May 2007 04:24:22 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-362</guid>
					<description>INFORMIX我不清楚，不过oracle只偏移了4K，可能考虑的是OS的一个块的单位。至于能不能偏移8k以上，或许与Oracle也有关系。不过，oracle不提供手工偏移的命令。</description>
		<content:encoded><![CDATA[<p>INFORMIX我不清楚，不过oracle只偏移了4K，可能考虑的是OS的一个块的单位。至于能不能偏移8k以上，或许与Oracle也有关系。不过，oracle不提供手工偏移的命令。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-363</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 04:37:16 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-363</guid>
					<description>发现你对这个问题理解很深，比较清楚，感谢你的指正啊：）</description>
		<content:encoded><![CDATA[<p>发现你对这个问题理解很深，比较清楚，感谢你的指正啊：）</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-364</link>
		<author>piner</author>
		<pubDate>Mon, 14 May 2007 04:44:39 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-364</guid>
					<description>[quote]发现你对这个问题理解很深，比较清楚，感谢你的指正啊：）[/quote]

呵呵，做数据库的，就要严谨，养成这样的习惯了。
不过，你的unix技术不错的，经验也瞒丰富。</description>
		<content:encoded><![CDATA[<p>[quote]发现你对这个问题理解很深，比较清楚，感谢你的指正啊：）[/quote]</p>
<p>呵呵，做数据库的，就要严谨，养成这样的习惯了。<br />
不过，你的unix技术不错的，经验也瞒丰富。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-365</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 05:29:42 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-365</guid>
					<description>是啊，不严谨是很要命的。
关键应用，不是一般玩PC的人能体会的。</description>
		<content:encoded><![CDATA[<p>是啊，不严谨是很要命的。<br />
关键应用，不是一般玩PC的人能体会的。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-366</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 05:32:22 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-366</guid>
					<description>你的BLOG我推荐给大家了：http://bbs.loveunix.net/viewthread.php?tid=72034&#38;pid=660132&#38;page=2&#38;extra=page%3D1#pid660132</description>
		<content:encoded><![CDATA[<p>你的BLOG我推荐给大家了：http://bbs.loveunix.net/viewthread.php?tid=72034&amp;pid=660132&amp;page=2&amp;extra=page%3D1#pid660132</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-367</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 05:52:10 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-367</guid>
					<description>Big VG的推出，本意并不是去掉在LV头部的LVCB，而是支持更大的VG而已，把LVCB不放在LV上只是一个不常用的option，所以有这个BUG我觉得不难理解。

而scalable VG则是彻底考虑到LVCB的问题了，所以应该要好的多。</description>
		<content:encoded><![CDATA[<p>Big VG的推出，本意并不是去掉在LV头部的LVCB，而是支持更大的VG而已，把LVCB不放在LV上只是一个不常用的option，所以有这个BUG我觉得不难理解。</p>
<p>而scalable VG则是彻底考虑到LVCB的问题了，所以应该要好的多。</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: piner</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-368</link>
		<author>piner</author>
		<pubDate>Mon, 14 May 2007 05:53:24 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-368</guid>
					<description>恩，也谢谢你的解答</description>
		<content:encoded><![CDATA[<p>恩，也谢谢你的解答</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-369</link>
		<author>老农</author>
		<pubDate>Mon, 14 May 2007 06:48:22 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-369</guid>
					<description>和你们的讨论，我也推荐给公司的工程师看了，希望他们能认真了解这个问题</description>
		<content:encoded><![CDATA[<p>和你们的讨论，我也推荐给公司的工程师看了，希望他们能认真了解这个问题</p>
]]></content:encoded>
				</item>
	<item>
		<title>作者: 老农</title>
		<link>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-483</link>
		<author>老农</author>
		<pubDate>Sat, 26 May 2007 21:31:07 +0000</pubDate>
		<guid>http://www.ixdba.com/html/y2007/m05/94-aix-lv-4k-datafile.html#comment-483</guid>
					<description>还有些人没明白为什么会出现跨LUN/PV，我在这里举了例子，并有图示意：http://bbs.loveunix.net/viewthread.php?tid=72034&#38;extra=page%3D2&#38;page=2</description>
		<content:encoded><![CDATA[<p>还有些人没明白为什么会出现跨LUN/PV，我在这里举了例子，并有图示意：http://bbs.loveunix.net/viewthread.php?tid=72034&amp;extra=page%3D2&amp;page=2</p>
]]></content:encoded>
				</item>
</channel>
</rss>
