K.S. Bhaskar via plug on 29 Oct 2020 06:37:41 -0700


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

Re: [PLUG] Copying files to multiple volumes


Steve –

Yes, at minimal cost, it preserves each file's location on disk, and also simplifies restoring as well as searching for files.

Regards
– Bhaskar

On Thu, Oct 29, 2020 at 2:41 AM Steve Litt <slitt@troubleshooters.com> wrote:
On Wed, 28 Oct 2020 21:33:13 -0400
"K.S. Bhaskar via plug" <plug@lists.phillylinux.org> wrote:

> You can use a boustrophedon-inspired heuristic that will likely give a
> good-enough fit. For two drives, create the same directory hierarchy
> on both drives, and sort the file sizes from largest to smallest.
> Then put the largest file on disk1 in the directory where it belongs,
> the next two on disk 2 in the directories where they belong, the next
> two on disk 1, the next two on disk two, and so on. You can extend
> this heuristic to n drives.

Is the reason for the identical directory structures on each disk to
preserve each file's location on the original?

SteveT

Steve Litt
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug