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

NetWorker: 95_nsr_save_result_files.sh fails to identify the correct tape pool to use #429

Closed
IanSJones opened this issue Jun 24, 2014 · 2 comments
Assignees
Milestone

Comments

@IanSJones
Copy link

With NetWorker 8.1.1.5 (at least) when you run the command to list the pool(s) that the client uses you get many lines returned (usually of the same pool but can be others in there). This sets the variable POOLNAME incorrectly.
If more than one pool name is returned we don't actually know which one to use so I have decided to use the first one returned.

Before: line 42: POOLNAME="$( mminfo -s $NSRSERVER -a -q "client=$CLIENTNAME" -r "pool" )"
After: line 42: POOLNAME="$( mminfo -s $NSRSERVER -a -q "client=$CLIENTNAME" -r "pool" | head -1 )"

@gdha gdha self-assigned this Jun 25, 2014
gdha added a commit that referenced this issue Jun 25, 2014
…ME gets too many names back; use 'head -1' to use only the first one

See info in issue #429
@gdha gdha added this to the Rear v1.17 milestone Jun 25, 2014
@gdha
Copy link
Member

gdha commented Jun 25, 2014

@IanSJones ok modified it - keep this open for feedback

@gdha
Copy link
Member

gdha commented Feb 11, 2015

added to the release notes so we can close this issue

@gdha gdha closed this as completed Feb 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants