<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.5897" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Hi:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV style="TEXT-INDENT: 2em"><FONT color=#000080>Recently we found a problem in
using the parted programme in our device, the remote store server is iSCSI
,while can be set the sector size for 4096 ,But on the device we use the parted
programme to make part for harddisk(actually is the remote hardisk in iSCSI
server) it give the follow warning:</FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT face=Verdana color=#000080
size=2>Warning: Device /dev/isda has a logical sector size of 4096. Not all parts of GNU Parted support this at the moment</FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT color=#000080>and the partition process
can't execute, my parted version is 1.8.8 </FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT color=#000080>How to solve the problem
? We get the newest version 1.9.0 also the same result </FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT color=#000080>But if we set the sector size
is (512 , 1024 , 2048 ) ,the partition process can be successful.</FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT color=#000080>Help! please</FONT></DIV>
<DIV style="TEXT-INDENT: 4em"><FONT face=Verdana color=#000080
size=2></FONT> </DIV>
<DIV style="TEXT-INDENT: 4em"> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-12-17 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>Coordinates</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> parted-devel-request
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-12-16 20:13:46
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> parted-devel </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> parted-devel Digest, Vol 46,
Issue 9 </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Send parted-devel mailing list submissions to</DIV>
<DIV>parted-devel@lists.alioth.debian.org</DIV>
<DIV></DIV>
<DIV>To subscribe or unsubscribe via the World Wide Web, visit</DIV>
<DIV>http://lists.alioth.debian.org/mailman/listinfo/parted-devel</DIV>
<DIV>or, via email, send a message with subject or body 'help' to</DIV>
<DIV>parted-devel-request@lists.alioth.debian.org</DIV>
<DIV></DIV>
<DIV>You can reach the person managing the list at</DIV>
<DIV>parted-devel-owner@lists.alioth.debian.org</DIV>
<DIV></DIV>
<DIV>When replying, please edit your Subject line so it is more specific</DIV>
<DIV>than "Re: Contents of parted-devel digest..."</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Today's Topics:</DIV>
<DIV></DIV>
<DIV> 1. Error initialising SCSI device /dev/sda - Invalid argument</DIV>
<DIV> and parted: double free or corruption (out) (Rudy Gevaert)</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>----------------------------------------------------------------------</DIV>
<DIV></DIV>
<DIV>Message: 1</DIV>
<DIV>Date: Wed, 16 Dec 2009 09:57:31 +0100</DIV>
<DIV>From: Rudy Gevaert <rudy.gevaert@ugent.be></DIV>
<DIV>Subject: [parted-devel] Error initialising SCSI device /dev/sda -</DIV>
<DIV>Invalid argument and parted: double free or corruption (out)</DIV>
<DIV>To: parted-devel@lists.alioth.debian.org</DIV>
<DIV>Message-ID: <20091216095731.17753tt6r6b6p0jf@langoest.ugent.be></DIV>
<DIV>Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";</DIV>
<DIV>format="flowed"</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>(I tried report a bugthrough the website but this message gets </DIV>
<DIV>rejected as 'potential' spam :(). Mail to bug-parted@gnu.org doesn't </DIV>
<DIV>seem to show up in archives)</DIV>
<DIV></DIV>
<DIV>Hello,</DIV>
<DIV></DIV>
<DIV>I'm using FAI to automatically install machines. I'm getting the </DIV>
<DIV>above parted error in the following situation.</DIV>
<DIV></DIV>
<DIV>FAI is run in a Xen domU calling parted on a LVM volume. I also get </DIV>
<DIV>this error when parted is called on a iscsi lun. In both cases the </DIV>
<DIV>lun is given to the virtual machine as a the device '/dev/sda'.</DIV>
<DIV></DIV>
<DIV>I have this problem with versions 1.8.8.git.2008.03.24-11.1 and 1.9.0.</DIV>
<DIV></DIV>
<DIV>(Please, notice the -s option)</DIV>
<DIV></DIV>
<DIV>root@shibidp1:/# parted -s /dev/sda unit TiB print</DIV>
<DIV>Error: Error initialising SCSI device /dev/sda - Invalid argument</DIV>
<DIV></DIV>
<DIV>(Please, notice that the -s option is not given)</DIV>
<DIV></DIV>
<DIV>root@shibidp1:/# parted /dev/sda unit TiB print</DIV>
<DIV>Error: Error initialising SCSI device /dev/sda - Invalid argument</DIV>
<DIV>Ignore/Cancel? I</DIV>
<DIV>Model: (null) (scsi)</DIV>
<DIV>Disk /dev/sda: 0.01TiB</DIV>
<DIV>Sector size (logical/physical): 512B/512B</DIV>
<DIV>Partition Table: msdos</DIV>
<DIV></DIV>
<DIV>Number Start End Size Type File system Flags</DIV>
<DIV> 1 0.00TiB 0.01TiB 0.01TiB primary boot</DIV>
<DIV> 2 0.01TiB 0.01TiB 0.00TiB primary</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>If I then quiet parted I get</DIV>
<DIV>*** glibc detected *** parted: double free or corruption (out): </DIV>
<DIV>0x00007efff7afcab0 ***</DIV>
<DIV></DIV>
<DIV>That is then only with parted 1.8.8.git.2008.03.24-11.1.</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>So to conclude:</DIV>
<DIV>1) In my case, doing things with -s enabled doesn't work (either versions)</DIV>
<DIV>2) I get ' double free or corruption ' in the Debian Stable version.</DIV>
<DIV></DIV>
<DIV>All help would be appreciated as this is blocking the installation of </DIV>
<DIV>virtual machines.</DIV>
<DIV></DIV>
<DIV>Rudy</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --</DIV>
<DIV>Rudy Gevaert Rudy.Gevaert@UGent.be tel:+32 9 264 4734</DIV>
<DIV>Directie ICT, afd. Infrastructuur Direction ICT, Infrastructure dept.</DIV>
<DIV>Groep Systemen Systems group</DIV>
<DIV>Universiteit Gent Ghent University</DIV>
<DIV>Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be</DIV>
<DIV>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>----- Einde doorgestuurd bericht -----</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>-- </DIV>
<DIV>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --</DIV>
<DIV>Rudy Gevaert Rudy.Gevaert@UGent.be tel:+32 9 264 4734</DIV>
<DIV>Directie ICT, afd. Infrastructuur Direction ICT, Infrastructure dept.</DIV>
<DIV>Groep Systemen Systems group</DIV>
<DIV>Universiteit Gent Ghent University</DIV>
<DIV>Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be</DIV>
<DIV>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>------------------------------</DIV>
<DIV></DIV>
<DIV>_______________________________________________</DIV>
<DIV>parted-devel mailing list</DIV>
<DIV>parted-devel@lists.alioth.debian.org</DIV>
<DIV>http://lists.alioth.debian.org/mailman/listinfo/parted-devel</DIV>
<DIV></DIV>
<DIV>End of parted-devel Digest, Vol 46, Issue 9</DIV>
<DIV>*******************************************</DIV></FONT></DIV></BODY></HTML>