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

scsi_id invalid option "-n" line in rear.log #201

Closed
gdha opened this issue Feb 19, 2013 · 1 comment
Closed

scsi_id invalid option "-n" line in rear.log #201

gdha opened this issue Feb 19, 2013 · 1 comment
Assignees
Labels

Comments

@gdha
Copy link
Member

gdha commented Feb 19, 2013

Found the following annoying message lines in the rear.log file. These are harmless, but we better capture this to avoid support calls.

2012-11-30 15:49:52 Including finalize/default/88_check_for_mount_by_id.sh
2012-11-30 15:49:52 
2012-11-30 15:49:52 WARNING ! You are mounting some devices by ID. Please be aware that the IDs
2012-11-30 15:49:52 are hardware dependant and that you might have to adjust your fstab to match
2012-11-30 15:49:52 the new IDs. Currently your system has the following disks with LUN IDs:
scsi_id: invalid option -- 'n'
scsi_id: invalid option -- 'n'
scsi_id: invalid option -- 'n'
2012-11-30 15:49:52   36001438005deb05d0000e00005c40000  /dev/sdk  307200MB
scsi_id: invalid option -- 'n'

We will investigate the options of scsi_id on RHEL, SLES and Ubuntu.

@ghost ghost assigned gdha Feb 19, 2013
@gdha
Copy link
Member Author

gdha commented Feb 19, 2013

SLES 11, RHEL 6 and Ubuntu 12 have the same syntax (package udev-147):

Usage: scsi_id OPTIONS <device>
  --device=                     device node for SG_IO commands
  --config=                     location of config file
  --page=0x80|0x83|pre-spc3-83  SCSI page (0x80, 0x83, pre-spc3-83)
  --sg-version=3|4              use SGv3 or SGv4
  --blacklisted                 threat device as blacklisted
  --whitelisted                 threat device as whitelisted
  --replace-whitespace          replace all whitespaces by underscores
  --verbose                     verbose logging
  --version                     print version
  --export                      print values as environment keys
  --help                        print this help text

The -n option still exist on SLES 10 (udev-085).

@gdha gdha closed this as completed in 41caa3b Feb 19, 2013
dagwieers pushed a commit to dagwieers/rear that referenced this issue Jun 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant