Mount: Structure needs cleaning

Emmanuel Florac eflorac at intellique.com
Tue Oct 14 11:38:04 CDT 2014


Le Tue, 14 Oct 2014 16:46:39 +0100
Tom Mason <tom_mason at me.com> é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


-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------



More information about the xfs mailing list