[Parted-maintainers] Bug#593691: parted: set needed to create lvm partition on msdos disk label

Marc Haber mh+debian-bugs at zugschlus.de
Fri Aug 20 11:38:44 UTC 2010


Package: parted
Version: 2.3-1
Severity: wishlist

To create a swap partition, I can do something like

parted --script -- /dev/sda unit s mkpart primary linux-swap 2050048 6146047

but to create an LVM partition, the analogous

parted --script -- /dev/sda unit s mkpart primary lvm 6146048 -1

doesn't work. I need to create the partition as ext2 and then to
manually change the partition type by

parted --script /dev/sda set 3 lvm on

This is absolutely counter-intuitive.

Greetings
Marc

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.35.2-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages parted depends on:
ii  libblkid1                 2.17.2-3.1     block device id library
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1        2:1.02.48-2    The Linux Kernel Device Mapper use
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libparted0debian1         2.3-1          The GNU Parted disk partitioning s
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  libuuid1                  2.17.2-3.1     Universally Unique ID library

parted recommends no packages.

Versions of packages parted suggests:
ii  parted-doc                    2.3-1      The GNU Parted disk partition resi

-- no debconf information





More information about the Parted-maintainers mailing list