windows icon indicating copy to clipboard operation
windows copied to clipboard

[Feature]: Thin provisioning disks

Open EHRETic opened this issue 1 year ago β€’ 9 comments

Is your proposal related to a problem?

The only problem is backup size because of big Docker volumes 😊 (probably, this feature would be nice on Windows & mac)

Describe the solution you'd like.

The ability to choose between thin provisioning disks and fat ones at VM creation

Describe alternatives you've considered.

Don't know if there is any alternative to consider, either it is feasible, or it is not! πŸ˜‰

Worth a try, thanks in advance

Additional context

An example : 10 GB used but on server's disk, it is taking 256GB :

Capture d’écran 2024-11-18 aΜ€ 18 27 40

EHRETic avatar Nov 18 '24 17:11 EHRETic

You can do this already:

environment:
  DISK_FMT: "qcow2"

kroese avatar Nov 18 '24 17:11 kroese

You can do this already:

environment:
  DISK_TYPE: "qcow2"

Did I miss this? If yes, very sorry!

EHRETic avatar Nov 18 '24 17:11 EHRETic

No problem, its not written in the FAQ.

kroese avatar Nov 18 '24 17:11 kroese

Will be valid for others then, thanks a lot! πŸ˜‰πŸ‘Œ

EHRETic avatar Nov 18 '24 17:11 EHRETic

Extra question, is it valid for several disks?

 environment:
   DISK_TYPE: "qcow2"
   DISK2_TYPE: "qcow2"`

etc...

EHRETic avatar Nov 18 '24 18:11 EHRETic

No.. you can specify only a single type for all disks currently

kroese avatar Nov 18 '24 18:11 kroese

No.. you can specify only a single type for all disks currently

That is fine for me πŸ‘Œ

EHRETic avatar Nov 18 '24 19:11 EHRETic

Mmmhhh, came into this issue (looping error):

2024-11-19T13:35:06.468657342Z ❯ ERROR: Invalid DISK_TYPE specified, value "qcow2" is not recognized!
2024-11-19T13:35:08.250089391Z ❯ Starting Windows for Docker v4.04...
2024-11-19T13:35:08.250110294Z ❯ For support visit https://github.com/dockur/windows
2024-11-19T13:35:08.277349377Z ❯ CPU: 13th Gen Intel Core TM i9 13900H | RAM: 85/94 GB | DISK: 575 GB (xfs) | KERNEL: 5.14.0-503.11.1.el9_5.x86_64...

Any clue, is there any typo?

EHRETic avatar Nov 19 '24 13:11 EHRETic

Yes, sorry I made a typo.

Its not DISK_TYPE but DISK_FMT:

environment:
  DISK_FMT: "qcow2"

kroese avatar Nov 20 '24 13:11 kroese

Yes, sorry I made a typo.

Its not DISK_TYPE but DISK_FMT:

Marvelous, that works, thanks a lot! πŸ‘Œ

EHRETic avatar Nov 20 '24 15:11 EHRETic