xfs
[Top] [All Lists]

Re: Mount: Structure needs cleaning

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: Mount: Structure needs cleaning
From: Tom Mason <tom_mason@xxxxxx>
Date: Tue, 14 Oct 2014 17:43:25 +0100
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, Brian Foster <bfoster@xxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20141014183804.2baa8dd5@xxxxxxxxxxxxxxxxxxxx>
References: <4ddef393-ad9e-49a1-80d7-9c29bcd74c8f@xxxxxx> <20141013220940.GE17506@dastard> <EC9978C1-65B4-48B8-9C3D-980341A752E8@xxxxxx> <20141014125506.4bbeaefd@xxxxxxxxxxxxxxxxxxxx> <7630F174-D8AF-412D-8BBA-C3B1F7E05B9F@xxxxxx> <20141014183804.2baa8dd5@xxxxxxxxxxxxxxxxxxxx>



> On 14 Oct 2014, at 17:38, Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> wrote:
> 
> Le Tue, 14 Oct 2014 16:46:39 +0100
> Tom Mason <tom_mason@xxxxxx> Ãcrivait:
> 
>>> To copy the disk on another one, you can use ddrescue or dd with
>>> "noerror" option.
>>> -----------------------------------------  
>> Thanks again!
>> Can I create an image on a new NAS drive such as a seagate 3tb
>> 'Central network attached storage NAS' STCG3000200 without
>> interfering with its capabilities as a NAS drive?
> 
> Yes of course, simply make a file image on the shared volume :
> 
> 
> dd if=/dev/sdb2 noerror of=/mountpoint/mynas/disk1TB.img
> 
> Then you can run xfs_repair on the image file:
> 
> xfs_repair -f /mountpoint/mynas/disk1TB.img
> 
> Or run photorec on it 
> 
> photorec /mountpoint/mynas/disk1TB.img
> 
> 
Thanks Emmanuel! Much appreciated : ) I'll order a new NAS and might have some 
more questions when I get to work on it if thats ok?
Thanks again for all the help Dave/Brian/Emmanuel!
Tom
<Prev in Thread] Current Thread [Next in Thread>