Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Jan 23, 2018 12:46 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Tue Aug 14, 2012 12:31 am 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
Hi!
bs: this HDD has about 10 years of family fotos and video history...I do need it back :-)

I had this NAS for a long time and after some spikes in the power it got frozen...following all diagnostics it indicates E06 - HDD failure.
I removed the HDD from its case and I am able to acess it through a USB SATA adapter. After several tests in Windows 7 and Ubuntu, I could only confirm that the HDD has no physicall failure SMART shows all is fine) and the data inside it is apparently saved. However it indicates that there is no partition tables.
I read dozen of similar cases but none for this specifc model, I am not an expert on Linux however I had quite good experience from the good old DOS days and can navigate quite comfortable in HDD recovery tools.
Before I do any mistake, I need to be sure which steps I should follow that will make my data accessible back. As sooner I can access the data it had and saved it in a backup, I would manage by myself in how to make it works back again as NAS.

My priority now is really only find a way to read the data that should be there yet.

Should I connect to original controller and use a crossover ethernet cable to access it and create the table with lsupdater?
Is better to keep it in the USB adapter and rebuild the partition table using any Ubuntu or WIndows tools?

Just indicate a way my data would not be lost.


Top
   
PostPosted: Tue Aug 14, 2012 12:17 pm 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Get a Linux Live CD which supports XFS out of the box.
E.g. SystemRescueCD.
Your data is on the last partition and the partition should be
of type MBR (NOT GPT).
If even SystemRescueCD can not find the partition boundaries,
try one of the recover tools, which do not need partition tables,
but recover data via harddisk sectors independend from any
partition table.
There are some commercial and some free tools for this.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Tue Aug 14, 2012 4:17 pm 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
Thanks Kenat!

OK. I just installed Ubuntu in a small partition of my notebook..also wants to learn more on it.

So, confirming what I said before, I run Gparted and it indicates /dev/sd6 has no partitions on it and its size is 931.51GB
System files: not allocated
first sector: 0
last sector: 1.953.525.168
Warning:
/dev/sdc unrecognizable disk label

I have run the TestDisk as I saw in some posts and it found the following partitions:
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121602 255 63
Partition Start End Size in sectors
>* Linux 0 1 1 124 254 63 2008062
P Linux 125 0 1 747 254 63 10008495
L Linux Swap 748 1 1 872 254 63 2008062
L Linux 873 1 1 121477 254 63 1937519262


Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continuegerd@Mamuskas-lenovo:~$
EXT3 Large file Sparse superblock, 1028 MB / 980 MiB

Looks like apparently they are of size:
- 980MB
- 5GB
- 980MB
- 946.5GB

So, should I create a partition XFS on a MBR type using the last partition reported instructions?

obs.: Would be those tools I have on Ubuntu enough or should I really use the SystemRescueCD Live?


Top
   
PostPosted: Wed Aug 15, 2012 9:01 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
DO NOT USE REGULAR PARTITIONING TOOLS!
Use tools, which are meant for recovering "lost" partitions.
TestDisk is one probable candidate for this:
http://www.cgsecurity.org/wiki/TestDisk
You can get SystemRescueCD from this source:
http://www.sysresccd.org/SystemRescueCd_Homepage

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Wed Aug 15, 2012 1:39 pm 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
I run TestDisk from the SystemRescueCD and asked it to Write after the search was end.

The new partition table is as bellow, in the first partition (hdc1) I can find the files
hddrootfs.buffalo.updated
initrd.buffalo
u-boot.buffalo.updated
uImage.buffalo

But in the larger partitition, I can only find two directories:
-Share
-Spool

Since I am using a USB case from a Seagate drive to test, have the drive deleted all my original file structure like if I was upgrading drives?

Any way to have the original files hidden somewhere?

Image


Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63
Current partition structure:
Partition Start End Size in sectors

1 * Linux 0 1 1 124 254 63 2008062
2 P Linux 125 0 1 747 254 63 10008495
3 E extended LBA 748 0 1 121477 254 63 1939527450
5 L Linux Swap 748 1 1 872 254 63 2008062
X extended 873 0 1 121477 254 63 1937519325
6 L Linux 873 1 1 121477 254 63 1937519262


Top
   
PostPosted: Wed Aug 15, 2012 3:33 pm 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
Quick update....since first partition looks fine, I did reinstall in the original NAS board and after a firmware update (not sure why it has done that) the unit went up.

Menus were originally in japanese and I had to change it to english.

NAS is running now and I can access the web interface, however, I can't find any of my old share folders :-(

What went wrong?


Top
   
PostPosted: Wed Aug 15, 2012 3:50 pm 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
I hope, you specified "Noformatting=1".
If you can't find any files, use one of the recovering
tools, which can recover deleted files on XFS file
systems.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Wed Aug 15, 2012 3:56 pm 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
I didn't ask to re-install the firmware now. I tried to do that only when it fails from the first time but it had not worked.

I definitively had not selected formatting for sure.

Since the files were missing from the the moment I rebuild the partition, it was not due the firmware re-install...I will remove it again from its original case and put it back on my USB adapter and try a recovery tool using SystemRescueCD.

Will post the results and thanks for the help until now.


Top
   
PostPosted: Sat Feb 23, 2013 11:50 am 
Offline
Newbie

Joined: Sat Feb 23, 2013 11:21 am
Posts: 9
I have a similar issue so I am interested in your outcome. Any news?


Top
   
PostPosted: Sun Feb 24, 2013 2:47 pm 
Offline
Newbie

Joined: Tue Aug 14, 2012 12:09 am
Posts: 6
Not yet... I haven't had time to get another hd that has he same size to use it as a destination on my recovery.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited