Re: lvmcfg and find-partitions
On Mon, Dec 15, 2003 at 12:03:01AM +0100, Thorsten Sauter wrote: > But LVM needs a 8e partition type. this is not true on powerpc/newworld nor on s390, non of them know about hexadecimal partition types. bastian -- Only a fool fights in a burning house. -- Kank the Klingon, "Day of the Dove", stardate unknown signature.asc Description: Digital signature
Re: lvmcfg and find-partitions
* Daniele Nicolodi <[EMAIL PROTECTED]> [2003-12-14 20:39]: | On Sun, Dec 14, 2003 at 06:19:00PM +0100, Bastian Blank wrote: | > On Sun, Dec 14, 2003 at 05:51:17PM +0100, Thorsten Sauter wrote: | > > | Is fdisk supposed to work on all platforms supported by debian installer ?? | > > hmm. no. You can use parted to do this. Imho it's supported on all | > > architectures. | | What about list all available partitions (listed in /proc/partitions) ? | I hope that a person who install lvm know what he's doing. We must also | list all unpartioned disks because a lvm vg could be created also on a | unpartitioned disk. sounds like the easiest way. But LVM needs a 8e partition type. If you display all partitions then you must catch this error during the pvcreate phase. So you maybe move the problem to an other postition. Isn't it? Thorsten signature.asc Description: Digital signature
Re: lvmcfg and find-partitions
* Bastian Blank <[EMAIL PROTECTED]> [2003-12-14 18:19]: | On Sun, Dec 14, 2003 at 05:51:17PM +0100, Thorsten Sauter wrote: | > | Is fdisk supposed to work on all platforms supported by debian installer ?? | > hmm. no. You can use parted to do this. Imho it's supported on all | > architectures. | | No, it is not. It lacks at least support for IBM Disklabels. yes. that's true. But this is a bug in parted and must be included into libparted. But fdisk will never support _all_ archs. Bye Thorsten signature.asc Description: Digital signature
Re: lvmcfg and find-partitions
On Sun, Dec 14, 2003 at 06:19:00PM +0100, Bastian Blank wrote: > On Sun, Dec 14, 2003 at 05:51:17PM +0100, Thorsten Sauter wrote: > > | Is fdisk supposed to work on all platforms supported by debian installer ?? > > hmm. no. You can use parted to do this. Imho it's supported on all > > architectures. What about list all available partitions (listed in /proc/partitions) ? I hope that a person who install lvm know what he's doing. We must also list all unpartioned disks because a lvm vg could be created also on a unpartitioned disk. Ciao -- Daniele -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: lvmcfg and find-partitions
On Sun, Dec 14, 2003 at 05:51:17PM +0100, Thorsten Sauter wrote: > | Is fdisk supposed to work on all platforms supported by debian installer ?? > hmm. no. You can use parted to do this. Imho it's supported on all > architectures. No, it is not. It lacks at least support for IBM Disklabels. Bastian -- Suffocating together ... would create heroic camaraderie. -- Khan Noonian Singh, "Space Seed", stardate 3142.8 signature.asc Description: Digital signature
Re: lvmcfg and find-partitions
* Daniele Nicolodi <[EMAIL PROTECTED]> [2003-12-14 17:20]: | On Sun, Dec 14, 2003 at 04:51:11PM +0100, Thorsten Sauter wrote: | | > you can write a work-around for find-partitions: | > | > 1. read /proc/partitions for disks | > 2. fdisk each disk, and grep for 0x8e | | Is fdisk supposed to work on all platforms supported by debian installer ?? hmm. no. You can use parted to do this. Imho it's supported on all architectures. Bye Thorsten signature.asc Description: Digital signature
Re: lvmcfg and find-partitions
On Sun, Dec 14, 2003 at 04:51:11PM +0100, Thorsten Sauter wrote: > you can write a work-around for find-partitions: > > 1. read /proc/partitions for disks > 2. fdisk each disk, and grep for 0x8e Is fdisk supposed to work on all platforms supported by debian installer ?? Ciao -- Daniele -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: lvmcfg and find-partitions
* Daniele Nicolodi <[EMAIL PROTECTED]> [2003-12-12 14:13]: | The lvmcfg script depends on find-partitions to get a list of partition | where is possibile to build a volume group. find-partition as changed is | output in a (recent ?) update and now it doesn't report the type of | partitions but the filesystem type. For that reason lvmcfg is completely | inusable. | | I hope this will be fixed soon, at least before the next beta of the | debian installer. If someone suggest me the right way to fix the problem | i can try to submit a patch. you can write a work-around for find-partitions: 1. read /proc/partitions for disks 2. fdisk each disk, and grep for 0x8e Bye Thorsten signature.asc Description: Digital signature
lvmcfg and find-partitions
The lvmcfg script depends on find-partitions to get a list of partition where is possibile to build a volume group. find-partition as changed is output in a (recent ?) update and now it doesn't report the type of partitions but the filesystem type. For that reason lvmcfg is completely inusable. I hope this will be fixed soon, at least before the next beta of the debian installer. If someone suggest me the right way to fix the problem i can try to submit a patch. Ciao -- Daniele -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]