Hello,
Any file system experts here?
The reason for asking is I am in the process of moving my digital home
office from 13 year old HW to brand new HW and want to do it right from
the outset.
On the old machine / and /home are btrfs partitions. This has worked flawlessly as far as I know.
Virtual disks live on a separate ext4 partition. I don't remember why I
made this 'design choice'.
The old machine has HDDs and the new a 1 TB SSD (for now).
Is there any reason for not having virtual disks in a folder under /home using btrfs on the new machine?
TIA
/Martin
Hello,
Any file system experts here?
The reason for asking is I am in the process of moving
my digital home office from 13 year old HW to brand new
HW and want to do it right from the outset.
On the old machine / and /home are btrfs partitions. This
has worked flawlessly as far as I know.
Virtual disks live on a separate ext4 partition. I don't
remember why I made this 'design choice'.
The old machine has HDDs and the new a 1 TB SSD (for now).--- Synchronet 3.21d-Linux NewsLink 1.2
Is there any reason for not having virtual disks in a
folder under /home using btrfs on the new machine?
TIA
/Martin
On 2023-12-03, Martin Sch||||n <martin.schoon@gmail.com> wrote:
Hello,
Any file system experts here?
The reason for asking is I am in the process of moving
my digital home office from 13 year old HW to brand new
HW and want to do it right from the outset.
On the old machine / and /home are btrfs partitions. This
has worked flawlessly as far as I know.
Virtual disks live on a separate ext4 partition. I don't
remember why I made this 'design choice'.
What do you mean by "virtual disks"
Where is your backup? (It does not need to be on the SSD since it is,
one hopes, rarely used, and you want it at the least on other disk from
you primary so that if you primary dies,your backup does not die with
it-- it could of course by an a different computer, or on a pluging hard drive, or even on a bunch of usb sticks).
Virtual disks live on a separate ext4 partition. I don't...
remember why I made this 'design choice'.
Is there any reason for not having virtual disks in a
folder under /home using btrfs on the new machine?
"Disk image file" is maybe better than "virtual disk"
I currently use three USB HDDs for backup. I take backup regularly and
cycle through those disk. Hence, I can go back three steps if need be.
/home and the partition where the virtual machine disk images live are
backed up. I can always re-install the OS if / goes belly up.
/Martin--- Synchronet 3.21d-Linux NewsLink 1.2
On 3 Dec 2023 12:06:06 GMT, Martin Sch||||n wrote:
Hello,
Any file system experts here?
The reason for asking is I am in the process of moving my digital home
office from 13 year old HW to brand new HW and want to do it right from
the outset.
On the old machine / and /home are btrfs partitions. This has worked
flawlessly as far as I know.
Virtual disks live on a separate ext4 partition. I don't remember why I
made this 'design choice'.
The old machine has HDDs and the new a 1 TB SSD (for now).
Is there any reason for not having virtual disks in a folder under /home
using btrfs on the new machine?
TIA
/Martin
Martin,
It really is a personal preference, I have a 1 TB NVME SSD and have the exact setup you have, @ and @home on a btrfs partition and all my VM, Torrent Files, Movies etc on a ext4 partition. I use virtualbox and I use it's snapshot feature so I do not need btrfs to do snapshots of my vm's, plus ext4 handles changes made in the vm from the guest system in a more efficient manner and btrfs.
Like I said it is a personal preference.
On 2023-12-03, Killadebug <killadebug@mouse-potato.com> wrote:<snip>
On 3 Dec 2023 12:06:06 GMT, Martin Sch||||n wrote:
Hello,
Any file system experts here?
The reason for asking is I am in the process of moving my digital home
office from 13 year old HW to brand new HW and want to do it right from
the outset.
Is there any reason for not having virtual disks in a folder under /home >>> using btrfs on the new machine?
TIA
/Martin
Martin,
It really is a personal preference, I have a 1 TB NVME SSD and have the
exact setup you have, @ and @home on a btrfs partition and all my VM,
Torrent Files, Movies etc on a ext4 partition. I use virtualbox and I use
BTRFS will fragment quite heavily under that kind of workload. You
can turn COW off, either on the whole filesystem by mounting with the 'nodatacow' option, or adding the "C" attribute via chattr on the
file. I don't recommend this as data guarantees go out the window.
I find XFS and EXT4 perform will for virtual images, with EXT4
probably having a slight edge for single disk setups.
Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> writes:
Virtual disks live on a separate ext4 partition. I don't...
remember why I made this 'design choice'.
Is there any reason for not having virtual disks in a
folder under /home using btrfs on the new machine?
If by "virtual disk" you mean a disk image that is mounted as a loop
device: I have read that copy-on-write file systems like btrfs perform significantly slower than in-place-overwrite file systems for these
kinds of files, at least if the image is not just used as a read-only
image.
OTOH, with ext4, you may have to perform an fsync() after every write
to this image file, or you may find your image to be corrupted after
power loss or somesuch, and the ext4 maintainer will tell you that you performed too few fsync()s. And whether ext4 with all these fsync()s
is still faster than btrfs is not clear.
- anton
Speed is not the only parameter and, as mentioned in another post, my
use of virtual machines is not demanding. I have been OK with the
performance on my old HW. I am more concerned with things going
pear-shaped and ease of maintenance. One issue I have already
experienced with my old set-up is its lack of flexibility. Where do
I go when that partition starts to fill up?
Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= <martin.schoon@gmail.com> writes:
Speed is not the only parameter and, as mentioned in another post, my
use of virtual machines is not demanding. I have been OK with the >>performance on my old HW. I am more concerned with things going
pear-shaped and ease of maintenance. One issue I have already
experienced with my old set-up is its lack of flexibility. Where do
I go when that partition starts to fill up?
I guess that, given that your setup was fast enough on HDDs, you can
use the images on btrfs on an SSD.
- anton
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 62:43:45 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,046 |