Re: issues

2009-12-28 Thread Jim Thomas
> "JimM" == Jim Meyering writes: JimM> Jim Thomas wrote: >>> "JimT" == Jim Thomas writes: JimT> Except that it does not :< JimT> [r...@test:~/] # parted --script /dev/sdb mklabel gpt JimT> [r...@test:~/] # parted --script -- /dev/sdb mkpart gpt 0 -1s JimT> Error: You requested a

Re: issues

2009-12-24 Thread Jim Meyering
Jim Thomas wrote: >> "Jim" == Jim Thomas writes: > > Jim> Except that it does not :< > > Jim> [r...@test:~/] # parted --script /dev/sdb mklabel gpt > Jim> [r...@test:~/] # parted --script -- /dev/sdb mkpart gpt 0 -1s > Jim> Error: You requested a partition from 0.00B to 7000GB.

Re: issues

2009-12-23 Thread Jim Thomas
> "Jim" == Jim Thomas writes: Jim> Of course I now see that the help command says it is Jim> mkpart PART-TYPE [FS-TYPE] START END make a partition But it is not "PART_TYPE" but "NAME". [r...@test:~/] # parted --script /dev/sdb mklabel gpt [r...@test:~/] # parted -- /dev/s

Re: issues

2009-12-23 Thread Jim Thomas
> "Jim" == Jim Thomas writes: Jim> Except that it does not :< Jim> [r...@test:~/] # parted --script /dev/sdb mklabel gpt Jim> [r...@test:~/] # parted --script -- /dev/sdb mkpart gpt 0 -1s Jim> Error: You requested a partition from 0.00B to 7000GB. Jim> The closest locati

Re: issues

2009-12-23 Thread Jim Thomas
> "Jim" == Jim Thomas writes: Jim> I'm trying to use parted to initialize a 7TB "disk" that will end up Jim> with xfs as its file system. I got it to work in interactive mode Jim> after some experimenting. But I'd like to be able to use the command Jim> line. Jim> Of course I now see

Re: issues

2009-12-23 Thread Jim Thomas
> "Jim" == Jim Thomas writes: Jim> I'm trying to use parted to initialize a 7TB "disk" that will end up Jim> with xfs as its file system. I got it to work in interactive mode Jim> after some experimenting. But I'd like to be able to use the command Jim> line. Aloha, Of course I now se

issues

2009-12-23 Thread Jim Thomas
Aloha, I'm trying to use parted to initialize a 7TB "disk" that will end up with xfs as its file system. I got it to work in interactive mode after some experimenting. But I'd like to be able to use the command line. (parted) mkpart mkpart Partition name? []? root r

Re: Multiple issues with commit_to_os (Linux)

2009-08-28 Thread Jim Meyering
ector + 1 |bc) - dd if=/dev/zero of=$dev bs=1b count=2k seek=$end_sector 2> /dev/null && + dd if=/dev/zero of=$dev bs=$ss count=2k seek=$end_sector 2> /dev/null && parted -s $dev mklabel $table_type && parted -s $dev mkpart p xfs ${start_sector}s ${end_sector}s

Multiple issues with commit_to_os (Linux)

2009-08-27 Thread Hans de Goede
s let to me diving into libparted's commit_to_os() code for Linux and there are multiple issues hiding in there: 1) Parted reads /sys/block/foo/range to determine how many partitions the device type supports and then makes BLKPG ioctl's to update the kernels view of the part

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-29 Thread Jim Meyering
Michael Reed <[EMAIL PROTECTED]> wrote: > How is your work proceeding? Is there anything I can help with? > I'd like to forward these fixes on to several distros of interest Hi Michael, It was suspended. I expect to complete it this week. ___ bug

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-29 Thread Michael Reed
How is your work proceeding? Is there anything I can help with? I'd like to forward these fixes on to several distros of interest Thanks, Mike Jim Meyering wrote: > Michael Reed <[EMAIL PROTECTED]> wrote: > ... >> I also noticed that this problem also exists on the SGI label type, dvh. >>

Re: [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-14 Thread Jim Meyering
Michael Reed <[EMAIL PROTECTED]> wrote: ... > I also noticed that this problem also exists on the SGI label type, dvh. > > Perhaps an examination of the various supported partition types is in order > to impose this limitation on more than just msdos labels? A quick glance > (from linux/fs/partiti

Re: [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-11 Thread Michael Reed
Applying the patch to parted 1.8.8 (not a perfect fit, bit close) appears to correct the problem. duck /tmp/parted-1.8.8# patch -p1 < /tmp/parted.msdos.patch.eml patching file libparted/disk.c Hunk #2 succeeded at 1734 (offset -1 lines). patching file tests/Makefile.am Hunk #1 succeeded at 6 with

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-11 Thread Michael Reed
Michael Reed wrote: > Comments below. More comments below > > Jim Meyering wrote: >> Michael Reed <[EMAIL PROTECTED]> wrote: >>> (I'm copying parted-devel as this ties into GPT-MBR hybrid discussion in >>> that >>> there is a need to be able to boot BIOS based systems from disks larger than

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-11 Thread Michael Reed
Comments below. Jim Meyering wrote: > Michael Reed <[EMAIL PROTECTED]> wrote: >> (I'm copying parted-devel as this ties into GPT-MBR hybrid discussion in that >> there is a need to be able to boot BIOS based systems from disks larger than >> 2TB and still be able to address all the storage.) >> >>

Re: [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2008-01-11 Thread Jim Meyering
Michael Reed <[EMAIL PROTECTED]> wrote: > (I'm copying parted-devel as this ties into GPT-MBR hybrid discussion in that > there is a need to be able to boot BIOS based systems from disks larger than > 2TB and still be able to address all the storage.) > > Using an on board hardware raid5 "disk" of

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-29 Thread H. Peter Anvin
xerces8 wrote: From: "H. Peter Anvin" <[EMAIL PROTECTED]> Michael Reed wrote: What are the various protocols in use for booting from GPT partitions on BIOS systems? Trying to standardize on one could be a "good thing". So far, the only supported protocol is to have the bootable partition(s)

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-29 Thread xerces8
From: "H. Peter Anvin" <[EMAIL PROTECTED]> > Michael Reed wrote: > > > > What are the various protocols in use for booting from GPT partitions > > on BIOS systems? Trying to standardize on one could be a "good thing". > > > > So far, the only supported protocol is to have the bootable partitio

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-28 Thread Michael Reed
H. Peter Anvin wrote: > Michael Reed wrote: >> What are the various protocols in use for booting from GPT partitions >> on BIOS systems? Trying to standardize on one could be a "good thing". >> > > So far, the only supported protocol is to have the bootable partition(s) > present inth the MBR.

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-28 Thread H. Peter Anvin
Michael Reed wrote: What are the various protocols in use for booting from GPT partitions on BIOS systems? Trying to standardize on one could be a "good thing". So far, the only supported protocol is to have the bootable partition(s) present inth the MBR. Data-only partitions can be presen

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-28 Thread Michael Reed
H. Peter Anvin wrote: > Michael Reed wrote: >> Via analysis of the MSDOS partition table, I can state that it can address >> a maximum of 4TB of space. Each partition entry consists of a starting block >> and a length. Both of these fields are 32 bits in length. No individual >> partition can

Re: [parted-devel] [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-27 Thread H. Peter Anvin
Michael Reed wrote: Via analysis of the MSDOS partition table, I can state that it can address a maximum of 4TB of space. Each partition entry consists of a starting block and a length. Both of these fields are 32 bits in length. No individual partition can begin beyond 2TB. No individual pa

Re: [parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-27 Thread Otavio Salvador
Michael Reed <[EMAIL PROTECTED]> writes: > This problem has been confirmed to be present in both the parted provided > by two major distros as well as version 1.8.8 downloaded from gnu.org. Right. I'll take a look at it. > I should mention at this point that we no longer have the system availabl

[parted 1.8.8] msdos label and file system corruption issues with > 2TB disk

2007-12-26 Thread Michael Reed
(I'm copying parted-devel as this ties into GPT-MBR hybrid discussion in that there is a need to be able to boot BIOS based systems from disks larger than 2TB and still be able to address all the storage.) Using an on board hardware raid5 "disk" of 5,851,561,984 512 byte sectors, or roughly 2.9TB,

Partition with Parted & Mounting issues

2007-03-31 Thread kamesh waran
Hi list, I have used parted with gpt for my scsi drive. And whenever i reboot the system it failed to mount it. But if i remove and re-create the first partition, then i am able to mount all the partitions. I am using ext3 filesystem. Anything needs to be done when i create the partit

Re: Current issues

2005-11-09 Thread Harley D. Eades III
Patrick Leslie Polzer wrote: Hello Harley, patch review continued. On Thu, 03 Nov 2005 03:00:08 -0600 "Harley D. Eades III" <[EMAIL PROTECTED]> wrote: +if (need_commit) { +if (!command_line_prompt_boolean_question +("WARNING: changes were made to the disk,\n +are you

Re: Current issues

2005-11-09 Thread Harley D. Eades III
Patrick Leslie Polzer wrote: Hello Harley, On Thu, 03 Nov 2005 03:00:08 -0600 "Harley D. Eades III" <[EMAIL PROTECTED]> wrote: As for my work, I have managed to get the fdisk code to compile with parted. I added a new dir in trunk called ui and moved the parted ui and the fdisk ui into it

Re: Current issues

2005-11-09 Thread Patrick Leslie Polzer
On Wed, 09 Nov 2005 14:00:51 -0200 Otavio Salvador > wrote: > Patrick Leslie Polzer <[EMAIL PROTECTED]> writes: > > > +if (strcmp (user_ans, _("yes")) == 0) > > By the way, is this UTF8-safe? > > I guess whole parted isn't... > > Any volunteers? > > We should add it in TODO list then. Do

Re: Current issues

2005-11-09 Thread Otavio Salvador
Patrick Leslie Polzer <[EMAIL PROTECTED]> writes: > +if (strcmp (user_ans, _("yes")) == 0) > By the way, is this UTF8-safe? > I guess whole parted isn't... > Any volunteers? We should add it in TODO list then. -- O T A V I OS A L V A D O R ---

Re: Current issues

2005-11-09 Thread Patrick Leslie Polzer
Hello Harley, patch review continued. On Thu, 03 Nov 2005 03:00:08 -0600 "Harley D. Eades III" <[EMAIL PROTECTED]> wrote: +if (need_commit) { +if (!command_line_prompt_boolean_question +("WARNING: changes were made to the disk,\n +are you sure you want to quit without w

Wiki (was: Re: Current issues)

2005-11-09 Thread Patrick Leslie Polzer
On Thu, 03 Nov 2005 03:00:08 -0600 "Harley D. Eades III" <[EMAIL PROTECTED]> wrote: > I like the idea of a wiki. Wiki is up at http://wiki.debian.org/Parted. I'm working on a development page, should be done by tomorrow. Leslie -- PGP-KID: 0x52D70289 pgpb5rcx3hJi2.pgp Description: PGP signat

Re: Current issues

2005-11-09 Thread Patrick Leslie Polzer
Hello Harley, On Thu, 03 Nov 2005 03:00:08 -0600 "Harley D. Eades III" <[EMAIL PROTECTED]> wrote: > As for my work, I have managed to get the fdisk code to compile with > parted. I added a new dir in trunk called ui and moved the parted ui > and the fdisk ui into it. Then I changed autoconf &&

Re: Current issues

2005-11-04 Thread K.G.
On Thu, 03 Nov 2005 15:32:08 -0200 Otavio Salvador <[EMAIL PROTECTED]> wrote: > "K.G." <[EMAIL PROTECTED]> writes: > > > * code analysis tools: what do you think about setting up LXR and > > > nightly-updated Doxygen docs on our Berlios space? Too much overhead? > > > Good idea? > > > > For me it'

Re: Current issues

2005-11-03 Thread Harley D. Eades III
K.G. wrote: On Wed, 2 Nov 2005 16:28:04 +0100 Patrick Leslie Polzer <[EMAIL PROTECTED]> wrote: * code analysis tools: what do you think about setting up LXR and nightly-updated Doxygen docs on our Berlios space? Too much overhead? Good idea? For me it's a good idea. I would also li

Re: Current issues

2005-11-03 Thread Otavio Salvador
"K.G." <[EMAIL PROTECTED]> writes: >> * code analysis tools: what do you think about setting up LXR and >> nightly-updated Doxygen docs on our Berlios space? Too much overhead? >> Good idea? > > For me it's a good idea. I would also like a wiki or something to discuss > about long term changes, a

Re: Current issues

2005-11-03 Thread K.G.
n 231.35 and 231.45M. My goal is also to make sure that in most cases when you enter the start of a partition you want to create equal to the end of an existing partition, the constraints are ok for these two partition to be able to not overlap, which is not the case today especially with kB

Current issues

2005-11-02 Thread Patrick Leslie Polzer
With 1.6.25 I would like to talk about current issues. * mailing list stuff: I suggest we return to bug-parted so our Debian people are not angry because of hijacking their mailing list. * code analysis tools: what do you think about setting up LXR and nightly-updated Doxygen docs on our