Tag Info

Hot answers tagged

9

Interesting question. dmesg should have something like this if it's a SATA drive: dmesg | grep -i SATA [ 3.972803] ata3: SATA max UDMA/133 cmd 0xe800 ctl 0xe400 bmdma 0xd800 irq 18 [ 3.972807] ata4: SATA max UDMA/133 cmd 0xe000 ctl 0xdc00 bmdma 0xd808 irq 18 I then grep'ed the dmesg output for "ata3" and found the serial number: dmesg | grep ...


5

What MIGHT work is to use a secondary IDE controller and use PCI passthrough (which is available on ESXi with selected host hardware, and with Xen although that might imply having to use paravirtualized guests).


4

I use the Newer Technology USB 2.0 Universal Drive Adapter. It's inexpensive, small, and works on IDE or SATA drives. http://eshop.macsales.com/item/Newer%20Technology/U2NV2SPATA/


3

SATA or SAS are the way to go. IDE and SCSI models are usually older, smaller, slower drives. SCSI is also vastly more expensive. Get a good (not cheap) RAID card and do a Raid 1 at least. In case this is too expensive, I would prefer OS-based software RAID over cheap raidcard or onboard RAID. Also make sure to buy enterprise or nearline disks. ...


3

The write cache has usually nothing to do with the BIOS, mostly there is no option for switching disk cache settings in there. With linux, using hdparm -W 0 should help. The setting is persistent, so if you don't have hdparm to play around with in your production systems, you should be able to disable the disk write cache on a different system and replug ...


3

The write cache suggestion is a good start but this sounds like an architectural design flaw. On an embedded system the internal flash should probably NOT be mounted R/W except in rare circumstances. You should really be doing most of the work in a memory filesystem and syncing changes back to the RW flash upon some user command or regular interval. It is ...


2

The ThermalTake BlacX, and other similar products, are very handy for temporarily mounting drives. No need to grab a screwdriver to open the external case, mess with power and SATA/IDE cables, etc. Just plug it in.


2

MadHatter is right in that the designation difference would be /dev/hdx versus /dev/sdx. But the surest way is to open the case and look at the cable. You don't necessarily need to shut off the machine to do that, depending on the system you're looking at and what kind of tangled nest of cables you have around the case. If the system can be rebooted you ...


2

Can I setup software RAID 1 after having installed the first drive and setup Ubuntu 12? Yes, you can. Consider this: Current situation: Drive 1: Already in use. Drive 2: Empty. Now create a mirror, using drive 2 (I know, a mirror with 1 drive makes little sense) Drive 1: Already in use. Drive 2: Part of a mirror. (degraded). Copy all data from ...


2

You can't quickly convert a single disk into a mirror as you need to add the mdadm signatures to the disk/partition first. The process instead involves creating a new RAID device on a new disk with the existing partitions marked as "missing" and then copying the data across to the new MD device. You can achieve all of this without a reboot or using boot ...


2

Look at the cables/connectors or look at dmesg. You cannot rely on /dev/hd for PATA drives. For modern systems all PATA/SATA drives will show up as /dev/sd because the new ATA layer uses the sd prefix. You will only see /dev/hd if your OS uses the old deprecated ATA drivers.


2

One pretty reliable method is to use lshw to lookup the model number and then to lookup the model number on Google to see what type of device it is. This method doesn't work if the drive is in a USB enclosure, some USB controllers hide the HD info from you. So for this system you would do a search on ST31500341AS. and find that it is a 1.5TB SATA drive. ...


1

Looking for a solution to a similar problem I came acros this page: http://www.eventid.net/display.asp?eventid=11&eventno=616&source=Disk&phase=1


1

This comes up in a Google search for “PHPStorm Mavericks” The issue is that OSX Mavericks doesn’t come with Java 6 installed, which is what PHPStorm requires to run. To fix it, go here and install the official Java package for OSX. After install, PHP Storm will work again. The solution appears to be installing or upgrading Java 6. Official Apple ...


1

Remove the cable and replace it. If there is a poor connection (e.g. oxide build up) this should free it. Also, while the cable is out, give it a good check for damage, and the connectors on the motherboard and drives. If damaged, replace.


1

Given the fact the newest and biggest hard drives use SATA, you might want to get a SATA card. But if you don't need to use those drives, IDE or SCSI should be good enough, SCSI being better because it's more efficient and SCSI drives tend to be more reliable. P.S. SCSI drives aren't more reliable because the SCSI bus makes them so, but because manufactures ...


1

You didn't say how many people will use this server, what kind of data it will hold, what kind of performance the users will require, etc. Without knowing it, giving a good advice is impossible. The two answers above, for example, could be good in one kind of situation and end up wasting your time and money in another. Still, it's possible at least to steer ...


1

You can find PCI PATA adapters for reasonable prices, usually cheaper than a SATA-to-PATA adapter.


1

I haven't run into this, but since you're using software RAID, it's possible that the hard disk failure is causing something to interfere with I/O on the disk controller, so you're getting other failures like the locking up of commands. The data should be intact (unless it's corrupted, in which case you have duplicated corruption). If the drive itself ...


1

If it were IDE, it would very likely show up as /dev/hda. You could try smartctl -a /dev/sda which will produce a lot of information including manufacturer and model number; cross-referencing that on the manufacturer's website is usually fairly simple.


1

you can use rewrite log file for debugging : <IfModule mod_rewrite.c> RewriteLog "/home/test/public/logs/rewrite.log" RewriteLogLevel 3 </IfModule> OR you can follow this detailed debugging tutorial: http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html



Only top voted, non community-wiki answers of a minimum length are eligible