No video

Linux Data Recovery from failing M.2 NVMe SSD | LVM XFS dd_rescue losetup kpartx

  Рет қаралды 4,287

Art of Server

Art of Server

Күн бұрын

The M.2 SSD in my laptop failed and so I'm going to attempt to recover some of the data off the failed Intel 600P NVMe SSD. I thought this would be a good video to share with you guys so that if you're ever in a situation where you need to recover data off a failed drive, this video would be helpful to you. In my case, the SSD has partitions, and one of them is managed with Linux LVM, and so I have to unravel all of that to get access to my XFS file systems.
I describe the story behind the failed drive, so if you just want to skip ahead to the actual data recovery steps, either jump to a 8:15 for an overview of the process, or jump straight to 13:29 where I begin the process of data recovery.
Timestamps:
0:00 - Story about my failing Intel 600P NVMe M.2 SSD
4:06 - Installing the NVMe M.2 SSD into USB3 adapter
5:07 - I'm no data recovery specialist!
6:56 - Describing my setup for recovery
8:15 - Visual Overview of Data Recovery Process
13:29 - Data Recovery Step 1: Using dd_rescue to create an image of the failing SSD
20:50 - The importance of working on a copy of your image file
22:19 - Data Recovery Step 2: Mapping loop logical device to image file
23:41 - The importance of removing logical volume group name conflicts associated with the original SSD
25:25 - Data Recovery Step 3: Mapping partitions to logical block devices
26:27 - Data Recovery Step 4: Activating the LVM volume group on partition 3
27:21 - Data Recovery Step 5 (last): Mounting the corrupted XFS file systems - SUCCESS!
31:28 - How to undo all the previous steps
32:54 - Wrap-up
If you'd like to support this channel, please consider shopping at my eBay store: ebay.to/2ZKBFDM
eBay Partner Affiliate disclosure:
The eBay links in this video description are eBay partner affiliate links. By using these links to shop on eBay, you support my channel, at no additional cost to you. Even if you do not buy from the ART OF SERVER eBay store, any purchases you make on eBay via these links, will help support my channel. Please consider using them for your eBay shopping. Thank you for all your support! :-)
#artofserver #datarecovery #ddrescue #losetup #kpartx

Пікірлер: 16
@SheeplessNW6
@SheeplessNW6 Жыл бұрын
Probably worth pointing out that "dd_rescue" and "ddrescue" are two different tools. They serve the same purpose, and obviously have a lot in common, but the flags are different, which might trip someone up if they have "ddrescue" and think it's the same as the tool used in this video.
@ArtofServer
@ArtofServer Жыл бұрын
Very good point. Thanks for mentioning that and I'm going to pin this comment at the top.
@lpseem3770
@lpseem3770 Жыл бұрын
I often use dd_rescue to do exact opposite - wipe out as much data, as I could on failed spinning hard drives before send to recycling. It can take days to complete, but it is totally worth it.
@vinatron8075
@vinatron8075 Жыл бұрын
Funny thing I was just working on some data recovery myself! The first instance was a misbehaving flash drive that recovery went easy it was just a problem with windows. Second recovery project still a WIP is recovering data from a Optain model which was setup in a RST pair if you could do a video on this that would be great help if not no worries. Third project is recovering the alternate SE drive on my z12 BC Mainframe which is critical because the drive from the laptop is like the BIOS of the machine thankfully the primary is safe so I have that but I’m going to work on recovering the alternate SE.
@ArtofServer
@ArtofServer Жыл бұрын
What's going on with the Optane in RST? I believe Linux LVM can understand RST, so I would look at using that if needed.
@vinatron8075
@vinatron8075 Жыл бұрын
@@ArtofServer I replaced the module in a HP laptop the person would like me to try and recover some of their documents but not a big deal if I can’t. It had windows 11 installed on it previously and I couldn’t get it to mount to fix the boot process no matter what I did I couldn’t get windows to mount it in the system. So I replaced it and the client is happy with this so far however they had some documents that they said weren’t extremely important but they would like an attempt at removing them. So I got it to show up in Linux but it shows up as a single device and parted shows it as a RST member and I am unable to mount it and inspect the data further. That’s where I’m stuck not sure if the system has to support RST because I put it in an HP workstation z230 that doesn’t appear to have RST in the UEFI. This is kinda the current state of things any details you would like I can get when I get back on campus.
@billycroan2336
@billycroan2336 9 ай бұрын
you can make your losetup readonly as well to protect the image file
@ArtofServer
@ArtofServer 9 ай бұрын
good point. are you binging my channel? :-)
@billycroan2336
@billycroan2336 9 ай бұрын
@@ArtofServer hahaha BUSTED! you have some good stuff, and give me hope I can whip my prehistoric LSI cards into shape without having to drive into the datacenter
@TheTrulyInsane
@TheTrulyInsane Жыл бұрын
How many hard drives do you own and you had no backup?? 😮
@ArtofServer
@ArtofServer Жыл бұрын
I don't really bother to backup all my laptop computers and I don't leave anything critical on them. anything that is important is always stored on my storage server which gets backed up regularly and in multiple locations.
@MatthewHowle
@MatthewHowle Жыл бұрын
losetup -P / --partscan can replace running "kpartx"
@ArtofServer
@ArtofServer Жыл бұрын
That's awesome! I didn't know losetup had that option! Thanks for pointing that out!
@laneromel5667
@laneromel5667 Жыл бұрын
Everybody forgets to backup once.
@asmith5488
@asmith5488 Жыл бұрын
If you have data ona magic FAILED situation I would be interested ( failed means tada no errors 15 different enclosures and not being recognized...) 1tb=1gb .... greatest rick ever pulled was making eletronic NVME with CRAP DRIVER only made to work with MICROTRASH AND CRAPPLE SHIT OS
All of our data is GONE!
22:58
Linus Tech Tips
Рет қаралды 9 МЛН
How i burn in and test large quantities of hard drives in Linux
23:21
UNO!
00:18
БРУНО
Рет қаралды 4,6 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 60 МЛН
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 79 МЛН
Crucial 500GB SSD Drive Repair. What failed?
14:24
NorthridgeFix
Рет қаралды 97 М.
M.2 NVME SSD Drive Repair - Is data Recovery possible?
16:38
NorthridgeFix
Рет қаралды 197 М.
How to select SAS cables
32:54
Art of Server
Рет қаралды 88 М.
Data Recovery Tutorial - Getting started with DDRescue and TestDisk
17:04
M.2 NVMe SSD Explained - M.2 vs SSD
6:58
PowerCert Animated Videos
Рет қаралды 3,3 МЛН
New Ultra Fast 48TB SSD RAID for Editing our Slow Mo
10:46
The Slow Mo Guys 2
Рет қаралды 273 М.
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,6 МЛН
How I installed the HARDEST operating system
34:40
Bog
Рет қаралды 289 М.
Gentoo Linux on an iBook G4! (ft. Maid Outfit)
1:22:36
WindowsG Electronics
Рет қаралды 62 М.
Data Recovery: Hard Drive Platter Swap in Our Lab!
36:05
Louis Rossmann
Рет қаралды 1,4 МЛН
UNO!
00:18
БРУНО
Рет қаралды 4,6 МЛН