I'm looking for a little bit of Linux help from those more knowledgeable (I suspect that's most people that use Linux ).
I bought a Microserver back in the summer when the cashback deal was on and, after trying various distros, settled on Ubuntu Server as my OS of choice for a NAS.
Functionally it's fine and does everything I've asked it to (with lots of Googling answers), but there's one thing that's been bugging me that I can't find the answer to (or I'm not using the right search terms to get the answers I want).
The machine is set up with 3 2TB drives using Raid-Z with Samba for sharing with my Windows boxes. Again, all working fine, except:
Now I wouldn't be at all surprised if it was something I did (or didn't) do when setting up the NAS that's caused these problems, but obviously I'd like to fix them if possible.
I'm sure there's probably something in Samba somewhere that can be set to hide Windows hidden files so they function the same way as a Windows OS.
I did come across something that says you just add a hide files = / filename or wildcard / which I presume goes in the smb.conf file for the share, but wasn't sure if that was the definitive solution?
For the .arg files, I don't know if it's possible to have the files work the same as NTFS where the file gets embedded in the stream, and if it isn't, what I'd like to do is have it set so that if you delete the video file, the .arg file also gets deleted. Of course that may be a client side solution ... or maybe not.
In summary, and assuming any of that lot made sense, all assistance appreciated
I bought a Microserver back in the summer when the cashback deal was on and, after trying various distros, settled on Ubuntu Server as my OS of choice for a NAS.
Functionally it's fine and does everything I've asked it to (with lots of Googling answers), but there's one thing that's been bugging me that I can't find the answer to (or I'm not using the right search terms to get the answers I want).
The machine is set up with 3 2TB drives using Raid-Z with Samba for sharing with my Windows boxes. Again, all working fine, except:
- When I copy folders from Windows to the network shares, the hidden flag seems to disappear, meaning that files like desktop.ini and thumbs.db are sitting there making the folders look untidy.
- I use a bit of software called Argus TV to record things off the telly. When it finishes recording, it creates a metadata file which is basically the XML description of what's been recorded. With NTFS, it uses an Alternate Data Stream to embed information within the video file, but it seems unable to do this when recording to the network share and so I end up with a .ts video file and a .arg XML file.
<?xml version="1.0"?>
<Recording xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RecordingId>88bee86d-144d-4cd1-8f28-483dab91efb3</RecordingId>
<Actors />
<ChannelDisplayName>Channel 4 HD</ChannelDisplayName>
<ChannelId>c2adf5c4-d702-4205-889f-ce1b440ce504</ChannelId>
<ChannelType>Television</ChannelType>
<Description>0-8-4. Coulson and his agents travel to Peru to investigate an object of unknown origin, codenamed 0-8-4. But when Coulson runs into Comandante Camilla Reyes, more than just sparks fly... [AD,S]</Description>
<Director />
<EpisodeNumber xsi:nil="true" />
<EpisodeNumberTotal xsi:nil="true" />
<EpisodePart xsi:nil="true" />
<EpisodePartTotal xsi:nil="true" />
<Id>493</Id>
<IsPartialRecording>false</IsPartialRecording>
<IsPartOfSeries>true</IsPartOfSeries>
<IsPremiere>false</IsPremiere>
<IsRepeat>false</IsRepeat>
<KeepUntilMode>UntilSpaceIsNeeded</KeepUntilMode>
<KeepUntilValue xsi:nil="true" />
<LastWatchedPosition xsi:nil="true" />
<LastWatchedTime xsi:nil="true" />
<IsFullyWatched>false</IsFullyWatched>
<FullyWatchedCount>0</FullyWatchedCount>
<ProgramStartTime>2013-10-04T20:00:00+01:00</ProgramStartTime>
<ProgramStopTime>2013-10-04T21:00:00+01:00</ProgramStopTime>
<ProgramStartTimeUtc>2013-10-04T19:00:00Z</ProgramStartTimeUtc>
<ProgramStopTimeUtc>2013-10-04T20:00:00Z</ProgramStopTimeUtc>
<RecordingStartTime>2013-10-04T19:57:03+01:00</RecordingStartTime>
<RecordingStopTime>2013-10-04T21:10:00.5885528+01:00</RecordingStopTime>
<RecordingStartTimeUtc>2013-10-04T18:57:03Z</RecordingStartTimeUtc>
<RecordingStopTimeUtc>2013-10-04T20:10:00.5885528Z</RecordingStopTimeUtc>
<ScheduleId>369a12cd-0580-49d1-95e8-b03ef65bd798</ScheduleId>
<ScheduleName>Marvel's Agents of S.H.I.E.L.D. (Any Time)</ScheduleName>
<SchedulePriority>Normal</SchedulePriority>
<SeriesNumber xsi:nil="true" />
<StarRating xsi:nil="true" />
<Title>Marvel's Agents of S.H.I.E.L.D.</Title>
<Flags />
</Recording>
<Recording xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RecordingId>88bee86d-144d-4cd1-8f28-483dab91efb3</RecordingId>
<Actors />
<ChannelDisplayName>Channel 4 HD</ChannelDisplayName>
<ChannelId>c2adf5c4-d702-4205-889f-ce1b440ce504</ChannelId>
<ChannelType>Television</ChannelType>
<Description>0-8-4. Coulson and his agents travel to Peru to investigate an object of unknown origin, codenamed 0-8-4. But when Coulson runs into Comandante Camilla Reyes, more than just sparks fly... [AD,S]</Description>
<Director />
<EpisodeNumber xsi:nil="true" />
<EpisodeNumberTotal xsi:nil="true" />
<EpisodePart xsi:nil="true" />
<EpisodePartTotal xsi:nil="true" />
<Id>493</Id>
<IsPartialRecording>false</IsPartialRecording>
<IsPartOfSeries>true</IsPartOfSeries>
<IsPremiere>false</IsPremiere>
<IsRepeat>false</IsRepeat>
<KeepUntilMode>UntilSpaceIsNeeded</KeepUntilMode>
<KeepUntilValue xsi:nil="true" />
<LastWatchedPosition xsi:nil="true" />
<LastWatchedTime xsi:nil="true" />
<IsFullyWatched>false</IsFullyWatched>
<FullyWatchedCount>0</FullyWatchedCount>
<ProgramStartTime>2013-10-04T20:00:00+01:00</ProgramStartTime>
<ProgramStopTime>2013-10-04T21:00:00+01:00</ProgramStopTime>
<ProgramStartTimeUtc>2013-10-04T19:00:00Z</ProgramStartTimeUtc>
<ProgramStopTimeUtc>2013-10-04T20:00:00Z</ProgramStopTimeUtc>
<RecordingStartTime>2013-10-04T19:57:03+01:00</RecordingStartTime>
<RecordingStopTime>2013-10-04T21:10:00.5885528+01:00</RecordingStopTime>
<RecordingStartTimeUtc>2013-10-04T18:57:03Z</RecordingStartTimeUtc>
<RecordingStopTimeUtc>2013-10-04T20:10:00.5885528Z</RecordingStopTimeUtc>
<ScheduleId>369a12cd-0580-49d1-95e8-b03ef65bd798</ScheduleId>
<ScheduleName>Marvel's Agents of S.H.I.E.L.D. (Any Time)</ScheduleName>
<SchedulePriority>Normal</SchedulePriority>
<SeriesNumber xsi:nil="true" />
<StarRating xsi:nil="true" />
<Title>Marvel's Agents of S.H.I.E.L.D.</Title>
<Flags />
</Recording>
Now I wouldn't be at all surprised if it was something I did (or didn't) do when setting up the NAS that's caused these problems, but obviously I'd like to fix them if possible.
I'm sure there's probably something in Samba somewhere that can be set to hide Windows hidden files so they function the same way as a Windows OS.
I did come across something that says you just add a hide files = / filename or wildcard / which I presume goes in the smb.conf file for the share, but wasn't sure if that was the definitive solution?
For the .arg files, I don't know if it's possible to have the files work the same as NTFS where the file gets embedded in the stream, and if it isn't, what I'd like to do is have it set so that if you delete the video file, the .arg file also gets deleted. Of course that may be a client side solution ... or maybe not.
In summary, and assuming any of that lot made sense, all assistance appreciated