-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Creating a rescue disk on a system using Fedora Core 6 and lvm2 I
noticed that getdiskinfo does not create the diskinfo/lvm-*.bsi. They
are always empty. The problem is that the redirection of the output of
lvm does not work. See the attached patch for the necessary changes.
Best regards!
Christian
- --
Christian Nolte
mailto:[EMAIL PROTECTED]
key : http://www.noltec.org/christian-nolte.asc
or : www.keyserver.net
GPG-fingerprint:
1088 6C2D 1496 0A34 D159 1108 08D8 C0D2 77E1 5BBC
- ----------------------------------------------------------------------
For more than 4 generations the IT Professionals were the guardians
of quality and stability in software. Before the dark times.
Before Microsoft...
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFGDM/vCNjA0nfhW7wRArogAKCG6ALnK0AlIHyOnMPgjngkMm5zCwCgtghO
1+JSlbd7CJcX5bu2wDOOJVM=
=Gv6W
-----END PGP SIGNATURE-----
--- rescue/linux/cdrom/bacula/getdiskinfo.orig 2007-03-30 10:48:44.000000000 +0200
+++ rescue/linux/cdrom/bacula/getdiskinfo 2007-03-30 10:49:09.000000000 +0200
@@ -64,9 +64,9 @@
echo "Gathering LVM information"
dolvm=1
- lvm pvs --noheadings --nosuffix -o pv_name,vg_name > lvm-pv.bsi
- lvm vgs --noheadings --nosuffix -o vg_name,vg_extent_size --units=k > lvm-vg.bsi
- lvm lvs --noheadings --nosuffix -o lv_name,vg_name,lv_size --units=k > lvm-lv.bsi
+ echo `lvm pvs --noheadings --nosuffix -o pv_name,vg_name` > lvm-pv.bsi
+ echo `lvm vgs --noheadings --nosuffix -o vg_name,vg_extent_size` --units=k > lvm-vg.bsi
+ echo `lvm lvs --noheadings --nosuffix -o lv_name,vg_name,lv_size` --units=k > lvm-lv.bsi
fi
echo "Done collecting info."
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users