LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-15-2015, 06:24 AM   #1
jordib
Member
 
Registered: Apr 2008
Distribution: Debian
Posts: 37

Rep: Reputation: 15
SSD RAID0-software recovery issue


Hi folks,

I'm trying to recover some contents (text files) from a RAID0 SSD units mounted in a video and metadata recorder (Vantage PSU-3). These devices are used by video-assistants in TV/cinema shootings, and record video feeds and data entered by the user. By accident, the unit was formatted before downloading its contents. The unit system uses some flavor of a linux system.

I've extracted the disks and mounted the RAID under Ubuntu (autodetected by md). Obviously, the directories where the data should appear are empty. I've tried testdisk, gparted and several tools with no luck. I've tried to contact the manufacturer to find out if the SSD are low-level flashed when formatted. The data should be there provided that the unit don't use TRIM operations, right (these are aimed at general OSes, correct me if I'm wrong).

By the moment, I'm copying with dd its raw contents to another unit. Each disk is 800GB.

Anyone know how to make a recover aimed to a certain file type (text, pdf, etc) under GNU/Linux?

Thanks in advance for your valued suggestions.
Jordi

Last edited by jordib; 02-15-2015 at 02:12 PM. Reason: Minor
 
Old 02-15-2015, 07:53 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
I suspect that the device records the video as just binary or "raw data" so testdisk and photorec might not work. Without knowing how the recorder works I would be reluctant to suggest anything. Copying the data is good and hopefully the manufacture will respond with a method to recover your lost video.
 
Old 02-15-2015, 07:55 AM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,333

Rep: Reputation: Disabled
SSD drives work differently from ordinary hard drives. When the drives/array was reformatted, the OS probably sent a huge number of "trim" commmands to both drives, telling them that all the sectors previously allocated to various files are no longer in use.

That means the drive can ignore the contents of those sectors when another sector in the same erase block has to be rewritten, which increases performance, but it also means the drive may choose to return a fake response containing only zeroes to any read request for those sectors.

Some drives do this, others don't; it all depends on the firmware. If you can't find any data using tools like TestDisk or PhotoRec, that indicates pretty strongly that only zeros are being returned. If so, the dd operation is likely to result in an almost completely blank destination disk.

You could try reading a few random sectors from the beginning of the array with dd (or read directly from one of the array members with hdparm); you should not have to try many sectors before seeing random data. If you keep getting sectors that are all zeroed-out, you will need to contact the drive manufacturer for further advice.
 
Old 02-15-2015, 02:10 PM   #4
jordib
Member
 
Registered: Apr 2008
Distribution: Debian
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
the dd operation is likely to result in an almost completely blank destination disk
It is the case with these Intel SSD S3500 series, fake response containing zeroes.

Thanks for your help.
 
  


Reply

Tags
raid, recovery, ssd, testdisk, undelete


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lenovo u410 dual boot - RAID0 SSD lesorsier Linux - Laptop and Netbook 2 04-16-2013 01:22 AM
Looking for Linux file system performance tuning tips for LSI 9271-8i + 8 SSD's RAID0 RJ0 Linux - Server 0 02-02-2013 11:44 PM
Installation issue for dual booting on onboard raid0 DaxxTrias Slackware 3 01-25-2010 09:59 PM
Mounting my raid0 array with a recovery CD lowpro2k3 Slackware 1 07-22-2005 05:55 PM
Trouble with HD and software raid0 RC_ Linux - Hardware 0 08-07-2003 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration