#57 LibreCMC NAS

Open
opened 1 month ago by balduin · 3 comments
balduin commented 1 month ago

What software packages would I have to install to get a proper NAS (Network Attached Storage) system based on LibreCMC? What are your recommendations?

What software packages would I have to install to get a proper NAS (Network Attached Storage) system based on LibreCMC? What are your recommendations?
RISCI_ATOM commented 1 month ago
Collaborator

It's going to depend upon what your goals are and the hardware you plan on using. There are a few options.

If you plan on using a router with a USB port + USB hard disk, please keep in mind that not all USB ports are good enough for this purpose. Some might not supply enough power to the hard disk or they flake out after a period of time.

It's going to depend upon what your goals are and the hardware you plan on using. There are a few options. * Samba https://openwrt.org/docs/guide-user/services/nas/samba * NFS https://openwrt.org/docs/guide-user/services/nas/nfs.server https://openwrt.org/docs/guide-user/services/nas/nfs_configuration * SSHFS If you plan on using a router with a USB port + USB hard disk, please keep in mind that not all USB ports are good enough for this purpose. Some might not supply enough power to the hard disk or they flake out after a period of time.
pi31415 commented 1 month ago

Also of interest:

https://www.crowdsupply.com/gnubee/personal-cloud-1

Claims libreCMC support.

Also of interest: https://www.crowdsupply.com/gnubee/personal-cloud-1 Claims libreCMC support.
balduin commented 1 month ago
Poster

My objective is to have a high available and distributed storage system. A system which can afford disk failures and/or device failure.

I was thinking of using GnuBee Personal Cloud 1 and 2 (which I both own). They are made as NAS device, specifically with LibreCMC support.

L. D. Pinney (the GnuBee creator) published a short walk through of GnuBee + LibreCMC: https://player.vimeo.com/video/214792981

However, there is not really a lot of documentation on how to use both together. For example, he shows LUKS encrypted devices and hard drive RAIDs. But how do I set them up?

Both GnuBee's (Personal Cloud 1 and 2) support up to 6 disks. I am okay with having one disk reserved for the OS. I would like to configure the remaining disks five disks as Redundant Array of Independent Disks (RAID), but I am not sure what is the best option. Currently, I tend to think RAID 5 or RAID 6 is a good option. However, I never had a RAID system, so I am looking for some advice here. In addition, I would like that the drives use full disk encryption to protect the stored data at rest.

To achieve high availability I would like to replicate the stored data from GnuBee A to GnuBee B. How would I go about replicating them in a local network or even across the internet? I was thinking of using Syncthing or Tahoe-LAFS for that. However, I lack any experience in replicating storage and would be happy getting any advice.

Furthermore, I would like to be able to have multiple user use the system to store files. However, to protect the privacy the no user should be able to read or modify data stored by other users. Or in other words each user should only be able to read and write their own data.

This objective could be achieved by using Client-side encryption, which would also have the benefit of offloading the encryption work to the probably more powerful client. The question is what 'client' (or Linux application) can work with up with up to several Tebibyte of encrypted data efficiently?

My objective is to have a high available and distributed storage system. A system which can afford disk failures and/or device failure. I was thinking of using GnuBee Personal Cloud 1 and 2 (which I both own). They are made as NAS device, specifically with LibreCMC support. L. D. Pinney (the GnuBee creator) published a short walk through of GnuBee + LibreCMC: https://player.vimeo.com/video/214792981 However, there is not really a lot of documentation on how to use both together. For example, he shows LUKS encrypted devices and hard drive RAIDs. But how do I set them up? Both GnuBee's (Personal Cloud 1 and 2) support up to 6 disks. I am okay with having one disk reserved for the OS. I would like to configure the remaining disks five disks as Redundant Array of Independent Disks (RAID), but I am not sure what is the best option. Currently, I tend to think RAID 5 or RAID 6 is a good option. However, I never had a RAID system, so I am looking for some advice here. In addition, I would like that the drives use full disk encryption to protect the stored data at rest. To achieve high availability I would like to replicate the stored data from GnuBee A to GnuBee B. How would I go about replicating them in a local network or even across the internet? I was thinking of using [Syncthing](https://syncthing.net/) or [Tahoe-LAFS](https://tahoe-lafs.org/trac/tahoe-lafs) for that. However, I lack any experience in replicating storage and would be happy getting any advice. Furthermore, I would like to be able to have multiple user use the system to store files. However, to protect the privacy the no user should be able to read or modify data stored by other users. Or in other words each user should only be able to read and write their own data. This objective could be achieved by using [Client-side encryption](https://en.wikipedia.org/wiki/Client-side_encryption), which would also have the benefit of offloading the encryption work to the probably more powerful client. The question is what 'client' (or Linux application) can work with up with up to several [Tebibyte](https://en.wikipedia.org/wiki/Tebibyte) of encrypted data efficiently?
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.