Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvm.conf filter #225

Closed
wdpoorte opened this issue Apr 12, 2013 · 3 comments
Closed

lvm.conf filter #225

wdpoorte opened this issue Apr 12, 2013 · 3 comments
Assignees
Labels
enhancement Adaptions and new features waiting for info
Milestone

Comments

@wdpoorte
Copy link

Hi,

In our environment, with local boot disks and SAN disks, we want to make sure the SAN disks are only accessed via their multipath device, not the direct paths. To do this, we block all access to the single paths using a filter in the lvm.conf file. So in our filter line, we typically see something like this:

filter = [ "a|/dev/disk/by-id/scsi-3600508b1001cdac79483c5b08490cb4d.*|", "a|/dev/mapper/mpath.*|", "a|/dev/disk/by-id/scsi-pvol.*|", "r/.*/" ]

Now if we recover a system using this on other hardware, we need to modify this filter line manually, otherwise the system will not boot after recovery.

@ghost ghost assigned gdha May 7, 2013
@gdha
Copy link
Member

gdha commented May 7, 2013

something we should add to the list of files we go through to change paths, uuids,...

@gdha
Copy link
Member

gdha commented Jun 12, 2013

@wdpoorte how do you see this implemented in a recovery mode? Are you able to give it a try?

gdha added a commit that referenced this issue Nov 18, 2013
Still need some testing - related to issue #225
@gdha gdha modified the milestones: Rear v1.17, Rear v1.16 Apr 14, 2014
@gdha
Copy link
Member

gdha commented Jan 14, 2015

@wdpoorte were you able to test this already with patch 6e05ec6?

@gdha gdha modified the milestones: Rear v1.18, Rear v1.17 Feb 6, 2015
@gdha gdha closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features waiting for info
Projects
None yet
Development

No branches or pull requests

2 participants