Linux LVM users
 help / color / mirror / Atom feed
From: Richard Chan <rspchan@starhub.net.sg>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Error with 2.5.50-dm-2; vanilla OK
Date: Tue Dec 10 00:20:02 2002	[thread overview]
Message-ID: <3DF587F2.5060609@starhub.net.sg> (raw)

> Weird, the patch that is causing you the problem will be:
>
> http://people.sistina.com/~thornber/patches/2.5-stable/2.5.50/2.5.50-dm-2/00005.patch <http://people.sistina.com/%7Ethornber/patches/2.5-stable/2.5.50/2.5.50-dm-2/00005.patch>
>
> Though it still looks sane to me.  Can you send me the lvm2 log from
> this vgchange along with the size in sectors of hdb7 please ?
> 
> - Joe

Sure - here is more information about my system - the PVs as below
Disk /dev/hdb: 255 heads, 63 sectors, 7297 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      1044   8385898+  a5  FreeBSD
/dev/hdb2          1045      7297  50227222+   f  Win95 Ext'd (LBA)
/dev/hdb5          1045      2088   8385898+   7  HPFS/NTFS
/dev/hdb6          2089      4699  20972826   8e  Linux LVM
/dev/hdb7          4700      7297  20868403+  8e  Linux LVM

lvm pvdisplay --verbose
    Scanning for physical volume names
  --- Physical volume ---
  PV Name               /dev/hdb6
  VG Name               vg00
  PV Size               20.00GB / not usable 5.28MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              5119
  Free PE               0
  Allocated PE          5119
  PV UUID               vuszz2-2qjg-ArUm-k1dV-GjHO-86ZM-HGYCZo

  --- Physical volume ---
  PV Name               /dev/hdb7
  VG Name               vg00
  PV Size               19.90GB / not usable 7.30MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              5093
  Free PE               292
  Allocated PE          4801
  PV UUID               p3a5G3-HJjq-L9Gl-KGQN-Pi45-fBJT-RVE2ms


Output of lvm vgchange -ay --verbose
(BTW I just noticed an ioctl complaint - don't know what it means)

lvm vgchange -ay --verbose
 device-mapper ioctl cmd 2 failed: Invalid argument
  Couldn't load device 'vg00-LVmisc'.
    Finding all volume groups
    Finding volume group "vg00"
    3 logical volume(s) in volume group "vg00" already active
    Found volume group "vg00"
    Found volume group "vg00"
    Found volume group "vg00"
    Loading vg00-LVmisc
    Found volume group "vg00"
    Found volume group "vg00"
    Found volume group "vg00"
    Found volume group "vg00"
    Found volume group "vg00"
    Activated logical volumes in volume group "vg00"
  3 logical volume(s) in volume group "vg00" now active

device-mapper: allocating minor 0.
device-mapper: device /dev/hdb7 too small for target
device-mapper: internal error adding target to table
device-mapper: destroying table
device-mapper: allocating minor 1.
device-mapper: allocating minor 2.

There ought to be 4 LVs and minors; when the system is right I get

lvm lvscan
  ACTIVE            '/dev/vg00/LVhome' [10.00GB] next free
  ACTIVE            '/dev/vg00/LVmisc' [20.00GB] next free
  ACTIVE            '/dev/vg00/LVjfs' [8.00GB] next free
  ACTIVE            '/dev/vg00/LVswap' [768.00MB] next free


Thanks
Richard

             reply	other threads:[~2002-12-10  0:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10  0:20 Richard Chan [this message]
2002-12-10  3:38 ` [linux-lvm] Error with 2.5.50-dm-2; vanilla OK Joe Thornber
2002-12-10  6:51   ` Alasdair G Kergon
     [not found] <3DF5DF79.4090708@starhub.net.sg>
2002-12-11 21:30 ` Richard Chan
2002-12-11 22:08   ` Richard Chan
  -- strict thread matches above, loose matches on Subject: below --
2002-12-09  8:14 Richard Chan
2002-12-09  8:49 ` Joe Thornber

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=3DF587F2.5060609@starhub.net.sg \
    --to=rspchan@starhub.net.sg \
    --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