Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, We have set up a dedicated server with Centos5.4(Kernel 2.6.18-164.el5PAE). In this we have mounted a external storage device above 1 Tb. And also we have shared this storage ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7

    1 TB storage + samba share

    Hello,

    We have set up a dedicated server with Centos5.4(Kernel 2.6.18-164.el5PAE). In this we have mounted a external storage device above 1 Tb. And also we have shared this storage device in samba share.

    Sometime when we access this large storage in windows machine the server hangs and we were pushed to restart the server. Past few days it often happens. How to break down this issue and is there some thing that we have to look in specific area to avoid this? Please advise.

    Thanks,
    Minim

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,098
    Anything in dmesg or logs?

    Apart from that, what kind of external storage is that?
    Simple usb or something more appropiate like esata or even a jbod?

    In case of usb: It might be that the device goes to sleep.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7
    Thanks for respnding

    Here are the logs from messages. Its before the server is rebooted.
    =====================
    read_data: read failure for 4 bytes to client 192.168.1.112. Error = Connection reset by peer
    lib/util_sock.c:write_data(562)
    write_data: write failure in writing to client 192.168.1.112. Error Broken pipe
    ====================

    It is a 1TB external HDD with USB connection.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,098
    Hmm, it might be a network issue.

    But I still would exclude the usb device first.
    a) make sure it doesnt go to sleep.
    b) create some IO load locally (ie: without samba) on the mountpoint. cp small and big files to it, delete them afterwards. Look at the speed and also for errors in dmesg and /var/log/messages.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7
    Thanks .... And it is made not to go to sleep mode by a simple script running every 5 mins. We have already tested it by copying large files into external drives and haven't met with any crash or issues. the only problem when we connect fro windows share it gets hung and never connects again. Is this something related to kernel bugs ?? not sure why this things happen !!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...