Displaying 2 results from an estimated 2 matches for "zfsinfo".
Did you mean:
xfsinfo
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...cfg["args"]
- bootfsgroup = re.findall(''zfs-bootfs=(.*?)[\s\,\"]'', bootfsargs)
- if bootfsgroup:
- bootfsoptions = bootfsgroup[0]
- else:
- bootfsoptions = ""
+ args = None
+ if chosencfg["args"]:
+ zfsinfo = fsimage.getbootstring(fs)
+ if zfsinfo is not None:
+ e = re.compile("zfs-bootfs=[\w\-\.\:@/]+" )
+ (chosencfg["args"],count) = e.subn(zfsinfo, chosencfg["args"])
+ if count == 0:
+ chosencfg[...
2008 Aug 25
3
Problem: when I am trying to create a PV guest on DQ35
When I am trying to create a PV guest on DQ35, i am getting following
error:
>xm create CENTOS_PV.cfg -c
Traceback (most recent call last): File "/usr/bin/pygrub", line 680, in ?
zfsinfo = fsimage.getbootstring(fs)
AttributeError: ''module'' object has no attribute ''getbootstring''
Error: Boot loader didn''t return any data!
PV guest configuration file: CENTOS_PV.cfg
name = "CENTOS_PV_GUEST"
#kernel = "/mnt/temp/images/...