Re: sparse file problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/23/07, steve y <steveymr@xxxxxxxxx> wrote:
> Hi,
>
> I have a 2TB sparse file on a xfs partition whose actually size is 2MB. I
> want to copy it to different location on the same partition.
> I am using rsync -S to do so, however it takes very long to copy. Does a
> sparse-aware file copy utility exist. If not, can i write one using xfsctl.
> I need some pointers in that direction.
>
> Thanks,
> Steve
>

Your OT, but I would expect
    xfsdump -s <source-pathname> - <filesystem>  | xfsrestore -
<destination-pathname>
to be able to do that for you.

I did not verify the syntax, but this should give you a good start.

Greg
-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux