Hello to all, i'm new here. Just started with Linux (Mint) some month ago. Now i have a question about data rescue.
Let me start by the beginning. A college of mine has a drown NAS, a WD My Cloud. The NAS-Controller seems to be broken, but the harddisk is still working. Now i connected the harddisk to one of my Linux computers, first via USB, but that didn't worked. The Harddisk is to big (4Tb) for the controller, so i connected it directly to the mainboard. And here it went a little wrong, somehow the bootsector got rewritten and the partition shows up as MS-Data instead of ext3.
This is how it looks like:
Using testdisk i was able to see the data after i changed the type from MS-Data to ext3. Also copied lots of data from it using testdisk. But somehow it makes a read-error in a folder called "fotos/2019" and begins over and over.
Testdisk before change:
Testdisk after change.
But it won't write the change to the disk, it just use it for recovery.
So i thought i just could mount the partition and use a tool like rsync to copy the rest. But how can i mount a partition containing a different file system? I tried this, but that tells me the Superblock is corrupt.
Let me start by the beginning. A college of mine has a drown NAS, a WD My Cloud. The NAS-Controller seems to be broken, but the harddisk is still working. Now i connected the harddisk to one of my Linux computers, first via USB, but that didn't worked. The Harddisk is to big (4Tb) for the controller, so i connected it directly to the mainboard. And here it went a little wrong, somehow the bootsector got rewritten and the partition shows up as MS-Data instead of ext3.
This is how it looks like:
Code:
Festplatte /dev/sda: 3,65 TiB, 4000787030016 Bytes, 7814037168 Sektoren
Festplattenmodell: WDC WD40EFRX-68W
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: AA57E45C-3311-41A5-A289-5E56129BCE23
Gerät Anfang Ende Sektoren Größe Typ
/dev/sda1 1032192 5031935 3999744 1,9G Linux RAID
/dev/sda2 5031936 9031679 3999744 1,9G Linux RAID
/dev/sda3 30720 1032191 1001472 489M Microsoft Basisdaten
/dev/sda4 9428992 7814035455 7804606464 3,6T Microsoft Basisdaten
/dev/sda5 9031680 9226239 194560 95M Microsoft Basisdaten
/dev/sda6 9226240 9422847 196608 96M Microsoft Basisdaten
/dev/sda7 9422848 9424895 2048 1M Microsoft Basisdaten
/dev/sda8 9424896 9428991 4096 2M Microsoft Basisdaten
Using testdisk i was able to see the data after i changed the type from MS-Data to ext3. Also copied lots of data from it using testdisk. But somehow it makes a read-error in a folder called "fotos/2019" and begins over and over.
Testdisk before change:
Code:
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/sda - 4000 GB / 3726 GiB - CHS 486401 255 63
Partition Start End Size in sectors
> 3 P MS Data 30720 1032191 1001472 [primary]
1 P Linux Raid 1032192 5031935 3999744 [primary] [md1]
2 P Linux Raid 5031936 9031679 3999744 [primary] [md1]
5 P MS Data 9031680 9226239 194560 [primary]
6 P MS Data 9226240 9422847 196608 [primary]
7 P MS Data 9422848 9424895 2048 [primary]
8 P MS Data 9424896 9428991 4096 [primary]
4 P MS Data 9428992 7814035455 7804606464 [primary]
Testdisk after change.
Code:
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/sda - 4000 GB / 3726 GiB - CHS 486401 255 63
Partition Start End Size in sectors
3 P MS Data 30720 1032191 1001472 [primary]
1 P Linux Raid 1032192 5031935 3999744 [primary] [md1]
2 P Linux Raid 5031936 9031679 3999744 [primary] [md1]
5 P MS Data 9031680 9226239 194560 [primary]
6 P MS Data 9226240 9422847 196608 [primary]
7 P MS Data 9422848 9424895 2048 [primary]
8 P MS Data 9424896 9428991 4096 [primary]
> 4 P Linux filesys. data 9428992 7814035455 7804606464 [primary]
But it won't write the change to the disk, it just use it for recovery.
Code:
>[ Type ] [Superblock] [ List ] [Image Creation] [ Quit ]
Change type, this setting will not be saved on disk
So i thought i just could mount the partition and use a tool like rsync to copy the rest. But how can i mount a partition containing a different file system? I tried this, but that tells me the Superblock is corrupt.
Code:
roman@roman-PH67A-D3-B3:~$ sudo mount -t ext3 /dev/sda4 /mnt/dump
mount: /mnt/dump: Falscher Dateisystemtyp, ungültige Optionen, der Superblock von /dev/sda4 ist beschädigt, fehlende Kodierungsseite oder ein anderer Fehler.