All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lseek errors after pvcreate on RAID5
Date: Sun, 07 May 2006 17:29:20 +0300	[thread overview]
Message-ID: <445E0440.70007@fmi.uni-sofia.bg> (raw)

[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]

Hi,

I've made RAID5 on 4 disks in (unreleased) Debian GNU/Linux Etch, which
means linux-image-2.6.15-1-686 2.6.15-8, mdadm 1.12.0-1 and lvm2
2.01.04-5.  Here is the output of mdadm -D /dev/md1:

/dev/md1:
         Version : 00.90.03
   Creation Time : Fri May  5 17:26:32 2006
      Raid Level : raid5
      Array Size : 467394816 (445.74 GiB 478.61 GB)
     Device Size : 155798272 (148.58 GiB 159.54 GB)
    Raid Devices : 4
   Total Devices : 4
Preferred Minor : 1
     Persistence : Superblock is persistent

     Update Time : Fri May  5 20:45:07 2006
           State : clean
  Active Devices : 4
Working Devices : 4
  Failed Devices : 0
   Spare Devices : 0

          Layout : left-symmetric
      Chunk Size : 64K

            UUID : 1f3449d3:840d444b:2a767e13:7f2f67b3
          Events : 0.102

     Number   Major   Minor   RaidDevice State
        0       3        2        0      active sync   /dev/hda2
        1       3       66        1      active sync   /dev/hdb2
        2      22        2        2      active sync   /dev/hdc2
        3      22       66        3      active sync   /dev/hdd2

The problem is that after pvcreate /dev/md1, pvs command shows the
following:

   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
   PV         VG   Fmt  Attr PSize      PFree
   /dev/hdd2       lvm2 --   248064.43T 248064.43T
   /dev/md1        lvm2 --      445.74G    445.74G

Any idea what's happening?

Regards,
ogi


[-- Attachment #2: md1.txt --]
[-- Type: text/plain, Size: 896 bytes --]

/dev/md1:
        Version : 00.90.03
  Creation Time : Fri May  5 17:26:32 2006
     Raid Level : raid5
     Array Size : 467394816 (445.74 GiB 478.61 GB)
    Device Size : 155798272 (148.58 GiB 159.54 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Fri May  5 20:45:07 2006
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 1f3449d3:840d444b:2a767e13:7f2f67b3
         Events : 0.102

    Number   Major   Minor   RaidDevice State
       0       3        2        0      active sync   /dev/hda2
       1       3       66        1      active sync   /dev/hdb2
       2      22        2        2      active sync   /dev/hdc2
       3      22       66        3      active sync   /dev/hdd2


[-- Attachment #3: pvs.txt --]
[-- Type: text/plain, Size: 983 bytes --]

  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  /dev/hdd2: lseek 4611824548366092288 failed: Invalid argument
  PV         VG   Fmt  Attr PSize      PFree     
  /dev/hdd2       lvm2 --   248064.43T 248064.43T
  /dev/md1        lvm2 --      445.74G    445.74G


             reply	other threads:[~2006-05-07 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-07 14:29 Ognyan Kulev [this message]
2006-05-10  4:57 ` [linux-lvm] lseek errors after pvcreate on RAID5 Ognyan Kulev

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=445E0440.70007@fmi.uni-sofia.bg \
    --to=ogi@fmi.uni-sofia.bg \
    --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 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.