From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l3920aTn024704 for ; Sun, 8 Apr 2007 22:00:36 -0400 Received: from mail.mediacell.com (74-92-210-145-Colorado.hfc.comcastbusiness.net [74.92.210.145] (may be forged)) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l3920WjF028968 for ; Sun, 8 Apr 2007 22:00:34 -0400 Received: from [192.168.0.229] (asbestos.bish0p.org [74.92.210.149]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.mediacell.com (Postfix) with ESMTP id 75D23D1271 for ; Sun, 8 Apr 2007 20:00:31 -0600 (MDT) From: Don Bishop Content-Type: multipart/alternative; boundary="=-mT9PF/ACXlWR6vkVoVN+" Date: Sun, 08 Apr 2007 20:03:48 -0600 Message-Id: <1176084228.14147.47.camel@zit> Mime-Version: 1.0 Subject: [linux-lvm] Unrecognised segment type mirror Reply-To: donbishop@mediacell.com, LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com --=-mT9PF/ACXlWR6vkVoVN+ Content-Type: text/plain Content-Transfer-Encoding: 7bit I have just recently installed LVM2 on top of a 4-disk software RAID5 array under Gentoo Linux (x86). I have four other machines with a similar configuration although they are variously EIDE, SATA, and SCSI-based). This 5th machine gives the following error/warning whenever running any of the lvm tools (vgdisplay, pvdisplay, lvdisplay, vgscan, etc). The drives are all identical EIDE WD2500JBRTL, partitions are type fd, and are a single partition drives. Unrecognised segment type mirror This above error repeats once for each logical volume I create using, eg, lvcreate -L10G -nwhatever vg0 Here is the output from vgscan: pus ~ # vgscan Logging initialised at Sun Apr 8 19:39:58 2007 Set umask to 0077 Wiping cache of LVM-capable devices Wiping internal VG cache Reading all physical volumes. This may take a while... Finding all volume groups Finding volume group "vg0" Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Found volume group "vg0" using metadata type lvm2 Wiping internal VG cache I have tried various filters, etc, to no avail. It seems to be linked to the /dev/md/0 logical volumes. Here is the output from lvdisplay pus ~ # lvdisplay Logging initialised at Sun Apr 8 19:49:17 2007 Set umask to 0077 Finding all logical volumes Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror Unrecognised segment type mirror --- Logical volume --- LV Name /dev/vg0/ccache VG Name vg0 LV UUID nO0w8H-WsOA-8djw-Xk9w-xE25-mH0o-9pD4B2 LV Write Access read/write LV Status available # open 2 LV Size 2.00 GB Current LE 512 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:0 --- Logical volume --- LV Name /dev/vg0/netstor VG Name vg0 LV UUID 38f0Cs-WJ0Q-BNhJ-yCwn-3oqw-xBHT-9yjKGy LV Write Access read/write LV Status available # open 2 LV Size 200.00 GB Current LE 51200 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 --- Logical volume --- LV Name /dev/vg0/portage VG Name vg0 LV UUID 3AgwV0-lfLN-ksVr-68fT-d2E6-HsTE-ffEYOb LV Write Access read/write LV Status available # open 2 LV Size 10.00 GB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:2 --- Logical volume --- LV Name /dev/vg0/livecd VG Name vg0 LV UUID yfrzKx-pCnE-43Oc-QA0K-nooy-GTn8-EH16QM LV Write Access read/write LV Status available # open 2 LV Size 6.00 GB Current LE 1536 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:3 --- Logical volume --- LV Name /dev/vg0/mediacell VG Name vg0 LV UUID 3xaj3s-1E8c-HJuH-8ADe-ZTuP-b8iW-PMcNuS LV Write Access read/write LV Status available # open 2 LV Size 20.00 GB Current LE 5120 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:4 --- Logical volume --- LV Name /dev/vg0/home VG Name vg0 LV UUID 3vD1l9-oCwM-pG8C-c37H-p9hw-HIWq-D1hB0k LV Write Access read/write LV Status available # open 2 LV Size 60.00 GB Current LE 15360 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:5 Wiping internal VG cache I'd appreciate any help, this error only happens on this machine. thanks, Don B --=-mT9PF/ACXlWR6vkVoVN+ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit I have just recently installed LVM2 on top of a 4-disk software RAID5 array under Gentoo Linux (x86).  I have four other machines with a similar configuration although they are variously EIDE, SATA, and SCSI-based).

This 5th machine gives the following error/warning whenever running any of the lvm tools (vgdisplay, pvdisplay, lvdisplay, vgscan, etc).  The drives are all identical EIDE WD2500JBRTL, partitions are type fd, and are a single partition drives.

Unrecognised segment type mirror

This above error repeats once for each logical volume I create using, eg,  lvcreate -L10G -nwhatever vg0

Here is the output from vgscan:

pus ~ # vgscan
    Logging initialised at Sun Apr  8 19:39:58 2007
    Set umask to 0077
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
  Reading all physical volumes.  This may take a while...
    Finding all volume groups
    Finding volume group "vg0"
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Found volume group "vg0" using metadata type lvm2
    Wiping internal VG cache


I have tried various filters, etc, to no avail.  It seems to be linked to the /dev/md/0 logical volumes.  Here is the output from lvdisplay

pus ~ # lvdisplay
    Logging initialised at Sun Apr  8 19:49:17 2007
    Set umask to 0077
    Finding all logical volumes
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  Unrecognised segment type mirror
  --- Logical volume ---
  LV Name                /dev/vg0/ccache
  VG Name                vg0
  LV UUID                nO0w8H-WsOA-8djw-Xk9w-xE25-mH0o-9pD4B2
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                2.00 GB
  Current LE             512
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0
  
  --- Logical volume ---
  LV Name                /dev/vg0/netstor
  VG Name                vg0
  LV UUID                38f0Cs-WJ0Q-BNhJ-yCwn-3oqw-xBHT-9yjKGy
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                200.00 GB
  Current LE             51200
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:1
  
  --- Logical volume ---
  LV Name                /dev/vg0/portage
  VG Name                vg0
  LV UUID                3AgwV0-lfLN-ksVr-68fT-d2E6-HsTE-ffEYOb
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                10.00 GB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:2
  
  --- Logical volume ---
  LV Name                /dev/vg0/livecd
  VG Name                vg0
  LV UUID                yfrzKx-pCnE-43Oc-QA0K-nooy-GTn8-EH16QM
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                6.00 GB
  Current LE             1536
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:3
  
  --- Logical volume ---
  LV Name                /dev/vg0/mediacell
  VG Name                vg0
  LV UUID                3xaj3s-1E8c-HJuH-8ADe-ZTuP-b8iW-PMcNuS
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                20.00 GB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:4
  
  --- Logical volume ---
  LV Name                /dev/vg0/home
  VG Name                vg0
  LV UUID                3vD1l9-oCwM-pG8C-c37H-p9hw-HIWq-D1hB0k
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                60.00 GB
  Current LE             15360
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:5
  
    Wiping internal VG cache




I'd appreciate any help, this error only happens on this machine.

thanks,
Don B

--=-mT9PF/ACXlWR6vkVoVN+--