-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB mirror #18
Comments
I did some benchmarks and the results are as follows (SD card + USB stick):
The percentages were calculated like this: Conclusion:
*With the slowest device as the reference I used a fairly slow and generic USB stick. However, the results show that the performance of the USB stick can be increased fairly well by a fast SD card. The ideal solution would of course be, adding a USB stick that is faster than the SD card so we get a overall performance gain instead of decrease. The only problem is that you can't simply go back to the RAID0 situation. If you want to remove the USB drive from the mirror, you need to boot degraded mode. |
not sure about creating raid1 from single disk after it was created. needs to be tested. what I remember is, that raid1 conf was needed from time of creating the fs, with "dummy" - not existing - device. then, it was possible to add the mirror later. but there are more options to investigate: move /home to another device (so dbs, thumbs, add ons & data) will unload system device. or using other device as cache device (similar to ZFS L2ARC), which is now build in linux kernel, not dependent on fstype. if only would RPI have at least two cores :)) |
Is now has four :)) |
I was wondering if it is possible to use a USB drive as mirror. My experience with ZFS is that you can easily add a device to a ZFS mirror. ZFS will than automatically use the fastest device and sync the other device in the background. This means in ZFS,
I don't know a lot about BTRFS, so i don't now if the same things are possible with BTRFS.
The text was updated successfully, but these errors were encountered: