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

[linux-lvm] Re: Ambiguous mirror log option



Got the right doc,
 
the log device MUST belong to the VG, it cannot be an external device, it is specified as thrid device vhen creating the LV:
 
lvcreate -m1 --mirrorlog disk  -L 9G -n lvolvm1 VMVG /dev/firstleg /dev/secondleg /dev/log...
 


 
2009/9/18, brem belguebli <brem belguebli gmail com>:
Running x86_64 RHEL  5u4

2009/9/18, brem belguebli <brem belguebli gmail com>:
Hi,
 
I've been struggling with lvcreate for more than  a hour to create a mirror'ed LV with on disk log, with no success (I'm ashamed! :-| )
 
 
Here's what I typed on a VG (with 2 X 8678 4MB extents free), it's not a free space issue...
 
lvcreate -m1 --mirrorlog disk  -L 9G -n lvolvm1 VMVG, it complains about 2304 more extents required (wich make the exact size of the LV I want to create), plus where to define the log device to use ?
 
same command whith --corelog (instead of --mirrorlog disk) succeeds.
 
Same command without any of these 2 options fails with the same  complain as the first (man page says that default no option == mirrolog disk).
 
Any tip ?
 
Regards



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