Synology missing partition Topic is solved

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
kostrzu
Posts: 5
Joined: 21 Apr 2012, 18:34

Synology missing partition

#1 Post by kostrzu »

Hi To All

Durring migrating my disk to new synology device my data partition get deleted.
No format on hard disk was preformed.

Now i have in my system only system partitions.

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 311 2490240 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary
/dev/sda2 311 572 2097152 fd Linux raid autodetect
Partition 2 does not end on cylinder boundary

So I'm looking for partition sda3. - with my data.

Can You help me with this ?

Greetings. and waiting for Your help.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Synology missing partition

#2 Post by remy »

Please give feedback :

Code: Select all

sudo mdadm --examine /dev/sda1
sudo mdadm --examine /dev/sda2

kostrzu
Posts: 5
Joined: 21 Apr 2012, 18:34

Re: Synology missing partition

#3 Post by kostrzu »

this is result:


DiskStation> mdadm --examine /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 0.90.00
UUID : 72bafc43:c15354b3:3017a5a8:c86610be (local to host DiskStation )
Creation Time : Sat Jan 1 01:00:03 2000
Raid Level : raid1
Used Dev Size : 2490176 (2.37 GiB 2.55 GB)
Array Size : 2490176 (2.37 GiB 2.55 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0

Update Time : Sat Apr 21 23:08:54 2012
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : 5dddbeff - correct
Events : 440


Number Major Minor RaidDevice State
this 0 8 1 0 active sync /dev/hda1

0 0 8 1 0 active sync /dev/hda1
1 1 0 0 1 faulty removed
DiskStation> mdadm --examine /dev/sda2
/dev/sda2:
Magic : a92b4efc
Version : 0.90.00
UUID : 4d1b0aeb:d365c075:3017a5a8:c86610be (local to host DiskStation)
Creation Time : Sat Jan 1 01:00:03 2000
Raid Level : raid1
Used Dev Size : 2097088 (2048.28 MiB 2147.42 MB)
Array Size : 2097088 (2048.28 MiB 2147.42 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1

Update Time : Sat Apr 21 07:58:56 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 4a49617d - correct
Events : 23


Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2

0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/hdb2

please help me help....

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Synology missing partition

#4 Post by remy »

scanning with testdisk, option : cylinder boudary-> no (or perhaps alignement-> no depending version) you should in quicksearch or deepersearch recover an md3 with another linux partition.
Don't "write", i just need to diagnoze first.

Edit : will be disconneted soon for 24 hours. Please be patient. Precipitation is not good in datarecovery.

kostrzu
Posts: 5
Joined: 21 Apr 2012, 18:34

Re: Synology missing partition

#5 Post by kostrzu »

Can You please give me step by step instructions. What to do? Next. Should I remove disk from Synology and connect to PC?
Please

Greetings from Poland.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Synology missing partition

#6 Post by remy »

Thought you already removed it from the NAS. I need linux command line so if you remove it from synology, connect on Linux OS.
Did you have only one disk in the first device, or was it a real raid1 ?

kostrzu
Posts: 5
Joined: 21 Apr 2012, 18:34

Re: Synology missing partition

#7 Post by kostrzu »

On the first device that was only one disk. That was one bay unit.
So I need to disconnect disk from synology.
Then coonect to pc running Linux OS? ( can you recomend any)
Then i can try to give You ssh connection.?

Let me know if this steps are right.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: Synology missing partition

#8 Post by remy »

kostrzu wrote:On the first device that was only one disk. That was one bay unit.
So I need to disconnect disk from synology.
Best solution is to run PC with linux and connect your disk inside your computer (quickest).
kostrzu wrote: Then coonect to pc running Linux OS? ( can you recomend any)
Ubuntu is good, and user friendly.
kostrzu wrote: Then i can try to give You ssh connection.?
I can try to repair from ssh connection but :
- I am professional in datarecovery and if I do the job, it's not free. If I help you, there in the forum, it's usefull for everyone and it's free because helping community. If you choose first option, contact me by Private Message or by mail through my website.
- I won't be connected until tonight or tomorrow.

After connecting your disk and launching gnu/linux,
1/ Verify what's the name of your disk with

Code: Select all

sudo sfdisk -luS
2/ Download and uncompress tastdsik-6.14, copy testdisk_static in your personnal folder
3/ Launch

Code: Select all

sudo ~/testdisk_static /dev/yourdisk
4/ Change option to "alignement :no"
5/ Select table intel and perform simple Analyse / Quicksearch / Deepersearch.
6/ Give feedback about what testdisk found on these steps
7/ Do not use "WRITE" because it's only for diagnose purpose.

kostrzu
Posts: 5
Joined: 21 Apr 2012, 18:34

Re: Synology missing partition

#9 Post by kostrzu »

Hi to all
Problem solved by remmy usinng ssh connection.
This was perfect i have my data back.
This guy is perfect.!

Greetings and please close this post as solved.

Artur from Poland

Locked