[linux-lvm] segmentation fault when creating snapshot volume/PVa
Premysl Vaclavik
pvaclavik at ondemand.co.at
Tue Apr 12 10:09:41 UTC 2005
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 at ondemand.co.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050412/af3b3a1f/attachment.htm>
More information about the linux-lvm
mailing list