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

Unable to determine raw USB device #674

Closed
Supersempfft opened this issue Oct 21, 2015 · 4 comments
Closed

Unable to determine raw USB device #674

Supersempfft opened this issue Oct 21, 2015 · 4 comments

Comments

@Supersempfft
Copy link

Hello,

I tried to create a backup with rear on a usb device and got:

Relax-and-Recover 1.15 / Git
Using log file: /var/log/rear/rear-host7.log
ERROR: BUG BUG BUG!  Unable to determine raw USB device for /dev/dm-18

=== Stack trace ===
Trace 0: /usr/sbin/rear:249 main
Trace 1: /usr/share/rear/lib/mkbackup-workflow.sh:15 WORKFLOW_mkbackup
Trace 2: /usr/share/rear/lib/framework-functions.sh:79 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:40 Source
Trace 4: /usr/share/rear/prep/USB/Linux-i386/35_check_usb_disk.sh:28 source
Trace 5: /usr/share/rear/lib/_input-output-functions.sh:143 BugError
Message: BUG BUG BUG!  Unable to determine raw USB device for /dev/dm-18

device mapper ...

Should I blacklist the USB Stick? Or is the a better solution?

What can it be?
Andy

@schlomo
Copy link
Member

schlomo commented Oct 21, 2015

Please give us your configuration (what you changed), the full log and the output of rear dump. You can also use gist.github.com to upload files.

@schlomo
Copy link
Member

schlomo commented Oct 21, 2015

Please give us

  • your configuration
  • the log
  • the output of rear dump

Maybe create a https://gist.github.com for those files, easier that pasting all that into the ticket.

@Supersempfft
Copy link
Author

... config is just like this:
OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000

and nothing more in the log. Solution is: multipath blacklist for the USB Stiick.

@schlomo
Copy link
Member

schlomo commented Oct 21, 2015

Do you mean blacklisting usb-storage in your MPIO configuration? Yes, that seems like a good idea.

Please reopen if you have more to add to this. Thanks a lot for providing the solution.

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

No branches or pull requests

2 participants