RAW partition/drive issue: reasons and how to solve it without losing data
It is not a secret that any new storage device, whether a hard disk drive or a memory card, must be formatted to become available for actual use: before that it contains just RAW storage space which cannot be utilized to keep computer files. Still, it happens at times that a disk or partition some data has already been written to is treated as unformatted by the operating system, becoming inaccessible with the help of standard means, while the same RAW storage status may be displayed on attempt to analyze it with data recovery software. This article aims to explain what this problem actually means and why it may come about.
What is a RAW storage?
RAW is a state of a storage device or a certain partition which, from the point of view of the OS, lacks a valid file system. In fact, it doesn’t matter for the operating system whether it is missing, got corrupted or its type is not supported: it simply cannot find the data it expects to be in particular places on the disk, thus, is not able to identify the applied format and the way files are stored. As a result, it becomes incapable of manipulating data on this partition/drive and blocks access to it until it receives an acceptable structure.
The term RAW can also have a slightly different meaning when be used in other collocations, which one should not confuse:
RAW data – an unmodified dataset which didn’t undergo any processing or modifications after being obtained from the source;
RAW file – a common digital format of images produced by a digital camera or scanner containing pixel information exactly as it was received from the sensor, without any adjustments or compression.
Why do drives/partitions appear as RAW?
As has already been mentioned, this problem usually arises when the operating system is unable to recognize a file system and thus cannot mount it. Here we can distinguish two situations:
- one partition is regarded as RAW;
- the whole disk gets the RAW or uninitialized status.
When a single partition starts showing up as RAW and other ones are in a normal state, this may be explained by one of the following reasons:
The file system is not supported by the OS
The running operating system may not support the given file system type which often happens when storage devices are shared between different environments. The available drivers cannot mount it properly so the user becomes unable to access its files. In this case, using a compatible OS is likely to solve the problem.
The same issue may be encountered by data recovery software which has a limited set of supported file systems: an intact partition may be marked as RAW just because its format is not familiar to the program. For instance, the new Apple APFS file system was not supported in the old version of UFS Explorer 5.19, so the application could not recognize an APFS partition, labeling it as RAW:
Figure 1. APFS volume in UFS Explorer Professional Recovery version 5.19.
All modern versions of UFS Explorer feature full support of this format, as a result, the program without difficulty identifies the same APFS volume:
Figure 2. APFS volume in UFS Explorer Professional Recovery version 7.4.
The file system structure has been damaged
Each partition contains some vital records which determine its type, location on the disk, etc. For example, a volume boot record resides on the first sector of each partition and holds the code necessary to start the boot process. If some of these records suffer severe damage caused by a software malfunction, virus attack, user mistake, power failure or improper device ejection, a partition cannot be read properly and is handled as RAW. Using disk repair utilities, in this case, puts the lost data at risk and is not recommended if the storage contains necessary files.
A partition is a part of a spanned volume or RAID
In most instances, data of a complex volume is striped accross multiple drives for maximum performance. However, a member of such a system is not necessarily the whole physical disk – a certain partition on it may be assigned to be a part of RAID/span while the remaining space be used as that of a stand-alone storage. Without being fitted together with the rest of the constituents of a complex storage such a partition cannot be read correctly and may be considered RAW by the operating system.
Most data recovery utilities will display it as RAW as well, as you can see in Figure 3 and Figure 4, which show a spanned volume and RAID 5 opened in UFS Explorer version 5.25:
Figure 3. Spanned volume in UFS Explorer Professional Recovery version 5.25.
Figure 4. RAID 5 in UFS Explorer Professional Recovery version 5.25.
Some data recovery software, like modern versions of UFS Explorer, will indicate that the partition is a part of a complex volume/RAID, yet, in order to become available for data access or recovery, the storage is required to be properly assembled:
Figure 5. Spanned volume in UFS Explorer Professional Recovery version 7.5.
Figure 6. RAID 5 in UFS Explorer Professional Recovery version 7.5.
Access to the partition is prohibited in security settings
A partition may be presented in the RAW format due to improperly configured access permissions. Changing security settings in the partition properties may help to cope with the issue.
When the whole drive becomes inaccessible and its state turns into the RAW one, the situation may be caused by one of the following factors:
Damaged partition table
A partition table is a special structure located at the first sector of the disk which describes all partitions residing on it and is maintained by the operating system. Its records keep the information about the type, size and location of each partition, using which the OS can identify different partitions. Once a partition table gets corrupted, it may render the entire storage unreadable. The damage may be caused by various factors, from malware activities or software crashes to hardware failures. Another possible reason is failed re-partitioning: the attempts to add, move or resize partitions often result in wiping the entire partition table, especially when the process gets interrupted as a consequence of some fault. Still, even if the partition table is missing, some crucial information about partitions may be still present on the disk and be spotted by data recovery software which is capable of interpreting and utilizing it to retrieve the lost files.
Issues with disk connection
A drive may be presented as RAW due to various connection defects, for example, an improperly attached or broken cable. In this case, it is recommended to unplug and re-plug the drive or try connecting it using a different cable.
The disk is a part of complex storage
Multiple drives configured in a RAID or spanned volume in most cases become unreadable when connected separately as stand-alone storage devices and may appear as RAW or uninitialized. Some data recovery applications may recognize the disk as a member of an array, but the data kept on it cannot be accessed unless all the components are attached to one machine (the exceptions are RAID 1, RAID 0+1, RAID 10, RAID 5 and RAID 6 which remain accessible even in the degraded mode). Still, the failure of RAID controller or configuration damage may cause the operating system to consider the disks RAW even when each of them is available and functional. In this situation the software may detect the correct parameters and automatically reconstruct the storage. If not, the configuration may be defined manually for further data retrieval.
Bad sectors on the disk
Bad sectors may develop on practically any storage medium like an internal or external hard disk drive, USB flash drive or a memory card. A few bad sectors usually don’t prevent the device from operating, they are simply marked by the system as unavailable for data storage. However, when they start appearing in the key areas of the drive, it starts malfunctioning: it may become very slow, stop responding or get RAW. In this situation, before making any recovery attempts, it is important to clone the entire disk to prevent its total failure during the procedure.
BIOS is not configured to recognize the drive
Some manufacturers tend to disable unused ports in system BIOS by default. Therefore, it is recommended to enter BIOS and make sure that all the drives are enabled. Also, see to it that the computer’s controller firmware and BIOS are up-to-date. If the problem persists, chances are that the drive itself is physically defective.
Too many connected drives
Concurrent usage of many hard drives with the same computer may also trigger some of them to be displayed as RAW.
Major signs of the issue
When a disk/partition becomes RAW, the problem may be accompanied by a variety of symptoms:
- when trying to open the storage in a file browser, the user may get one of the following error messages:
The disk in drive “X” is not formatted. Do you want to format it now?
“X:\” is not accessible. The file or directory is corrupted and unreadable;
You need to format the disk in drive “X:” before you can use it. Do you want to format it?
“X:\” is not accessible. The volume does not contain a recognized file system. Please make sure that all the required file system drivers are loaded and that the volume is not corrupted;
“X:\” is not accessible. The parameter is incorrect;
Invalid media type reading drive “X”;
The disk image isn't initialized, contains partitions that aren't recognizable, or contains volumes that haven't been assigned drive letters. Please use the Disk Management snap-in to make sure that the disk, partitions, and volumes are in a usable state;
A sector not found;
- if the user tries running CHKDSK on the drive, one of these messages may show up:
The type of the file system is RAW. Chkdsk is not available for RAW drives;
Convert is not available for RAW drives;
- the drive properties show RAW in the File system section and 0 bytes in both Used space and Free space sections:
Figure 7. Drive properties in Windows.
- the partition status in Disk Management is RAW:
Figure 8. Disk management utility in Windows.
What can be done to retrieve the locked files?
First and foremost, it is important to avoid formatting the disk despite the OS notifications. This operation is likely to wipe critical data related to file system structures complicating the recovery process or, in some cases, even make it impossible.
If the disk is functional and still contains the data, UFS Explorer software is able to analyze the areas on it where the information related to partitions is usually kept in order to locate and reconstruct them for further recovery. If this information was destroyed due to severe logical damage, it is still possible to find and recover data by scanning the content of the entire storage in search for file signatures of known file types – identifiable data patterns that are present in all files belonging to a certain type.
Last update: 20.02.2019