Hi:

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:
Warning: Device /dev/isda has a logical sector size of 4096.  Not all parts of 
GNU Parted support this at the moment
and the partition process can't execute, my parted version is 1.8.8 
How to solve the problem ?  We get the newest version 1.9.0 also the same 
result 
But if we set the sector size is (512 , 1024 , 2048 ) ,the partition process 
can be successful.
Help! please

 
2009-12-17 



Coordinates 



发件人: parted-devel-request 
发送时间: 2009-12-16  20:13:46 
收件人: parted-devel 
抄送: 
主题: parted-devel Digest, Vol 46, Issue 9 
 
Send parted-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.alioth.debian.org/mailman/listinfo/parted-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of parted-devel digest..."
Today's Topics:
   1. Error initialising SCSI device /dev/sda - Invalid argument
      and parted: double free or corruption (out) (Rudy Gevaert)
----------------------------------------------------------------------
Message: 1
Date: Wed, 16 Dec 2009 09:57:31 +0100
From: Rudy Gevaert <[email protected]>
Subject: [parted-devel] Error initialising SCSI device /dev/sda -
Invalid argument and parted: double free or corruption (out)
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
format="flowed"
(I tried report a bugthrough the website but this message gets  
rejected as 'potential' spam :().  Mail to [email protected] doesn't  
seem to show up in archives)
Hello,
I'm using FAI to automatically install machines.  I'm getting the  
above parted error in the following situation.
FAI is run in a Xen domU calling parted on a LVM volume.  I also get  
this error when parted is called on a iscsi lun.  In both cases the  
lun is given to the virtual machine as a the device '/dev/sda'.
I have this problem with versions 1.8.8.git.2008.03.24-11.1 and 1.9.0.
(Please, notice the -s option)
r...@shibidp1:/# parted -s /dev/sda unit TiB print
Error: Error initialising SCSI device /dev/sda - Invalid argument
(Please, notice that the -s option is not given)
r...@shibidp1:/# parted /dev/sda unit TiB print
Error: Error initialising SCSI device /dev/sda - Invalid argument
Ignore/Cancel? I
Model: (null) (scsi)
Disk /dev/sda: 0.01TiB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number  Start    End      Size     Type     File system  Flags
  1      0.00TiB  0.01TiB  0.01TiB  primary               boot
  2      0.01TiB  0.01TiB  0.00TiB  primary
If I then quiet parted I get
*** glibc detected *** parted: double free or corruption (out):  
0x00007efff7afcab0 ***
That is then only with parted 1.8.8.git.2008.03.24-11.1.
So to conclude:
1) In my case, doing things with -s enabled doesn't work (either versions)
2) I get ' double free or corruption ' in the Debian Stable version.
All help would be appreciated as this is blocking the installation of  
virtual machines.
Rudy
-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [email protected]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
----- Einde doorgestuurd bericht -----
-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [email protected]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
------------------------------
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel
End of parted-devel Digest, Vol 46, Issue 9
*******************************************
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to