LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] copying windows filesystems under linux

[ILUG] copying windows filesystems under linux

Andrew McGill list2008 at lunch.za.net
Tue Sep 9 22:59:17 IST 2008


On Tuesday 09 September 2008 22:28:14 Lisa Muir wrote:
> On Tue, Sep 9, 2008 at 3:21 PM, Kingsley G. Morse Jr. <change at nas.com> 
wrote:
> > I had similar problems for years and seem to have
> > found a solution.
> >
> > I recently switched to running Windows under qemu,
> > which lets Windows access just one linux file
> > called a "disk image".
> >
> > Disk images encapsulate Windows file system
> > attributes, can be backed up with normal linux
> > tools, and mounted for direct linux access if
> > necessary.
>
> Nice... except in todays example where I copied an ntfs file system
> from one disk to another, it was because disk a was dying badly, read
> errors, and I was doing recovery. I dont like messing with windows, so
> I'll pull the filesystem and deploy it on a new disk, and tell the
> user "its exactly as you had it, don't blame me if something aint
> working". In the odd case, you can't recover portions of the system,
> and I'll go so far as to install windows on a new disk, and overlay
> what i can recover from the dying disk.
>
> For straight backup purposes, DD'ing partitions / drives is a good way
> out, but a killer for time nowadays when you're dealing with users who
> have maybe 10G of data on a 500G drive, and you gotta dd read the
> whole 500G... pipe it through gzip and endup with a nice 5G compressed
> dd file.
>
> For recovery from dying disks, if you've ever tried to do it using
> windows tools they'll hit some bloody temporary internet file which
> has a filename too long, and the whole process stops, doing it with
> linux is sweet, just come back and look at the list of errors, and
> deal with them one by one.
>
> I used to use cp -r and copy out entire directory structures, then
> people started bitchin about how on recovered systems life it seems
> began at the date and time of my recovery, ie, all the timestamps were
> messed up.
I think you are looking for cp -a -- mostly.  It will copy the timestamp and 
posix ACL's.  I don't know how far this will go towards helping the ACL 
problems, since it's not clear to me how ntfs-3g exposes NTFS ACL's.

&:-)



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell