Results 1 to 6 of 6

Thread: CIFS is unable to show total free space on CentOS

  1. #1
    Join Date
    Sep 2010
    Posts
    55

    CIFS is unable to show total free space on CentOS

    Hello everyone, I have some issues related to free space and Cent OS. I am running 2 servers in my office with Cent OS 5, one server is web server and other server is having 2TB memory to save all my data within it. The drives are created locally to such location /var/fileshare. My web server is using CIFS and it connects with guest account. So my actual problem is, web server is showing 1.5TB memory is free but when I try to copy something to it, it shows me not enough memory error. So can anyone help me with this? I am waiting for your reply, thanks a lot in advance.

  2. #2
    Join Date
    Nov 2009
    Posts
    1,035

    re: CIFS is unable to show total free space on CentOS

    Hey I have seen your problem, and as per my suggestion just don’t worry for that. I am also using the same operating system with same architecture, and I am not having any issue with it. You just have to check that you are actually mounting share, which you are thinking that you doing. Just do one thing, run “df-T” on any of your client PC and verify that which host is connected and verify the type of mount with CIFS. So just try to do this and let me know about it. All the Best!

  3. #3
    Join Date
    May 2008
    Posts
    991

    re: CIFS is unable to show total free space on CentOS

    Hello friend, I have gone through to your case, I have searched about it on internet. Even I have tried it on my system also, I can say that you should verify that, you are actually connected to the correct share by copying small file, along with that you must see their existence locally from the backup server. and also check that the free memory is not available on primary disk, where the actual Os is installed, if it is there and change it. I hope this will solve your problem. All the Best!

  4. #4
    Join Date
    May 2008
    Posts
    1,020

    re: CIFS is unable to show total free space on CentOS

    Hi, I have also checked for the above matter and I must say that there must be some silly mistake. I have some setting which should be check and also it should be changed accordingly.

    On the backup server you must put fstab as follows:
    Code:
    /dev/sda1     /var/fileshare/share1    ext3    defaults    1 2
    On the web server you must put /etc/fstab/ as follows:
    Code:
    //your IP/fileshare/share1 /var/fileservbackup     cifs    guest   1 2
    And just try to post output from “df –h”

    As per my knowledge it should work, so just try with this option.

  5. #5
    Join Date
    Nov 2009
    Posts
    824

    re: CIFS is unable to show total free space on CentOS

    The above post is perfectly true as per my knowledge, but in addition if still you are not finding it that it is working for you then there must be some problem with smb.conf which samba configuration. You must check for the path in smb.conf which must be /var/fileshare. And also if you want to share the large files then you must set the configuration like below:

    • share1
    • Comment = File Shares
    • Path = /var/fileshare/share1
    • Writeable = yes
    • Guest ok = yes


    Apply this setting to smb.conf, it will surely work.

  6. #6
    Join Date
    Sep 2010
    Posts
    55

    Re: CIFS is unable to show total free space on CentOS

    Hey friends, thanks for your help. I was sure that I will solve my problem in here on this forum only. After reading your post I have check all the point accurately, and I came to know that, I have not installed samba. After that I installed samba with 3.0.33 version 32 bit. When I installed it and applied the setting which is mentioned above, I have got through to my problem. so friends thanks again, without you all it was not possible for me to do that.

Similar Threads

  1. Replies: 5
    Last Post: 30-01-2012, 05:42 PM
  2. Unable to access NFS, CIFS shares in Mac OS X Lion
    By The Picture in forum Operating Systems
    Replies: 8
    Last Post: 20-10-2011, 10:47 PM
  3. Replies: 9
    Last Post: 07-09-2011, 11:14 AM
  4. Microsoft Project show Percentage of Total Cost
    By gammaxi1282 in forum Windows Software
    Replies: 1
    Last Post: 13-08-2009, 09:11 AM
  5. Replies: 3
    Last Post: 19-06-2008, 08:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,667,764.60353 seconds with 17 queries