[Top] [All Lists]

Re: Mount: Structure needs cleaning

To: Tom Mason <tom_mason@xxxxxx>
Subject: Re: Mount: Structure needs cleaning
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Tue, 14 Oct 2014 18:38:04 +0200
Cc: Dave Chinner <david@xxxxxxxxxxxxx>, Brian Foster <bfoster@xxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <7630F174-D8AF-412D-8BBA-C3B1F7E05B9F@xxxxxx>
Organization: Intellique
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>
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

Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02

<Prev in Thread] Current Thread [Next in Thread>