Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 270161 Details for
Bug 401711
mkdumprd does not cope with duplicate LV names
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
revised patch
mkdumprd.patch (text/plain), 1.25 KB, created by
Bryn M. Reeves
on 2007-11-27 20:08:02 UTC
(
hide
)
Description:
revised patch
Filename:
MIME Type:
Creator:
Bryn M. Reeves
Created:
2007-11-27 20:08:02 UTC
Size:
1.25 KB
patch
obsolete
>diff -up ./mkdumprd.orig ./mkdumprd >--- ./mkdumprd.orig 2007-11-26 21:18:27.000000000 +0000 >+++ ./mkdumprd 2007-11-27 20:06:25.000000000 +0000 >@@ -1519,18 +1519,18 @@ if [ -n "$vg_list" ]; then > emit "echo Activating logical volumes" > emit "lvm vgchange -a y --ignorelockingfailure" > emit "DM_NUM=0" >- emit "for i in \`lvm lvs | awk '{ if (NR > 1) print \$1}'\`" >+ emit "lvm lvs --noheadings -o lv_name,vg_name | while read i" > emit "do" >- emit " VGRP=\`lvm lvs | grep \$i | cut -d\" \" -f4\`" >+ emit " LV=\`echo \$i | awk '{ print \$1 }'\`" >+ emit " VGRP=\`echo \$i | awk '{ print \$2 }'\`" > emit " mkdir -p /dev/\$VGRP" >- emit " if [ ! -e /dev/\$VGRP/\$i ]" >+ emit " if [ ! -e /dev/\$VGRP/\$LV ]" > emit " then" >- emit " ln -s /dev/mapper/\$VGRP-\$i /dev/\$VGRP/\$i" >- emit " ln -s /dev/mapper/\$VGRP-\$i /dev/dm-\$DM_NUM" >+ emit " ln -s /dev/mapper/\$VGRP-\$LV /dev/\$VGRP/\$LV" > emit " DM_NUM=\`echo \$DM_NUM 1 + p | dc\`" > emit " if [ -z \"\$noresume\" ]" > emit " then" >- emit " /sbin/dmsetup.static resume /dev/mapper/\$VGRP-\$i" >+ emit " /sbin/dmsetup.static resume /dev/mapper/\$VGRP-\$LV" > emit " fi" > emit " fi" > emit "done"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 401711
:
270141
| 270161