Windows is not able to read ext4. there are some drivers for that, but I never used them, so I can't comment on their quality. IMHO formatting the data drives in NTFS would be the best option.
|
Quote:
Ok. So, how do I save files to those drives if my /home is on my 60GB OS drive? |
Just mount it in a way that your user has permissions to access the disk.
|
Quote:
I just thought of this... I won't necessarily NEED to hook it up to a windows computer unless it is a computer not on my network. Everything will be connected, so if I need files from the server on my Windows computer I can just transfer it, haha. I'm dumb, lol.. What if a friend wanted some files? Could I hook his NTFS formatted external HDD to the PCI USB 3.0 card and transfer files from my server straight to his external HDD? I guess that's a more realistic scenario for how to format my drives.. |
Yes, that is totally possible.
Keep in mind that you have to make your files accessible to other users anyways, most likely the streaming service, your webserver, ... will not run under your users account, but have their own accounts. |
Quote:
Are you saying I will have to create many "dereks" for all of the services I want to run? IE: the web server will have its own account = "user/webserver/home", streaming service with its own account = "user/streaming/home"? If so, how would I go about saving files? Still save them under "user/derek/home" and just point "user/webserver" to the website files (or directory(ies)) that are stored in "user/derek/home"? And, the same with "user/streaming" as the "user/webserver" example? Sorry if I'm asking too many questions and wasting your time, haha. I'm just trying to get the best grasp on how best to setup things.. (namely the backing up / RAID situation). I do appreciate the chat! |
Quote:
Quote:
Quote:
|
Quote:
I will see if I can do some testing over the weekend. I'm still having people suggest a RAID 1 setup for this project. http://www.tomshardware.com/forum/fo...nojs=0#t873598 They are saying the only problem I will have with losing files is if I accidently delete it. They say my data will still be intact (if the HDDs are not the issue anyway) if I have a hardware or software failure... It seems like it is coming down to whether I want the file writes to be instant or if I want them to be synced every so often. I'm a bit torn, lol, as both methods seem like they will do what I need. I'm not sure which would be more efficient though.. |
Have a look at the recent found bug in the ext4 file-system driver. That bug turned out to be not as critical as thought at first, but a RAID-1 can not withstand such a bug if it occurs. The backup solution we discussed here can do that easily.
So, no, there can occur other problems than just accidental file deletion, those errors can occur suddenly and without any warning. This why anyone with some experience in the field will tell you the same: A RAID is never in any form a substitute for a backup solution. A RAID is only a solution for you if you make daily (hourly? whatever timespan of data loss seems reasonable to you) backup to a external drive, which usually has to be done manually. You explicitly stated that this is not what you want. |
Quote:
Then, with our discussed method, I'm assuming that all of the data copied to HDD B before the bug occurred will still be safely sitting on B? Would this bug stop by from syncing to A? Because if not, what happens if B syncs to A before I see the error and / or data loss? If files are changed or missing from A, will B make the same changes? And you are right about the external drive bit. This method discussed does appear to be better suited for my desires. Also, would you recommend ext3 over ext4? |
Quote:
Quote:
Quote:
Since you want to sync the disks automatically in a relative short interval not specifying the option makes actually more sense, so that you can recover accidentally removed files. You can simply run once a month (or whatever is convenient for you), after making sure that all files are in place, the same backup script as usual just with the --delete option to clean up disk B. Quote:
|
Quote:
Quote:
I'm wondering now how saving files in /home/derek affects the access of them for another user such as /home/tom? hmm... |
Quote:
Quote:
For example, assuming that derek should be the main user with full read/write access and all other users (here for example tom)should have only read access to the movies: - create a new usergroup, for example called movies - change the ownership of the movies to the user derek and the group movies - change the permission on the movies to read/write for the user and read for the group - add tom to the group movies If you later want to give another user read permissions for the movies (for example the streaming server) just add him to the movies group |
Quote:
Nice. Sounds simple enough. Basically I would have derek as the "admin" user and I want to create a "guest" user that everyone can use to read files.. no one should need write permissions on this machine besides me. If they save something to the machine, it will be through a computer or laptop on the network as I plan to save everything directly to the server rather than locally. |
All times are GMT -5. The time now is 10:44 PM. |