Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4a49f89c
Commit
4a49f89c
authored
Jul 09, 2013
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure to kpartx -d before lvremove.
parent
7f0b35a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
clientside/tmcc/linux/xen/libvnode_xen.pm
clientside/tmcc/linux/xen/libvnode_xen.pm
+1
-0
No files found.
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
4a49f89c
...
...
@@ -710,6 +710,7 @@ sub vnodeCreate($$$$)
if
(
findLVMLogicalVolume
(
$vnode_id
))
{
my
$olvname
=
findLVMOrigin
(
$vnode_id
);
if
(
$olvname
ne
$lvname
)
{
mysystem2
("
kpartx -dv
$rootvndisk
");
if
(
mysystem2
("
lvremove -f
$VGNAME
/
$vnode_id
"))
{
TBScriptUnlock
();
fatal
("
xen_vnodeCreate:
"
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment