Needed to remove junk from a USB thumb drive. Google search yielded a nice find at http://www.bleepingcomputer.com/forums/t/219693/unable-to-format-usb-stick-to-full-capacity/
1) Type “DISKPART” from the Command Prompt (accessible by clicking on Start and then typing “cmd” into the open field); you will then see the following prompt: DISKPART>
2) Type “LIST DISK” to see what number your USB drive is listed as.
3) Type “SELECT DISK 2” (if your USB is disk 2; replace # with your disk #); Diskpart will confirm that “Disk 2 is now the select disk.”
Reformatted a bit to fit on page.
I have 6 of these (2TB) in each NAS Raid5 setup plus motherboard, AMD cpus, RAM etc.
This page is for researching a replacement PSU.
2.8.1 Power consumption
Power requirements for the drives are listed in Table 2 on page 15. Typical power measurements are based on an average of drives tested, under nominal conditions, using 5.0V and 12.0V input voltage at 25°C ambient temperature.
• Spinup power Spinup power is measured from the time of power-on to the time that the drive spindle reaches operating speed.
A lot of ST32000542AS drives come with the CC34 firmware. Apparently it has various known problems, one of which is an annoying click (click of death). The first thing you’ll want to do is upgrade the firmware to CC35. A Link to the instructions is in the references section below.
Once that is done, the next step, if it exists, is removing HPA from the drive.
You’ll know it has HPA enabled by running hparm. HPA results in less capacity and so it’s not a good thing in an array.
We’ll be using Debian 6.0 (squeeze).
hparm -N /dev/sdb
Since Debian squeeze doesn’t appear to include pre-built iscsitarget kernel modules, the iscsitartget-dkms must be installed. This is a source package and will install gcc etc to compile. It should compile automatically.
apt-get install iscsitarget-dkms
Here is a list of iscsi related packages I installed on my secondary NAS:
iscsitarget 184.108.40.206-1 iSCSI Enterprise Target userland tools
iscsitarget-dkms 220.127.116.11-1 iSCSI Enterprise Target kernel module source – dkms version
open-iscsi 2.0.871.3-2squeeze1 High performance, transport independent iSCSI implementation
I found this info in a bug report through google after I received a module not found error when issuing a /etc/init.d/iscsitarget restart
I’ve used more than 50 hard drives in my home IT projects over the years and I’ve never had one start to fail. Keep in mind, these are commodity, off-the-shelf, drives. Meant for laptops, not the continual usage they see here.
Don’t get me wrong, I’ve had them get loud. Loud to the point I have replaced them to maintain sanity but I’ve never had one report bad sectors… Until now.
I guess I’ve been lucky.
I’ve been having some reliability issues with my firewall and I think I’ve finally traced it down to the hard drive heading south for the winter.