📜 ⬆️ ⬇️

We create Apple-media storage on a PC-based

Hello!
On a tip from a colleague from Twitter @ ripper2k, my story is about the implementation of the iTunes project and the DLNA media server and file storage for the apple home infrastructure. Successful implementation .


A few words about the ingredients of my computer park:

As you can see, the actual computer subsystem is based on Macs, which impose their own requirements for the organization of file and media storage, which must be taken into account when implementing the project, of course:

I emphasize that AFP (Apple File Protocol) is the preferred choice in my situation, because it is the native file system for Mac OS, and secondly, it is practically established that the resources shared from Windows 7 are not compatible with Mac OS X (on both Macs the version 10.8 - Mountain Lion). With Windows XP, everything is much simpler and friendlier, but the operating system imposes restrictions on the size of hard drives.

iOS devices in the face of iPhones and Apple TV consoles also impose their limitations:

To TV devices (in my set, at least) take out and put a separate DLNA server to access the library.
Well, the last item is my personal Wishlist:

So, the conditions of the problem are known, but what options are there for its solution? We list the main ones:
')
Autonomous NAS

From the undoubted merits of ready-made NAS solutions, I will highlight:

But all these nishtyaki more than cover the fact of the existence of proprietary operating systems on board; for example, a full-fledged iTunes-server with support for the Home collection is no longer lifted, therefore, we delete the NAS from the list. Well, and a separate nuance - their price: instead of a device for 4 hard disks and software capabilities for the above needs, you can quite easily buy a Mac mini + external Thunderbolt box for HDD and not be soared with the choice.

Once the finished hardware does not suit us, we can create it ourselves! And such a scheme will have much more advantages - this is the price, this is the possibility of selecting components for specific needs, this is the scope for choosing a software shell, etc. In my case, this is the simplest PC-desktop with a bunch of hard drives, operating in 7/24 mode and optionally connected to the TV.

But under such a hardware solution you need to select the necessary software, what do we have in this part?

Linux distributions

As part of the search for the right decision, I installed FreeNAS on my media server, here are the impressions:

For two months I lived this distribution in the installed state, but in the end I refused it due to the following considerations:

You could, of course, have another Mac mini with an external Thunderbolt box for hard drives ... but sometime in the future.
Attentive dorchiteli, of course, will ask that I clung to this Home Collection? The answer is: this technology allows iTunes to share data with Apple TV and stream video and music to the iOS device through the air - it’s really convenient not to store the library on the iPhone, but to catch it through the air

Final cut

So, in the last iteration of the search, I came to the final version of the solution, based on Windows 7 that was hated by all Apple employees.
A suitable PC-desktop was found, in which - with some difficulties - 3 hard disks with data were installed:

(In view of the limited engine compartment, the system was installed on a 2.5 ”notebook - a la hard disk“ in our collective farm is corrupted ”)

The hard drives are Western Digital in the green series, the terabyte package in the kit has been in its fifth year, and I don’t have the slightest comment on it. Today's trendy red series, designed specifically for use in such systems, will be involved in the subsequent upgrades of the system.

The software component was led by the licensed Windows 7 and the following services were raised:

Hard disks have quite successfully taken root in the new system:

(I suggest to the dorchiteli to evaluate a certain redness of the Windows Explorer)

The conclusion is he is one and he is

Practical experience of using the system proves the success of such a solution, coped with the assigned tasks by 5 points. The server fits perfectly into the nonstandard (from the point of view of the epic Windows-storage) apple infrastructure, ranging from Macs and ending with iPhone.

For the future, I estimate the possibility of upgrading the hardware subsystem to the HP ProLiant MicroServer G7 N40L (largely inspired by the excellent review on 3DNews), but in our area such exotic in retail does not occur, must be ordered separately. But on the other hand, the hardware performance is still rather weak, and sometimes you have to load the system with all sorts of processing, so this fad is still in the deep alpha stage.

Source: https://habr.com/ru/post/181632/


All Articles