User Tools

Site Tools


computing:storage:disk_in_use

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:storage:disk_in_use [2012/05/03 12:19]
gcooper created
computing:storage:disk_in_use [2015/06/23 16:18] (current)
gcooper
Line 1: Line 1:
 ====== Disk in Use ====== ====== Disk in Use ======
 +
 +See also **[[computing:storage:raid_metadata_removal|RAID Metadata Removal]]**
 +
 +http://forums.fedoraforum.org/showthread.php?t=242935
 +
 +http://diehealthy.org/linux/dmraids-metadata-mdadm
  
 http://www.sturge.ca/?p=108 http://www.sturge.ca/?p=108
Line 5: Line 11:
 http://www.overclockers.com/forums/showthread.php?t=667317 http://www.overclockers.com/forums/showthread.php?t=667317
  
-When preparing a disk or partition for use on Linux, you may see an error such as:+:!: This commonly occurs after using a drive in BIOS-based RAID or when re-using a drive that was previosly used in the older dmraid-style software RAID. 
 + 
 +===== Possible Error Messages ===== 
 + 
 +When using or preparing a disk or partition for use on Linux, you may see an error such as one of these:
  
 <file> <file>
-/dev/sda1 is apparently in use by the system; will not make a filesystem here!+/dev/sdxx is apparently in use by the system; will not make a filesystem here! 
 + 
 +Device or resource busy 
 + 
 +mount: /dev/sdxx already mounted or /mount/point busy
 </file> </file>
 +
 +===== Determine the Problem =====
  
   - Check if the filesystem is already mounted   - Check if the filesystem is already mounted
Line 21: Line 37:
     * <file>dmsetup status</file>     * <file>dmsetup status</file>
     * <file>dmsetup ls</file>     * <file>dmsetup ls</file>
 +    * <file>dmraid -r</file>
 +
 +===== Fix the Problem =====
 +
 +//Carefully// try one of these options based on what you found (in no particular order):
 +
     * <file>dmsetup remove xxxxxxxx</file>     * <file>dmsetup remove xxxxxxxx</file>
 +    * <file>dmraid -r -E</file>
 +    * <file>dmraid -r -E -f [pdc,nvidia]</file>
 +    * <file>dmraid -r -E /dev/sd[a,b,c...]</file>
computing/storage/disk_in_use.1336069149.txt.gz · Last modified: 2012/05/03 12:19 by gcooper