Linux LVM users
 help / color / mirror / Atom feed
From: Josh Duncan <linux-lvm@msmd.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvm with gpt partitioning?
Date: Tue Oct 15 10:43:26 2002	[thread overview]
Message-ID: <20021015152222.GB18971@msmd.net> (raw)
In-Reply-To: <20021015090253.A10084@sistina.com>

Hi Heinz,

I don't think I can remove the partition, because the EFI firmware needs the
first partition of the disk to be vfat to boot from that disk.  That's not a
concern for this issue right now, but it will be when I want to have my / be an
LVM volume mirrored across sda/sdb.

--Josh


On Tue, Oct 15, 2002 at 09:02:53AM +0200, Heinz J . Mauelshagen wrote:
> 
> Josh,
> 
> if a device holds a partition, LVM assumes PC style.
> 
> Can you remove the partition (dd if=/dev/zero of=/dev/sdb bs=1k count=1)
> and use the whole device (pvcreate /dev/sdb) or go with PC style partitioning?
> 
> Regards,
> Heinz    -- The LVM Guy --
> 
> 
> On Mon, Oct 14, 2002 at 04:03:29PM -0400, Josh Duncan wrote:
> > Hi all,
> > 
> > I hope this isn't a redundant question, I've tried looking through the mailing
> > lists with no luck:
> > 
> > I'm having a problem setting up physical volumes on an ia64 machine running a
> > 2.4.18+lvm1.0.5 kernel.
> > 
> > the disk is labelled using an "EFI GPT" disk label/partitioning arrangement.  I
> > currently have two partitions defined, the first is 2gb and the second is 16gb.
> > I can do a pvcreate on the second, but not on the first.  I've attached output
> > from parted, fdisk, and pvcreate below...
> > 
> > any ideas?
> > --Josh
> > 
> > ------
> > fdisk:
> > ------
> > [root@one sbin]# fdisk -l /dev/sdb
> > 
> > Disk /dev/sdb: 255 heads, 63 sectors, 4427 cylinders
> > Units = cylinders of 16065 * 512 bytes
> > 
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/sdb1             1      4428  35566479+  ee  EFI GPT
> > 
> > -------
> > parted:
> > -------
> > [root@one sbin]# parted /dev/sdb print
> > Disk geometry for /dev/sdb: 0.000-34732.890 megabytes
> > Disk label type: GPT
> > Minor    Start       End     Filesystem  Name                  Flags
> > 1          0.017   2047.000                                    lba
> > 2       2047.000  18733.000                                    lba
> > 
> > ---------
> > pvcreate:
> > ---------
> > [root@one sbin]# pvcreate /dev/sdb1
> > pvcreate -- invalid partition type 0xee for "/dev/sdb1" (must be 0x8e)
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> *** Software bugs are stupid.
>     Nevertheless it needs not so stupid people to solve them ***
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> Heinz Mauelshagen                                 Sistina Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen@Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2002-10-15 10:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14 15:07 [linux-lvm] lvm with gpt partitioning? Josh Duncan
2002-10-15  2:18 ` Heinz J . Mauelshagen
2002-10-15 10:43   ` Josh Duncan [this message]
2002-10-15  2:34 ` Luca Berra
2002-10-15 10:27   ` Josh Duncan
2002-10-16  2:39     ` Luca Berra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021015152222.GB18971@msmd.net \
    --to=linux-lvm@msmd.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox