![](https://seccdn.libravatar.org/avatar/3b88186bea83a1e6f8dc1e8959e80e75.jpg?s=120&d=mm&r=g)
Hallo, ich habe ein Problem mit Umleitungen in Zusammenhang mit lvcreate. In einem skript lege ich einen snapshot für ein LV an: echo "lvcreate:" >> /var/log/update.log 2>&1 /sbin/lvcreate -v -L 25G -n lv_root_snapshot -s vg1/lv_root >> /var/log/update.log 2>&1 Bei diesem Befehl bleibt das System (ist ne VM) stehen. Ich krieg sie nur noch mit Magic SysRq neu gestartet. Das log wird genau bis hier geschrieben: ... lvcreate: Setting logging type to disk Setting chunksize to 8 sectors. Finding volume group "vg1" Archiving volume group "vg1" metadata (seqno 361). Creating logical volume lv_root_snapshot Creating volume group backup "/etc/lvm/backup/vg1" (seqno 362). Found volume group "vg1" activation/volume_list configuration setting not defined: Checking only host tags for vg1/lv_root_snapshot Creating vg1-lv_root_snapshot Loading vg1-lv_root_snapshot table (252:1) Resuming vg1-lv_root_snapshot (252:1) Clearing start of logical volume "lv_root_snapshot" Creating logical volume snapshot0 Found volume group "vg1" Found volume group "vg1" Creating vg1-lv_root-real Loading vg1-lv_root-real table (252:2) Loading vg1-lv_root table (252:0) Creating vg1-lv_root_snapshot-cow Loading vg1-lv_root_snapshot-cow table (252:3) Resuming vg1-lv_root_snapshot-cow (252:3) Loading vg1-lv_root_snapshot table (252:1) Suspending vg1-lv_root (252:0) with filesystem sync with device flush Das ganze ist reproduzierbar. Der Hammer ist: Lass ich die Umleitung von stderr weg, läuft das skript durch und macht was es soll und die Maschine bleibt nicht stehen. Das ist auch reproduzierbar. Sprich: "/sbin/lvcreate -v -L 25G -n lv_root_snapshot -s vg1/lv_root >> /var/log/update.log" funktioniert. Ich kann die Umleitung von stderr natürlich weglassen, aber mich interessiert vor allem wieso das nicht funktioniert. Host und Gast sind SLES 11 SP4 64bit, die VM läuft mit KVM. Bernd -- Bernd Lentes Systemadministration institute of developmental genetics Gebäude 35.34 - Raum 208 HelmholtzZentrum München bernd.lentes@helmholtz-muenchen.de phone: +49 (0)89 3187 1241 fax: +49 (0)89 3187 2294 Wer Visionen hat soll zum Hausarzt gehen Helmut Schmidt Helmholtz Zentrum München Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Alfons Enhsen, Renate Schlusen (komm.) Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671 -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org