All of lore.kernel.org
 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:27:24 2002	[thread overview]
Message-ID: <20021015151425.GA18971@msmd.net> (raw)
In-Reply-To: <20021015072108.GA31465@percy.comedia.it>

Hi Luca,

this may sound stupid, but if there is a dos-compatibility partition, why
doesn't it show up in fdisk or parted?

I've included the info you mentioned below, as well as the info for sda...
--Josh

> looks like you have both a gpt partition and a compatibility dos-like
> one. i am missing some info (partition detection logs at boot) output of
> /proc/partition and lvmdiskscan. and i don't have an ia64 to play with
> any more. might try modifiyng the partition detection code in the kernel
> config

[root@one sbin]# dmesg|grep sd
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
 sda: sda1 sda2 sda3 sda4
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
 sdb: sdb1 sdb2

/proc/partitions:
major minor  #blocks  name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
   8     0   35566480 sda 22661 39173 355842 99578 84426 763195 6796456 1992657 0 508375 2093808
   8     1    1024000 sda1 506 17244 17830 1303 14 26 40 3178 0 1183 4482
   8     2   17086318 sda2 4662 463 39842 22586 1604 5020 53800 1135352 0 35906 1158022
   8     3   15360000 sda3 17426 19290 293722 67802 82808 758149 6742616 854132 0 480061 923424
   8     4    2096128 sda4 3 0 96 23 0 0 0 0 0 23 23
   8    16   35566480 sdb 285 8353 17020 25452 11 201 424 114 0 25533 25566
   8    17    2096111 sdb1 9 135 288 6 0 0 0 0 0 6 6
   8    18   17086464 sdb2 25 165 380 12 7 137 288 35 0 47 47

[root@one sbin]# lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/sda1  [      33.92 GB] Primary   [0xEE]
lvmdiskscan -- /dev/sda2  [      16.29 GB] free whole disk
lvmdiskscan -- /dev/sdb1  [      33.92 GB] Primary   [0xEE]
lvmdiskscan -- /dev/sdb2  [      16.29 GB] USED LVM whole disk
lvmdiskscan -- 2 disks
lvmdiskscan -- 2 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 6 partitions
lvmdiskscan -- 0 LVM physical volume partitions

[root@one sbin]# fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 4427 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1      4428  35566479+  ee  EFI GPT

[root@one sbin]# parted /dev/sda print
Disk geometry for /dev/sda: 0.000-34732.890 megabytes
Disk label type: GPT
Minor    Start       End     Filesystem  Name                  Flags
1          0.017   1000.016  FAT                               boot, lba
2       1000.017  17685.874  ext3                              lba
3      17685.875  32685.874  ext3                              lba
4      32685.875  34732.874  linux-swap                        lba

[root@one sbin]# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda3             15118728   3718600  10632128  26% /
/dev/sda1              1023728     10720   1013008   2% /boot/efi
/dev/sda2             16817896   5019860  10943724  32% /home
none                    505568         0    505568   0% /dev/shm

  reply	other threads:[~2002-10-15 10:27 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
2002-10-15  2:34 ` Luca Berra
2002-10-15 10:27   ` Josh Duncan [this message]
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=20021015151425.GA18971@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.