Server Rack Pet-Project: NAS

After mounting and finally managing to have a UPS working, I can guarantee that a NAS will “always” be powered on without disrupting the data availability…

I started in a very naive way by plugging my HDD into the Pi, then one of the two almost broke and I had to run take shelter and buy a real NAS.

First raw “NAS”

I bought every cheap NAS (therefore old one): Netgear RND2000v1 (ReadyNAS Duo v1). It has only 2 bays, so just RAID 1 is supported. Sorry, but RAID 0 is for fools.

Here is my “new” NAS
2 bays, for now, are all I can afford ๐Ÿ™ I wanted to do RAID 5, but all I can do is RAID 1.
I didn’t trust buying second-hand disks, so I bought them brand new.
I read some reviews about not being brand new… but I guess I got lucky because they are sealed… (does it count? am I that naive?)
On the label, it reports the manufacture date, which is November 2021, so I guess they are brand new after all.
Let’s start mounting them…
… then I discovered this. Yes, I am a newbie.

Then put the disks back to their place.
This NAS is cool and has 2 USB ports and a scheduled jobs panel which allows copying data periodically from/to externals disks.

This NAS is very old and despite using HTTPS is only supports TLS 1.0 and Chrome dislikes it very much to the point it doesn’t let me browse it, fortunately, Firefox is a little bit more flexible on that and lets you override the setting.

But then I need to figure out how to reset it, I tried a few things without luck. So I tried to hack it a couple of times (first to figure out the IP address because it was on another class and then to find the default password).

I thought I could upgrade the firmware, unfortunately, this model is not the v2 which runs on ARM, it is the v1 which runs on SPARC. So, no way I can upgrade it because it is so old that they don’t bother maintaining anymore (rightfully so).
Starting fresh and empty…
After a few hours of copying the data from my old disks, I filled the 1TB space I had.

I had to spend 3/4 days going through the data, using fdupes to remove duplicates, splitting the folders into segments to speed up the process as the NAS is not so fast and scan 1TB was very slow.

Then I started to manually merge similar folders, what a task!
559 hours?!
My laptop was on day and night copying data from one disk to another, at some point it was so hot at the touch that I had to plug that extra cooler to bring the temperature down. It was 49ยฐC, I guess inside it was “boiling” hot…
After a week of cleaning over and over, I managed to de-duplicate most of the data and trash over 500 GB. So, now I have a clean nice folder structure.
root@routing:/mnt/nfs# tree -dL 2
.
โ”œโ”€โ”€ Personal
โ”‚ย ย  โ”œโ”€โ”€ Audios
โ”‚ย ย  โ”œโ”€โ”€ Bank
โ”‚ย ย  โ”œโ”€โ”€ CarInsurance
โ”‚ย ย  โ”œโ”€โ”€ Education
โ”‚ย ย  โ”œโ”€โ”€ Expat
โ”‚ย ย  โ”œโ”€โ”€ Finances
โ”‚ย ย  โ”œโ”€โ”€ Healthcare
โ”‚ย ย  โ”œโ”€โ”€ House
โ”‚ย ย  โ”œโ”€โ”€ ID
โ”‚ย ย  โ”œโ”€โ”€ Images
โ”‚ย ย  โ”œโ”€โ”€ Learning
โ”‚ย ย  โ”œโ”€โ”€ Mortgage
โ”‚ย ย  โ”œโ”€โ”€ Passwords
โ”‚ย ย  โ”œโ”€โ”€ Pictures
โ”‚ย ย  โ”œโ”€โ”€ Projects
โ”‚ย ย  โ”œโ”€โ”€ Rent
โ”‚ย ย  โ”œโ”€โ”€ Subscriptions
โ”‚ย ย  โ”œโ”€โ”€ UtilityBills
โ”‚ย ย  โ”œโ”€โ”€ Videos
โ”‚ย ย  โ””โ”€โ”€ Wedding
โ”œโ”€โ”€ REVIEW
โ”‚ย ย  โ”œโ”€โ”€ Mixed
โ”‚ย ย  โ”œโ”€โ”€ Pictures
โ”‚ย ย  โ””โ”€โ”€ Video
โ”œโ”€โ”€ SystemConfiguration
โ””โ”€โ”€ Work
    โ”œโ”€โ”€ Certifications
    โ”œโ”€โ”€ Companies
    โ”œโ”€โ”€ Contracts
    โ”œโ”€โ”€ Interviews
    โ”œโ”€โ”€ Invoices
    โ”œโ”€โ”€ Membership
    โ”œโ”€โ”€ Mentorships
    โ”œโ”€โ”€ Projects
    โ”œโ”€โ”€ Resume
    โ”œโ”€โ”€ Taxes
    โ””โ”€โ”€ Training

In the next post I’ll cover about how to maintain this NAS secure by adding a firewall to the mix. Stay tuned.