All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] devsize problems.
@ 2007-02-20 14:29 Terje Kvernes
  0 siblings, 0 replies; 2+ messages in thread
From: Terje Kvernes @ 2007-02-20 14:29 UTC (permalink / raw)
  To: linux-lvm


  (my apologies if you see this twice, I couldn't see my previous
  attempt reach the archives)

  I've been trying to create a large (4TB) volume on a 3ware raid
  controller, and I get "device-mapper: reload ioctl failed: Invalid
  argument" from lvcreate and 

Feb 19 13:42:10 siniolchu kernel: device-mapper: device 8:3 too small for target
Feb 19 13:42:10 siniolchu kernel: device-mapper: dm-linear: Device lookup failed
Feb 19 13:42:10 siniolchu kernel: device-mapper: error adding target to table

  from the logs.  interestingly enough, the DevSize reports the
  following:

siniolchu:/# pvs  -o +dev_size
  PV         VG       Fmt  Attr PSize PFree DevSize
  /dev/sda3  internvg lvm2 a-   4.09T 4.06T  89.86G

  if I'm reading this correctly, the device seems to be telling LVM
  that it's 89.86G only?  any suggestions on how to solve this would
  be appreciated.


-- 
Terje

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-lvm] devsize problems
@ 2007-06-12 19:51 Dave Fear
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Fear @ 2007-06-12 19:51 UTC (permalink / raw)
  To: linux-lvm

Hi

I have a problem with device-mapper and/or lvm.

"vgchange -ay" outputs:

root@ubuntu:/home/ubuntu# vgchange -ay
  device-mapper: reload ioctl failed: Invalid argument
  device-mapper: reload ioctl failed: Invalid argument
  device-mapper: reload ioctl failed: Invalid argument
  device-mapper: reload ioctl failed: Invalid argument
  device-mapper: reload ioctl failed: Invalid argument
  device-mapper: reload ioctl failed: Invalid argument
  6 logical volume(s) in volume group "vgroot" now active

and "dmesg | tail" outputs:

root@ubuntu:/home/ubuntu# dmesg | tail
[12363.172000] device-mapper: table: 254:0: linear: dm-linear: Device
lookup failed
[12363.172000] device-mapper: ioctl: error adding target to table
[12363.256000] device-mapper: table: device 3:2 too small for target
**** above lines repeats 5 more times, the only difference is the number
after "table 254:    ".

therefore:

the error seems to be "device 3:2 too small for target" and "pvs -o
+dev_size" prints incorrect dev_size.

how do i fix this?

-- 
-----------------------------------
Dave Fear :: david@dfear.info
Skype: dpfear
GPG: key ID - 805B3D54
GPG: server - wwwkeys.eu.pgp.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-12 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 14:29 [linux-lvm] devsize problems Terje Kvernes
2007-06-12 19:51 Dave Fear

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.