- Joined
- May 15, 2006
The external drive that I'm using is found here:
http://www.newegg.com/Product/Product.aspx?Item=N82E16822136395&cm_re=my_book-_-22-136-395-_-Product
It is the 1tb Western Digital Essentials external drive. It is hooked up to my file server via a USB drive. I'm going to give some background information on the server itself to explain the situation. If you don't want to read it, skip the following section
------------------------
Server background/experience
I run a CentOS 5.5 based linux server. The hardware is just a normal motherboard/CPU, but it is in a server case and rack. There are two main drives that I use for storage. The biggest one is my RAID 5 array and has nothing to do with this post, so I'm not going to talk about it. The second most used one is my external drive, which is attached to the server via a USB cable.
The drive is formatted as EXT4 and mapped to the following location:
/mnt/external
It is mounted on start-up and I use many scripts (most that run daily) that use this drive. I hit a problem last night which caused the server to lock up. I have a script that runs every 1st of the month that uses "dd" to backup the operating system drive to the external drive. The problem was, is that the external drive decided to drop completely off the end of the world, leaving the server with an unmapped drive. "/mnt/external" now pointed to the operating system tree instead of the external drive. Then the script ran, indefinitely. It caused the main drive to become completely full, to the very last bit. The server was under full load (disk I/O) all night and started denying Samba connections because it couldn't write to the system log (security issue). I couldn't initially find what was taking all the space, but I finally got it narrowed down. After deleting the file, the system started performing normally and worked great.
After the drive drops the connection, the only way to re-establish it is to completely power down the drive (unplug it) and plug it back in. Then it maps fine. I can't move it to another computer nor can I just unplug/replug the USB cable. Nothing fixes it except powering it down.
------------------------
So, I need to find out what is going on. This drive dropping out and becoming unresponsive is absolutely unacceptable on a server. I'm going to be dropping a few 1tb drive (not in RAID) in the server for the meantime, so I don't lose any data or have future issues like this.
Has anyone else had problems with these drives or know how to fix it?
http://www.newegg.com/Product/Product.aspx?Item=N82E16822136395&cm_re=my_book-_-22-136-395-_-Product
It is the 1tb Western Digital Essentials external drive. It is hooked up to my file server via a USB drive. I'm going to give some background information on the server itself to explain the situation. If you don't want to read it, skip the following section
------------------------
Server background/experience
I run a CentOS 5.5 based linux server. The hardware is just a normal motherboard/CPU, but it is in a server case and rack. There are two main drives that I use for storage. The biggest one is my RAID 5 array and has nothing to do with this post, so I'm not going to talk about it. The second most used one is my external drive, which is attached to the server via a USB cable.
The drive is formatted as EXT4 and mapped to the following location:
/mnt/external
It is mounted on start-up and I use many scripts (most that run daily) that use this drive. I hit a problem last night which caused the server to lock up. I have a script that runs every 1st of the month that uses "dd" to backup the operating system drive to the external drive. The problem was, is that the external drive decided to drop completely off the end of the world, leaving the server with an unmapped drive. "/mnt/external" now pointed to the operating system tree instead of the external drive. Then the script ran, indefinitely. It caused the main drive to become completely full, to the very last bit. The server was under full load (disk I/O) all night and started denying Samba connections because it couldn't write to the system log (security issue). I couldn't initially find what was taking all the space, but I finally got it narrowed down. After deleting the file, the system started performing normally and worked great.
After the drive drops the connection, the only way to re-establish it is to completely power down the drive (unplug it) and plug it back in. Then it maps fine. I can't move it to another computer nor can I just unplug/replug the USB cable. Nothing fixes it except powering it down.
------------------------
So, I need to find out what is going on. This drive dropping out and becoming unresponsive is absolutely unacceptable on a server. I'm going to be dropping a few 1tb drive (not in RAID) in the server for the meantime, so I don't lose any data or have future issues like this.
Has anyone else had problems with these drives or know how to fix it?
Last edited: