lvcreate throws error : device not cleared

2012-08-17 Thread J. B
Dear list, I'm with debian wheezy with lvm2 2.02.95-4. whenever I try to execute lvcreate it fails. Here is the output of such a command `` #lvcreate -v -n root -L 80G mygroup Setting logging type to disk Finding volume group mygroup Archiving volume group mygroup

Re: lvcreate throws error : device not cleared

2012-08-17 Thread Muhammad Yousuf Khan
http://forums.funtoo.org/viewtopic.php?id=1206 This might help On Fri, Aug 17, 2012 at 3:00 PM, J. B baksh...@gmail.com wrote: Dear list, I'm with debian wheezy with lvm2 2.02.95-4. whenever I try to execute lvcreate it fails. Here is the output of such a command ``

Re: lvcreate throws error : device not cleared

2012-08-17 Thread Muhammad Yousuf Khan
On Fri, Aug 17, 2012 at 3:28 PM, J. B baksh...@gmail.com wrote: Thanks, [-Z n] only works with a warrning -Z, --zero y/n Controls zeroing of the first KB of data in the new logical volume. Default is yes. Warning: trying to mount an unzeroed logical volume can cause the system to

Re: lvcreate throws error : device not cleared

2012-08-17 Thread Muhammad Yousuf Khan
On Fri, Aug 17, 2012 at 3:33 PM, Muhammad Yousuf Khan sir...@gmail.com wrote: On Fri, Aug 17, 2012 at 3:28 PM, J. B baksh...@gmail.com wrote: Thanks, [-Z n] only works with a warrning -Z, --zero y/n Controls zeroing of the first KB of data in the new logical volume. Default is yes.

Re: lvcreate throws error : device not cleared

2012-08-17 Thread J. B
On Fri, 17 Aug 2012 15:36:27 +0500 Muhammad Yousuf Khan sir...@gmail.com wrote: On Fri, Aug 17, 2012 at 3:33 PM, Muhammad Yousuf Khan sir...@gmail.com wrote: On Fri, Aug 17, 2012 at 3:28 PM, J. B baksh...@gmail.com wrote: Thanks, [-Z n] only works with a warrning -Z, --zero y/n