General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Nov 19, 2017 5:08 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Recover Data
PostPosted: Sun May 13, 2012 2:55 pm 
Offline

Joined: Sun May 13, 2012 2:50 pm
Posts: 2
Hi all,
I have a big problem with my NAS. Actually it doesn't turn on, probably because it is broken.
The NAS was configured in RAID0 and I wont to safe the data that are in the disks.
They seem to work when I link them to the PC but I don't know how to read them. Is there any kind of SW for Windows that lets me read XFS disks? If there isn't I can also use Ubuntu but I don't know how to mount them.

Is there anybody that can help me?
Thank you very much and sorry for my English ;)

byee


Top
 Profile  
 
 Post subject: Re: Recover Data
PostPosted: Mon May 14, 2012 12:07 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6072
Maybe there are Windows tools to read XFS filesystems (UFS explorer can), but I don't think they can handle raid0.
So I'd suggest to use Ubuntu. Ubuntu doesn't support raid either, out-of-the-box, but it's easy to install. Open a terminal, and type (internet access needed)
Code:
sudo apt-get update
sudo apt-get install mdadm
AFAIK it will automagically assemble the raid array, and create a mount icon on the desktop.


Top
 Profile  
 
 Post subject: Re: Recover Data
PostPosted: Sun Jun 03, 2012 8:54 am 
Offline

Joined: Sun May 13, 2012 2:50 pm
Posts: 2
Thanks for the help!
I m trying to make it work but I have some problems

sudo mdadm --assemble /dev/md1 /dev/sda2 /dev/sdb2
and here is everything fine. I create a mount folder

mkdir /mnt/md1

than I mount the raid system
mount /dev/md0 /mnt/md1/ -o ro

but it tells me to specify the filesystem type. So I tried the following code

mount /dev/md0 /mnt/md1/ -o ro -t xfs

but I receive an errore message

mount: wrong fs type, bad option, bad superblock on /dev/md1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


How can I solve this?
Thanks for precious help!


Top
 Profile  
 
 Post subject: Re: Recover Data
PostPosted: Sun Jun 03, 2012 1:51 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6072
Is this a typo?
Quote:
sudo mdadm --assemble /dev/md1 /dev/sda2 /dev/sdb2
...
mount /dev/md0 /mnt/md1/ -o ro


When your assembled device cannot be mounted, it doesn't have a filesystem (swap?), the filesystem is damaged, or the filesystem isn't supported.

You can check if you've got the right partitions by executing
Code:
cat /proc/partitions
/dev/md1 should have the right size. You can check if the filesystem is supported by
Code:
cat /proc/filesystems
Maybe
Code:
blkid /dev/md1
can tell something about the filesystem on /dev/md1.

When everythink is allright here, apparently the filesystem is damaged. You could try to install xfsprogs, and then run
Code:
xfs_repair /dev/md1
But this could cause further damage, so I recommend to first try to get your data back using a recovery tool like PhotoReq (is also in the Ubuntu repository. Despite it's name it can recover *much more* than only pictures) Run PhotoRec on /dev/md1 (or whatever devicenode you used to assemble the array).
PhotoRec won't change the contents of the array.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group