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 wrote: > On Fri, Aug 17, 2012 at 3:33 PM, Muhammad Yousuf Khan > wrote: > > On Fri, Aug 17, 2012 at 3:28 PM, J. B wrote: > >> > >> Thanks, [-Z n] only works with a warrning > > > > -Z, --zero y/n > > Controls zeroing of the first KB o

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 wrote: > On Fri, Aug 17, 2012 at 3:28 PM, J. B 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. FYI it is just a work aro

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 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 hang. so be caref

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 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 > > `` > #lvcreate -v

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 "mygrou