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

Add support for excluding logicaldrive #19

Closed
pavoldomin opened this Issue Mar 26, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@pavoldomin
Contributor

pavoldomin commented Mar 26, 2012

I want to exclude smart array logicaldrive recreation; placed this in config:

# grep logical /etc/rear/site.conf
EXCLUDE_RECREATE=( fs:/backup logicaldrive:/dev/cciss/c0d0 logicaldrive:cciss/c0d0 )


# rear -D -v savelayout
Relax and Recover 0.0.810 / 2012-03-16 18:37:24 +0100    
Creating disk layout
Excluding RAID md2. 
Excluding Volume Group lvlocal
Excluding Volume Group vgbackup
Excluding component fs:/backup
Excluding component logicaldrive:/dev/cciss/c0d0
Excluding component logicaldrive:cciss/c0d0
Finished in 20 seconds

However, it's still included in disklayout:

# grep c0d0 /var/lib/rear/layout/disklayout.conf
# disk /dev/cciss/c0d0 146778685440 msdos
# part /dev/cciss/c0d0 213057536 16384 primary none /dev/cciss/c0d0p1
# part /dev/cciss/c0d0 146565611520 213073920 primary none /dev/cciss/c0d0p2
# lvmdev /dev/lvlocal /dev/cciss/c0d0p2 XelE5V-1QBS-QbUV-8APC-m3UY-Y55t-ElRQ7W 286260960
logicaldrive /dev/cciss/c0d0 0|A|1 raid=1 drives=1I:1:1,1I:1:2, spares= sectors=32 stripesize=
@jhoekx

This comment has been minimized.

Show comment
Hide comment
@jhoekx

jhoekx Mar 27, 2012

Member

Logical drives are currently not tracked in disktodo.conf or diskdeps.conf. We will have to add them before exclusions will start working.

Member

jhoekx commented Mar 27, 2012

Logical drives are currently not tracked in disktodo.conf or diskdeps.conf. We will have to add them before exclusions will start working.

@ghost ghost assigned jhoekx Mar 27, 2012

@gdha gdha modified the milestones: Rear future, Rear v1.16 Apr 14, 2014

@gdha

This comment has been minimized.

Show comment
Hide comment
@gdha

gdha Feb 5, 2016

Member

Re-open this issue when we found a sponsor to implement this missing feature

Member

gdha commented Feb 5, 2016

Re-open this issue when we found a sponsor to implement this missing feature

@gdha gdha closed this Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment