All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] problem creating lvm2 snapshot volume
@ 2004-06-29 15:07 John Uhlig
  2004-06-29 15:21 ` Dimitar Katerinski
  0 siblings, 1 reply; 2+ messages in thread
From: John Uhlig @ 2004-06-29 15:07 UTC (permalink / raw)
  To: linux-lvm; +Cc: sunsa

Hi.

We are trying to install lvm2 volumes on our fedora core 2 (kernel 
2.6.6-1.435smp)
Dell 2650 poweredge fileservers. Following the instructions at:
    http://tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html
...do not work and the following error occurs:

[juhlig@aragami ~]$ lvcreate -L592M -s -n dbbackup /dev/VG_aragami_1/LV_1
  device-mapper ioctl cmd 9 failed: Invalid argument
  Couldn't load device 'VG_aragami_1-dbbackup'.
  Problem reactivating origin LV_1

This error causes the LV Status to go to "suspended" and the snapshot 
volume cannot
be removed without rebooting the system. If anyone can help us resolve 
this problem
it would be greatly appreciated as we are under pressure to bring these 
servers on-line
ASAP.

thanks, John Uhlig

------------------------------------------
test config volume details below:
-----------------------------------------

BEFORE snapshot lvcreate.
------------------------------------
[juhlig@aragami ~]$ vgdisplay
  --- Volume group ---
  VG Name               VG_aragami_1
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  39
  VG Access             read/write
  VG Status             resizable
  MAX LV                255
  Cur LV                1
  Open LV               0
  Max PV                255
  Cur PV                1
  Act PV                1
  VG Size               273.43 GB
  PE Size               4.00 MB
  Total PE              69999
  Alloc PE / Size       25600 / 100.00 GB
  Free  PE / Size       44399 / 173.43 GB
  VG UUID               J7Z9Fw-oool-q9tk-Dzqy-LOwu-Hv8N-MWv6vH
                                                                                                       

[juhlig@aragami ~]$ lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG_aragami_1/LV_1
  VG Name                VG_aragami_1
  LV UUID                t4Xi36-MIe2-zYIM-BN6F-gpwC-1Umr-xeMEtE
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                100.00 GB
  Current LE             25600
  Segments               1
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:1
---------------------------------------
AFTER snapshot create error:
---------------------------------------
[juhlig@aragami ~]$ lvdisplay
  --- Logical volume ---
  LV Name                /dev/VG_aragami_1/LV_1
  VG Name                VG_aragami_1
  LV UUID                t4Xi36-MIe2-zYIM-BN6F-gpwC-1Umr-xeMEtE
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/VG_aragami_1/dbbackup [INACTIVE]
  LV Status              suspended
  # open                 0
  LV Size                100.00 GB
  Current LE             25600
  Segments               1
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/VG_aragami_1/dbbackup
  VG Name                VG_aragami_1
  LV UUID                vDdYvc-Kfo0-au04-n4k2-c2UY-ikSC-3CEzwv
  LV Write Access        read/write
  LV snapshot status     INACTIVE destination for /dev/VG_aragami_1/LV_1
  LV Status              available
  # open                 0
  LV Size                100.00 GB
  Current LE             25600
  Segments               1
  Snapshot chunk size    8.00 KB
  Allocated to snapshot  100.00%
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:3

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

end of thread, other threads:[~2004-06-29 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-29 15:07 [linux-lvm] problem creating lvm2 snapshot volume John Uhlig
2004-06-29 15:21 ` Dimitar Katerinski

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.