Bugzilla – Attachment 504966 Details for
Bug 779445
lvm lvcreate fails to create mirrored volume
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
Shell script to trigger the bug
lvmbug.sh (text/plain), 595 bytes, created by
Forgotten User 7XRNh5WElB
on 2012-09-09 18:01:18 UTC
(
hide
)
Description:
Shell script to trigger the bug
Filename:
MIME Type:
Creator:
Forgotten User 7XRNh5WElB
Created:
2012-09-09 18:01:18 UTC
Size:
595 bytes
patch
obsolete
>#!/bin/bash > >udevsettle() { udevadm settle --timeout=180 ; } > ># Prepare some block devices (backed by files) >dd if=/dev/null of=/tmp/a bs=1M seek=1K count=0 >dd if=/dev/null of=/tmp/b bs=1M seek=1K count=0 >a=`losetup -f --show /tmp/a` >b=`losetup -f --show /tmp/b` > ># Create LVM VG "testvg" >pvcreate $a $b >vgcreate testvg $a $b > >echo ================ ># Attempt to create mirrored volume "testlv" >udevsettle >lvcreate -L 512m -n testlv -m 1 --nosync --mirrorlog core testvg $a $b >echo ================ > ># Cleanup >vgchange -an testvg >vgremove -f testvg >pvremove -ff $a $b >udevsettle >losetup -d $a $b
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 779445
: 504966