You are not logged in.

#1 2020-10-11 00:08:45

ubunchu
Member
Registered: 2012-05-01
Posts: 181

Join / merge free spaces of Hard Drives into one file

Hi,
I don't even know how to google this.
I have 3 hard drives
Drive 1: 250gb free - ntfs
Drive 2: 200gb free - ext4
Drive 3: 50gb free - ext 4 - another pc on LAN (usually I use sshfs to store stuff there)

Is it possible to create like a file on each, bind each other, and mount somewhere?
My objective is to create 1 file of 500GB size without moving files, resizing partitions, buying more hard drives, nor etc.
Is it possible?

Thank you.


Don't forget to mark as [SOLVED].

Offline

#2 2020-10-11 00:24:10

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: Join / merge free spaces of Hard Drives into one file

As a theoretical exercise you could create an empty file on filesystem occupying the space you want,  convert the files to block devices with losetup,  then follow LVM to create a single filesystem spanning the three files.

In practice I would never attempt this.

Offline

Board footer

Powered by FluxBB