segmentation fault when creating snapshot volume/PVa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a following problem with LVM2.

When I try to create snapshot logical volume, command crashes with segmentation fault.

Logic volume is somehow created, but I am not able to mount it, because it complains that the device

does not exist.

 

>vgdisplay vol0                         # shows hom many PEs are available

.

.

Free PE/ Size               6400 / 100.00 GB

>lvcreate –L 1280 –c 1024k –s –n vol0.1 /dev/vol0/prj

# produces:

Segmentation fault

>lvdisplay

  --- Logical volume ---

  LV Name                /dev/vol0/prj

  VG Name                vol0

  LV UUID                biQ0ny-Wz48-vOUS-tDsR-8ynO-GDS2-oUqpt9

  LV Write Access        read/write

  LV snapshot status     source of

                         /dev/vol0/vol0.1 [active]

  LV Status              suspended

  # open                 2

  LV Size                458.70 GB

  Current LE             29357

  Segments               1

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:0

  

  --- Logical volume ---

  LV Name                /dev/vol0/vol0.1

  VG Name                vol0

  LV UUID                SZQsRU-pRAl-ZiLZ-BJ1X-7kGk-fBce-8vLMKa

  LV Write Access        read/write

  LV snapshot status     active destination for /dev/vol0/prj

  LV Status              suspended

  # open                 0

  LV Size                458.70 GB

  Current LE             29357

  Segments               1

  Snapshot chunk size    1.00 MB

  Allocated to snapshot  0.16%

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:14

 

#So, it looks like the logical snapshot volume was created, BUT I am not able to mount it

>mount /dev/vol0/vol0.1 /mnt

Mount: special device /dev/vol0/vol0.1 does not exist

 

#Well, I have removed the snapshot volume and created just another logical volume in the same group

>lvremove –f /dev/vol/vol0.1

  Logical volume “vol0.1” successfully removed

>lvcreate –L 1280 –n vol0.1 vol0

  Logical volume “vol0.1” created

>mkfs.ext3 /dev/vol/vol0.1

>mount –t ext3 –o ro /dev/vol/vol0.1 /export/prj.1

# mounts the system

>df –k

.

.

/dev/mapper/vol0-vol0.1  …..

 

What am I doing wrong ?

Any hints to follow ?

 

I have following configuration:

SuSE 9.2 ( 2.6.8-24-smp )

3ware Raid controller

lvm2-2.00.25-2

 

best regards

premysl.vaclavik@ondemand.co.at

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux