Opened 11 years ago

Last modified 11 years ago

#667 new defect

issue at restore time with cLVM

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: highest Milestone: 3.0.5
Component: mondo Version: 3.0.2
Severity: critical Keywords:
Cc:

Description (last modified by Bruno Cornec)

at restore time, when using cLVM, mondorestore doesn't seem to be able to access the LVs created correctly, format and then mount them.

Part of logs relevant:

running: lvm pvscan > //mondo.tmp.OD94fk/mondo-run-prog-thing.tmp 2> //mondo.tmp.OD94fk/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
PV /dev/sda2   VG systemvg   lvm2 [598.91 GiB / 598.91 GiB free]
Total: 1 [598.91 GiB] / in use: 1 [598.91 GiB] / in no VG: 0 [0   ]
File descriptor 3 (/tmp/prep.sh) leaked on lvm invocation. Parent PID 7869: sh
File descriptor 4 (/proc/mdstat) leaked on lvm invocation. Parent PID 7869: sh
File descriptor 5 (/proc/mdstat) leaked on lvm invocation. Parent PID 7869: sh
File descriptor 6 (/proc/mdstat) leaked on lvm invocation. Parent PID 7869: sh
File descriptor 7 (/proc/mdstat) leaked on lvm invocation. Parent PID 7869: sh
File descriptor 8 (/tmp/i-want-my-lvm) leaked on lvm invocation. Parent PID 7869: sh
connect() failed on local socket: No such file or directory
Internal cluster locking initialisation failed.
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
--------------------------------end of output------------------------------
...ran just fine. :-)
lvm vgchange -a y systemvg --> 0
lvm lvcreate -L 4096m -r auto -n root_lv systemvg --> 0
lvm lvcreate -L 16384m -r auto -n swap_lv systemvg --> 0
lvm lvcreate -L 2048m -r auto -n tmp_lv systemvg --> 0
lvm lvcreate -L 8192m -r auto -n var_lv systemvg --> 0
lvm lvcreate -L 4096m -r auto -n usr_lv systemvg --> 0
lvm lvcreate -L 4096m -r auto -n opt_lv systemvg --> 0
lvm vgscan --> 0

After that point no LV FS is used by mondorestore.

Change History (2)

comment:1 by Bruno Cornec, 11 years ago

Description: modified (diff)

comment:2 by Bruno Cornec, 11 years ago

Milestone: 3.0.33.0.4
Note: See TracTickets for help on using tickets.