FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-10-2007, 10:34 PM
Jeff Bastian
 
Default log lvcreate commands

I'm in the middle of debugging a problem with lvcreate in Anaconda in RHEL
5.1 and I added a line to log the lvcreate commands as they're called.
I'm still debugging the problem, but the extra output in the logs
confirmed my suspicions, so it may be useful to others as well.


Jeff Bastian


--- fsset.py.orig 2007-12-10 18:33:19.000000000 -0500
+++ fsset.py 2007-12-10 18:33:03.000000000 -0500
@@ -2450,6 +2450,8 @@

def setupDevice(self, chroot="/", devPrefix='/tmp', vgdevice = None):
if not self.isSetup:
+ log.debug("lvcreate -L %dM -n %s -An %s"
+ % (self.size, self.name, self.vgname))
lvm.writeForceConf()
rc = iutil.execWithRedirect("lvm",
["lvcreate", "-L",

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org