<DIV>The PV device is a MD device, RAID5 on several SATA disks。</DIV>
<DIV>Linux kernel is 2.6.29. </DIV>
<DIV>The SATA disks belong to a JBOD and the JBOD can be accessed by 2 controller(I use some methods to control multiple access). </DIV>
<DIV>The OS on both of the controllers are the same, but one will hang and the other did not, so I think there is not any bad sectors on the disks.</DIV>
<DIV>Maybe there is something wrong with the MD (soft raid) driver, I should to check more information.</DIV>
<DIV> </DIV>
<DIV> > -----原始邮件-----<BR>> 发件人: "Stuart D. Gathman" <stuart@bmsi.com><BR>> 发送时间: 2011年7月2日 星期六<BR>> 收件人: "LVM general discussion and development" <linux-lvm@redhat.com><BR>> 抄送: <BR>> 主题: Re: [linux-lvm] why 'lvcreate' command blocked?<BR>> <BR>> On Fri, 1 Jul 2011, Busby.Cheung wrote:<BR>> <BR>> >        When I used the lvcreate cmd in my system, it blocked for a long<BR>> > time. My OS kernel version is linux-2.6.29, is there any bug?<BR>> <BR>> There is a bug somewhere.  Your block device is hanging.  You don't<BR>> mention what kind of block device and what driver are used for your<BR>> PVs.  It would only be an LVM problem if the block device was itself<BR>> an LVM device. :-)<BR>> <BR>> For instance, if your block device is iSCSI, and the SAN server is<BR>> down, or your block device is DRBD and the link is slow (has<BR>> happened to me), or your block device is a disk that is frantically<BR>> playing with bad sectors (has happened to me also), then LVM<BR>> would "hang".<BR>> <BR>> --<BR>>             Stuart D. Gathman <stuart@bmsi.com><BR>>      Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154<BR>> "Confutatis maledictis, flammis acribus addictis" - background song for<BR>> a Microsoft sponsored "Where do you want to go from here?" commercial.<BR>> <BR>> _______________________________________________<BR>> linux-lvm mailing list<BR>> linux-lvm@redhat.com<BR>> https://www.redhat.com/mailman/listinfo/linux-lvm<BR>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/<BR></DIV><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>