linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Thomas Krichel <krichel@openlib.org>
To: Linux LVM <linux-lvm@redhat.com>
Subject: [linux-lvm] Re: ide / debian
Date: Wed, 11 May 2005 11:39:57 -0500	[thread overview]
Message-ID: <20050511163957.GA14252@openlib.org> (raw)
In-Reply-To: <20050510173249.GJ2445@openlib.org>

  Thomas Krichel writes

> I want to combine hdb hdc and hdd to one logical volume.
> Each is 80G. All had a single partition. I have a 2.6.8 kernel. 
> I  run the latest Debian testing version of lvm2.

  I played on and found:

  * OS sees all three disks
  * I can pvcreate all disks
  * pvscan does not find hdc

  In command language, starting from scratch

fafner:~# pvscan
  No matching physical volumes found
fafner:~# pvdisplay
fafner:~# fdisk -l /dev/hdb

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdb doesn't contain a valid partition table
fafner:~# fdisk -l /dev/hdc

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdc doesn't contain a valid partition table
fafner:~# fdisk -l /dev/hdd

Disk /dev/hdd: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hdd doesn't contain a valid partition table
fafner:~# pvcreate /dev/hdb ; pvcreate /dev/hdc ; pvcreate /dev/hdd  ;
  Physical volume "/dev/hdb" successfully created
  Physical volume "/dev/hdc" successfully created
  Physical volume "/dev/hdd" successfully created
fafner:~# pvdisplay
  --- NEW Physical volume ---
  PV Name               /dev/hdc
  VG Name
  PV Size               74.53 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               E725Ui-iBDc-r5uf-6vKi-L4Yw-9yzV-aJ2blr

  --- NEW Physical volume ---
  PV Name               /dev/hdb
  VG Name
  PV Size               74.53 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               TAfTgW-0In0-TZzF-mZoy-RsG5-v0DS-IHBvu1

  --- NEW Physical volume ---
  PV Name               /dev/hdd
  VG Name
  PV Size               74.53 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               mecykK-bBKE-0wCP-W7jZ-b0g2-O697-xW4zPS

fafner:~# pvscan
  PV /dev/hdb         lvm2 [74.53 GB]
  PV /dev/hdd         lvm2 [74.53 GB]
  Total: 2 [149.06 GB] / in use: 0 [0   ] / in no VG: 2 [149.06 GB]
fafner:~# vgcreate vg1 /dev/hdb /dev/hdc /dev/hdd
  Volume group "vg1" successfully created
fafner:~# vgscan
  Reading all physical volumes.  This may take a while...
  Couldn't find device with uuid 'E725Ui-iBDc-r5uf-6vKi-L4Yw-9yzV-aJ2blr'.
  Couldn't find all physical volumes for volume group vg1.
  Couldn't find device with uuid 'E725Ui-iBDc-r5uf-6vKi-L4Yw-9yzV-aJ2blr'.
  Couldn't find all physical volumes for volume group vg1.
  Volume group "vg1" not found

  Any advice would be much welcome!


  Cheers,

  Thomas Krichel                      mailto:krichel@openlib.org
                                 http://openlib.org/home/krichel
                             RePEc:per:1965-06-05:thomas_krichel

  reply	other threads:[~2005-05-11 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 17:32 [linux-lvm] ide / debian Thomas Krichel
2005-05-11 16:39 ` Thomas Krichel [this message]
2005-05-11 16:49   ` [linux-lvm] " AJ Lewis
2005-05-11 17:16     ` Thomas Krichel

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=20050511163957.GA14252@openlib.org \
    --to=krichel@openlib.org \
    --cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).