Skip to content

Instantly share code, notes, and snippets.

@brentkirby
Created August 26, 2011 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brentkirby/1172612 to your computer and use it in GitHub Desktop.
Save brentkirby/1172612 to your computer and use it in GitHub Desktop.
bs mdadm partition fixes when ubuntu jacks up drive letters
# Re-find partitions
partprobe
# Possibly reboot here
# double check real quick drives are back, if not partprobe again
blkid
# Re-mount
mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment