Page 1 of 1

Synology missing partition

Posted: 21 Apr 2012, 18:43
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.

Re: Synology missing partition

Posted: 21 Apr 2012, 21:17
by remy
Please give feedback :

Code: Select all

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

Re: Synology missing partition

Posted: 21 Apr 2012, 22:12
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....

Re: Synology missing partition

Posted: 21 Apr 2012, 22:21
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.

Re: Synology missing partition

Posted: 21 Apr 2012, 22:28
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.

Re: Synology missing partition

Posted: 22 Apr 2012, 07:59
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 ?

Re: Synology missing partition

Posted: 22 Apr 2012, 08:11
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.

Re: Synology missing partition

Posted: 22 Apr 2012, 08:49
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.

Re: Synology missing partition

Posted: 23 Apr 2012, 23:59
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