Ok so I built the microserver as a centos box and now I have a strange one
I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared with samba.
Now when I browse these folders on the console I can see the files. when I sftp on the command line from another box I can see these files.
But when I browse via samba or using a gui sftp client quite a lot of these files are missing...
Any ideas?
On Mon, 2014-02-10 at 13:46 +1100, Jeff Allison wrote:
Ok so I built the microserver as a centos box and now I have a strange one
I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared with samba.
Now when I browse these folders on the console I can see the files. when I sftp on the command line from another box I can see these files.
But when I browse via samba or using a gui sftp client quite a lot of these files are missing...
Any ideas?
Permissions ?
I've set myself as the owner and the permissions to 777
On 10 February 2014 14:08, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 13:46 +1100, Jeff Allison wrote:
Ok so I built the microserver as a centos box and now I have a strange
one
I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared with samba.
Now when I browse these folders on the console I can see the files. when
I
sftp on the command line from another box I can see these files.
But when I browse via samba or using a gui sftp client quite a lot of
these
files are missing...
Any ideas?
Permissions ?
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
The strangest is that it's not all the files I can see files in some folders but to others. If I sort alphabetically I get to about b.
On 10 February 2014 14:11, Jeff Allison jeff.allison@allygray.2y.netwrote:
I've set myself as the owner and the permissions to 777
On 10 February 2014 14:08, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 13:46 +1100, Jeff Allison wrote:
Ok so I built the microserver as a centos box and now I have a strange
one
I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared with samba.
Now when I browse these folders on the console I can see the files.
when I
sftp on the command line from another box I can see these files.
But when I browse via samba or using a gui sftp client quite a lot of
these
files are missing...
Any ideas?
Permissions ?
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
The strangest is that it's not all the files I can see files in some folders but to others. If I sort alphabetically I get to about b.
Could there be a predetermined limit on the quantity of displayed entries or a buffer-full problem ?
Possibly, but I've moved a file from inside a folder to the top level and it still doesn't show.
It's a 700G folder though.
On 10 February 2014 14:25, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
The strangest is that it's not all the files I can see files in some folders but to others. If I sort alphabetically I get to about b.
Could there be a predetermined limit on the quantity of displayed entries or a buffer-full problem ?
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
The strangest is that it's not all the files I can see files in some folders but to others. If I sort alphabetically I get to about b.
On a filter on last date used/accessed ?
Seems to be still alphabetical
On 10 February 2014 14:29, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
The strangest is that it's not all the files I can see files in some folders but to others. If I sort alphabetically I get to about b.
On a filter on last date used/accessed ?
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
samba / gui sftp client.
Commanline sftp gives the right response.
On 10 February 2014 14:52, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 14:37 +1100, Jeff Allison wrote:
Seems to be still alphabetical
Regret I don't know. Hopefully the others may have a solution.
What software gives the truncated results ?
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, 2014-02-10 at 14:56 +1100, Jeff Allison wrote:
samba / gui sftp client.
Commanline sftp gives the right response.
Perhaps a bug or a configuration limitation.
I use filezilla with SFTP. Never had a problem.
When I left Windoze 4 or 5 years ago, I took essential data to Centos and then never needed to access any Micro$oft machine. Just the thought of M$ and its many problems makes me cringe with distaste.
Wishing you good luck and hoping the others can propose a solution.
Perhaps it's time to generate nfs shares and see how that goes.
On 10 February 2014 15:08, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 14:56 +1100, Jeff Allison wrote:
samba / gui sftp client.
Commanline sftp gives the right response.
Perhaps a bug or a configuration limitation.
I use filezilla with SFTP. Never had a problem.
When I left Windoze 4 or 5 years ago, I took essential data to Centos and then never needed to access any Micro$oft machine. Just the thought of M$ and its many problems makes me cringe with distaste.
Wishing you good luck and hoping the others can propose a solution.
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mon, 2014-02-10 at 15:12 +1100, Jeff Allison wrote:
Perhaps it's time to generate nfs shares and see how that goes.
I'd be interested in your progress implementing NFS (version 4?) and how it compares to Samba.
Seems to work fine in nfs, a bit slower though.
On 10 February 2014 15:19, Always Learning centos@u62.u22.net wrote:
On Mon, 2014-02-10 at 15:12 +1100, Jeff Allison wrote:
Perhaps it's time to generate nfs shares and see how that goes.
I'd be interested in your progress implementing NFS (version 4?) and how it compares to Samba.
-- Paul. England, EU.
Our systems are exclusively Linux. No Micro$oft Windoze here.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
From: Jeff Allison jeff.allison@allygray.2y.net
Now when I browse these folders on the console I can see the files. when I sftp on the command line from another box I can see these files. But when I browse via samba or using a gui sftp client quite a lot of these files are missing...
Filenames encoding maybe...?
JD
Dunno I'll need to check. I doubt it though.
nfs seems pretty good on the mac and xbmc jobbie.
The other media player is android so there's probably no nfs client for that an dthe wife and kids are on windows so a dlna server we'll have to find.
On 11 February 2014 02:33, John Doe jdmls@yahoo.com wrote:
From: Jeff Allison jeff.allison@allygray.2y.net
Now when I browse these folders on the console I can see the files. when I sftp on the command line from another box I can see these files. But when I browse via samba or using a gui sftp client quite a lot of these files are missing...
Filenames encoding maybe...?
JD _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 2/10/2014 12:57 PM, Jeff Allison wrote:
The other media player is android so there's probably no nfs client for that an dthe wife and kids are on windows so a dlna server we'll have to find.
my experiences with trying to use DLNA for video have been awful. its OK for audio, as long as the library is both not too big, and well tagged.
On Mon, Feb 10, 2014 at 3:04 PM, John R Pierce pierce@hogranch.com wrote:
On 2/10/2014 12:57 PM, Jeff Allison wrote:
The other media player is android so there's probably no nfs client for that an dthe wife and kids are on windows so a dlna server we'll have to find.
my experiences with trying to use DLNA for video have been awful. its OK for audio, as long as the library is both not too big, and well tagged.
What server software have you tried? I'm using serviio on a mac but would expect the linux version to be equivalent, with an assortment of players (ps3, sony blu-ray player, vlc on an ipad, etc.). The trick with video is to be sure it is encoded in a format the player can handle directly so the server isn't transcoding on the fly. And avoid wifi if possible.
On 2/11/2014 10:09 PM, Les Mikesell wrote:
What server software have you tried? I'm using serviio on a mac but would expect the linux version to be equivalent, with an assortment of players (ps3, sony blu-ray player, vlc on an ipad, etc.). The trick with video is to be sure it is encoded in a format the player can handle directly so the server isn't transcoding on the fly. And avoid wifi if possible.
thats the problem. different clients have different unpublished format rules.
i have devices that play HD mp4 and mkv files just fine via SMB, but refuse to acknowledge the same files as video if they are over DLNA and ask for them to be converted to something else. Or maybe they will play the video but don't like the audio and want it transcoded. whaaa?
That and the whole DLNA finder and tag system is awful. i have stuff directory structured and not all of it is well tagged. DLNA clients decide to lump it all in one virtual list, 12000 titles or whatever. needless to say, that crashed the browser on half the embedded players. different DLNA servers have a different idea of how tags should be structured. DLNA players kept insisting on showing me directories and files that I'd deleted a week ago. ugh, I quit.
SMB gives me my directory structure, and thats fine, and the WD TV in particular has played just about everything I've thrown at it, AVI, MP4, MKV, TS, Ogg, Flac, etc etc.
On Wed, Feb 12, 2014 at 12:26 AM, John R Pierce pierce@hogranch.com wrote:
On 2/11/2014 10:09 PM, Les Mikesell wrote:
What server software have you tried? I'm using serviio on a mac but would expect the linux version to be equivalent, with an assortment of players (ps3, sony blu-ray player, vlc on an ipad, etc.). The trick with video is to be sure it is encoded in a format the player can handle directly so the server isn't transcoding on the fly. And avoid wifi if possible.
thats the problem. different clients have different unpublished format rules.
Agreed, it is a mess.
i have devices that play HD mp4 and mkv files just fine via SMB, but refuse to acknowledge the same files as video if they are over DLNA and ask for them to be converted to something else. Or maybe they will play the video but don't like the audio and want it transcoded. whaaa?
There is a scheme to recognize the players and serviio includes a lot of device profiles and allows you to add your own (although you have to edit some ugly xml). It will transcode or remux if necessary, but then you can't move around in the file until the transcoding is complete.
That and the whole DLNA finder and tag system is awful. i have stuff directory structured and not all of it is well tagged. DLNA clients decide to lump it all in one virtual list, 12000 titles or whatever.
The presentation is at least partly up to the server. With serviio you can just expose the folder structure if you want and the clients I've used will navigate it. (Vlc in upnp mode is an exception that tries to digest the whole tree before displaying anything, although the most recent ios version works OK)
needless to say, that crashed the browser on half the embedded players. different DLNA servers have a different idea of how tags should be structured. DLNA players kept insisting on showing me directories and files that I'd deleted a week ago. ugh, I quit.
And you can tell it how frequently to rebuild its index.
SMB gives me my directory structure, and thats fine, and the WD TV in particular has played just about everything I've thrown at it, AVI, MP4, MKV, TS, Ogg, Flac, etc etc.
Sure, but not everything will map smb shares, especially blu-ray players. My current cable tv setup has a central dvr (sort of a rebranded Arris Moxie) with media players at each tv that do DLNA reasonably well and its nice to not have to switch inputs or remotes to play local content. But from another computer, I'd just map the drive and run vlc.
Another possibility is selinux. I just build a CentOS 6 machine. When I tried mapping a drive, I kept getting permission denied. When I got into the /tmp directory, I was able to create files from Windows via Samba and see those files but ones created on the folder either did not show up or were inaccessible. Listing the extended attributes showed that the selinux part of the attributes was different.
Researching showed that there are a number of little selinux flags to set to get samba to work. I went into /etc/selinux/config and turned off selinux to test and rebooted. The problems went away. Now I just have to figure out what to configure, so I can turn selinux back on.
Bob S
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Jeff Allison Sent: Sunday, February 09, 2014 7:47 PM To: CentOS mailing list Subject: [CentOS] Strange Samba Issue
Ok so I built the microserver as a centos box and now I have a strange one
I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared with samba.
Now when I browse these folders on the console I can see the files. when I sftp on the command line from another box I can see these files.
But when I browse via samba or using a gui sftp client quite a lot of these files are missing...
Any ideas? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 2/17/2014 5:36 AM, Styma, Robert E (Robert) wrote:
Researching showed that there are a number of little selinux flags to set to get samba to work. I went into /etc/selinux/config and turned off selinux to test and rebooted. The problems went away. Now I just have to figure out what to configure, so I can turn selinux back on.
you shouldn't turn it off entirely, as its painful to turn back on later... rather, set it to 'permissive' with seenforce
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/17/2014 09:08 AM, John R Pierce wrote:
On 2/17/2014 5:36 AM, Styma, Robert E (Robert) wrote:
Researching showed that there are a number of little selinux flags to set to get samba to work. I went into /etc/selinux/config and turned off selinux to test and rebooted. The problems went away. Now I just have to figure out what to configure, so I can turn selinux back on.
you shouldn't turn it off entirely, as its painful to turn back on later... rather, set it to 'permissive' with seenforce
You want to look for a boolean that effects samba.
getsebool -a | grep samb samba_create_home_dirs --> off samba_domain_controller --> off samba_enable_home_dirs --> off samba_export_all_ro --> off samba_export_all_rw --> off samba_portmapper --> off samba_run_unconfined --> off samba_share_fusefs --> off samba_share_nfs --> off sanlock_use_samba --> off use_samba_home_dirs --> off virt_use_samba --> off
Or as root execute # semanage boolean -l| grep samba samba_portmapper (off , off) Allow samba to act as a portmapper samba_enable_home_dirs (off , off) Allow samba to share users home directories. samba_export_all_ro (off , off) Allow samba to share any file/directory read only. samba_export_all_rw (off , off) Allow samba to share any file/directory read/write. use_samba_home_dirs (off , off) Support SAMBA home directories samba_create_home_dirs (off , off) Allow samba to create new home directories (e.g. via PAM) smbd_anon_write (off , off) Allow samba to modify public files used for public file transfer services. Files/Directories must be labeled public_content_rw_t. samba_domain_controller (off , off) Allow samba to act as the domain controller, add users, groups and change passwords. samba_share_fusefs (off , off) Allow samba to export ntfs/fusefs volumes. cdrecord_read_content (off , off) Determine whether cdrecord can read various content. nfs, samba, removable devices, user temp and untrusted content files samba_share_nfs (off , off) Allow samba to export NFS volumes. samba_run_unconfined (off , off) Allow samba to run unconfined scripts sanlock_use_samba (off , off) Allow sanlock to manage cifs files virt_use_samba (off , off) Allow confined virtual guests to manage cifs files
You can also look at the samba_selinux man page
man samba_selinux