[parted-devel] A new test
Jurij Smakov
jurij at wooyd.org
Sun Jul 4 15:30:27 UTC 2010
On Fri, Jul 02, 2010 at 08:19:24AM -0300, Otavio Salvador wrote:
> Hello,
>
> We have uploaded a parted 2.3 package (with the required changes
> backported) to sid and would be nice if you could do a new test using
> the daily snapshot of d-i and let us know if it works or not.
By the way, I have doubts that libparted is still to blame, as I
can create partitions without problem using parted using cylinder or
optimal alignment, and they come out with correct size:
jurij at debian:~$ dpkg -l | grep parted
ii libparted0debian1 2.3-1 The GNU Parted disk partitioning shared libr
ii parted 2.3-1 The GNU Parted disk partition resizing progr
jurij at debian:~$ sudo parted /dev/sdb print
Model: HITACHI DKR1C-J072FC (scsi)
Disk /dev/sdb: 72.9GB
Sector size (logical/physical): 512B/512B
Partition Table: sun
Number Start End Size File system Flags
1 0.00B 16.8GB 16.8GB ext2 boot
2 16.8GB 33.7GB 16.8GB ext3
4 33.7GB 50.5GB 16.8GB linux-swap(v1)
5 50.5GB 67.4GB 16.8GB ext3
jurij at debian:~$ sudo parted -a cylinder /dev/sdb mkpart ext2 67.4G 68G
Information: You may need to update /etc/fstab.
jurij at debian:~$ sudo parted /dev/sdb print
Model: HITACHI DKR1C-J072FC (scsi)
Disk /dev/sdb: 72.9GB
Sector size (logical/physical): 512B/512B
Partition Table: sun
Number Start End Size File system Flags
1 0.00B 16.8GB 16.8GB ext2 boot
2 16.8GB 33.7GB 16.8GB ext3
4 33.7GB 50.5GB 16.8GB linux-swap(v1)
5 50.5GB 67.4GB 16.8GB ext3
6 67.4GB 68.0GB 617MB
jurij at debian:~$ sudo parted /dev/sdb rm 6
Information: You may need to update /etc/fstab.
jurij at debian:~$ sudo parted /dev/sdb print
Model: HITACHI DKR1C-J072FC (scsi)
Disk /dev/sdb: 72.9GB
Sector size (logical/physical): 512B/512B
Partition Table: sun
Number Start End Size File system Flags
1 0.00B 16.8GB 16.8GB ext2 boot
2 16.8GB 33.7GB 16.8GB ext3
4 33.7GB 50.5GB 16.8GB linux-swap(v1)
5 50.5GB 67.4GB 16.8GB ext3
jurij at debian:~$ sudo parted -a optimal /dev/sdb mkpart ext2 67.4G 68G
Information: You may need to update /etc/fstab.
jurij at debian:~$ sudo parted /dev/sdb print
Model: HITACHI DKR1C-J072FC (scsi)
Disk /dev/sdb: 72.9GB
Sector size (logical/physical): 512B/512B
Partition Table: sun
Number Start End Size File system Flags
1 0.00B 16.8GB 16.8GB ext2 boot
2 16.8GB 33.7GB 16.8GB ext3
4 33.7GB 50.5GB 16.8GB linux-swap(v1)
5 50.5GB 67.4GB 16.8GB ext3
6 67.4GB 68.0GB 619MB
jurij at debian:~$
--
Jurij Smakov jurij at wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
More information about the parted-devel
mailing list