From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1c748a490901201015t2a075b93x4a7801fa0c269b07@mail.gmail.com> Date: Tue, 20 Jan 2009 10:15:17 -0800 From: "Larry Dickson" Subject: Re: [linux-lvm] 2GB limit In-Reply-To: <4976024E.4030508@redhat.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28766_18955035.1232475317800" References: <4975932A.6090902@bortal.de> <4975B1A6.3090902@redhat.com> <1c748a490901200843i1cf9a6ean4ff622c59e75843@mail.gmail.com> <4976024E.4030508@redhat.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: bmr@redhat.com Cc: LVM general discussion and development ------=_Part_28766_18955035.1232475317800 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/20/09, Bryn M. Reeves wrote: > > Larry Dickson wrote: > >> We have considerable experience getting parted to work. Basically, the >> distinction between primary and extended partitions is not needed, nor are >> partition types. There are other subtle differences too. Very annoyingly, >> > > Correct. > > SOME versions of parted interpret megabytes and even kilobytes (but not >> > > Older versions, right? 1.6.19-1.EL had "standard" binary kB and mB. 1.8.1-17.el5 (CentOS 5.2), presumably a newer version, went to the decimal-only kB and mB. There were a lot of other format changes in output, too. We are on top of them, but decimal-only kB and mB is really a bad idea, since it's inconsistent with all previous practice and also with sectors. Larry Dickson sectors) as decimal only. For these you have to use unit B (bytes) to >> regain >> control. Experiment a little, to see what uses counting from 1 or counting >> from 0, and what uses last-index or total-size, as these off-by-1 errors >> can >> be killer. >> > > If you find problems like this with recent versions then please let us know > via the parted mailing lists: > > http://www.gnu.org/software/parted/lists.shtml > > Ironing out the UI inconsistencies in parted is one of the areas that we > are keen to improve at the moment so if you hit issues like this, we would > very much like to hear about them. > > Regards, > Bryn. > > > ------=_Part_28766_18955035.1232475317800 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 1/20/09, Bryn M. Reeves <bmr@redhat.com> wrote:
Larry Dickson wrote:
We have considerable experience getting parted to work. Basically, the
distinction between primary and extended partitions is not needed, nor are
partition types. There are other subtle differences too. Very annoyingly,

Correct.

SOME versions of parted interpret megabytes and even kilobytes (but not

Older versions, right?
 
1.6.19-1.EL had "standard" binary kB and mB.
 
1.8.1-17.el5 (CentOS 5.2), presumably a newer version, went to the decimal-only kB and mB. There were a lot of other format changes in output, too. We are on top of them, but decimal-only kB and mB is really a bad idea, since it's inconsistent with all previous practice and also with sectors.
 
Larry Dickson

sectors) as decimal only. For these you have to use unit B (bytes) to regain
control. Experiment a little, to see what uses counting from 1 or counting
from 0, and what uses last-index or total-size, as these off-by-1 errors can
be killer.

If you find problems like this with recent versions then please let us know via the parted mailing lists:

http://www.gnu.org/software/parted/lists.shtml

Ironing out the UI inconsistencies in parted is one of the areas that we are keen to improve at the moment so if you hit issues like this, we would very much like to hear about them.

Regards,
Bryn.



------=_Part_28766_18955035.1232475317800--