Slashdot Mirror


Hot-Swapping IDE Drives?

Patman asks: "I've recently taken a new job where I'll need to be making drive images and such for quite a few IDE drives - say a few a day. I need the ability to 'hot-swap' IDE drives into a running Linux or Windows system. The systems that I'm using are fairly standard IBM desktop PCs, I've found references on Google to IDE->USB converter cables and IDE->USB converter boxes. Does anyone have experience with those? Some come with drivers for Windows - has anyone used them under Linux? Does the mass storage USB code deal with them accurately? Barring that, does anyone have any other ideas? External hot-swapping would be ideal, although an internal solution would be doable, too."

122 comments

  1. Delayed write bug in Win2k by ka9dgx · · Score: 4, Informative
    There seems to be a deep seated bug in Windows 2000 server when it comes to delayed writes and USB. The USB spec calls for a maximum transfer of 128k, but Win2k attempts a 512k trasfer after it's cached up a few writes, which results in "Delayed Write Failure", and lost files.

    I can't seem to find any fix, the driver software doesn't permit caching to be disabled in the advanced properties box, so it's rendered an otherwise fine 120 GB Western Digital drive as an expensive paper weight, at least as far as Windows is concerned.

    From what I've been able to read, it appears that Linux knows better, and respects the 128k per packet limit, and doesn't have this issue, but I've not confirmed that yet.

    It's a bitch to be doing a backup (using copy) of 45 Gb of photos, and lose a few along the way.

    --Mike--

    1. Re:Delayed write bug in Win2k by shaitand · · Score: 1

      Does this affect 2k pro as well? The reason I ask is that we recently went through a host of backup solutions for small businesses, trying to find something that worked well and was inexpensive.

      Zips are too small for alot of business while tapes are too expensive, slow, and have issues.

      We really aren't looking for a solution that can handle MASSIVE transfers. If it maxed out at 20-40gb that would be just fine.

      In any case we finally settled on usb enclosures. The enclosures had no ventilation so I was concerned about heat, but in testing we found that while they seemed to be hot as a pancake they worked fine for the several months we tested.

      We setup several of these on workstations out there until finally we setup a solution for a company that runs win2k on EVERY workstation. We started getting write delay errors. After applying service pack 4 the write delay errors go away but the backup still hangs sometime in the middle. The issue you describe does not match what microsoft described to along with the delayed write errors. Their explanation involved network locking.

      I was going there tommorow to replace the enclosures with true 40gb usb drives instead of regular drives in enclosures getting hot (at 16gb this is the largest backup we've had going on these to date).

    2. Re:Delayed write bug in Win2k by Spoing · · Score: 4, Interesting
      I have 2 seperate dual USB 2 and Firewire cases, and both drop files, has bus time outs, locks the bus or the whole machine...under Linux using EXT2!

      This only happens on large transfers (say dd of a 5 or 20gb drive, or cp of the files). Small files or copying one a small number of files works fine. The drives I use are from Maxtor; 1 120gb, and another 40gb.

      Really #@#@$ me off. If anyone has encountered this with the 2.4.22 and earlier kernels and knows a fix (even if "move to 2.6.x") I'd appreciate knowing it!

      1. It can't be the drives since I've used different ones (unless Maxtors have some generic problem).

        It can't be the bus since I've used USB, USB 2, and Firewire.

        It can't be the chipset since the two cases use different chipsets from different manufactureres (and yes, I checked that they were supported before purchase).

        It can't be the machine itself since I've tried connecting it to a couple different systems (all Intel, one Celeron 1.4g desktop, another PIII 500 laptop).

        Tried formatting the drives in the external case, and reformatting them in the desktop first.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    3. Re:Delayed write bug in Win2k by lindsayt · · Score: 2, Informative

      I could be wrong, but by my understanding is that there's no such thing as a "true 40gb usb drive(s)" - the actual drives being made today either have (S/P)ATA, SCSI or FC as their interface/communication spec, and even the "true" usb drives are just simply IDE drives in a usb enclosure.

      Of course, the units sold as USB drives are engineered for a specific drive to work with a specific enclosure so hopefully they'll avoid the issues you discuss through some other means (such as a proprietary driver that fixes it or something), but I am relatively certain that if you pop open any of the USB drives being sold (hence voiding your warranty) you'll find a regular old IDE drive inside, probably not even with a separate part number from the IDE drives sold bare.

      --
      I did not design this game/I did not name the stakes/I just happen to like apples/And I am not afraid of snakes-AniD
    4. Re:Delayed write bug in Win2k by fluor2 · · Score: 2, Informative

      I've hotswapped IDE-disks dozens of times.

      1. Run Sync.exe (i'm sure you'll find it at download.com or something)
      2. Remove/disable the device in Device Manager (right click My Computer, Manage).
      3. Now disconnect your drive.
      4. Connect a new IDE drive.
      5. Go search for new hardware and it pops up.

    5. Re:Delayed write bug in Win2k by kableh · · Score: 1

      I had the same problem with two Oxford 911 based Firewire enclosures. Terribly frustrating, though I only lost a few files to it... But I found when I put a 120GB WD 7200RPM "special edition" drive in it, the problems went away. Runs terribly hot though.

    6. Re:Delayed write bug in Win2k by redog · · Score: 1

      Im useing win2k server with a usb2.0 card some ME-320 series external ide drive enclosures and dantz retrospect.

      Works very well. Ive needed the backups a few times so its tested ok for me too. I haven't overloaded it to see how much a day I could push but my backup strategy is sufficient for now.

    7. Re:Delayed write bug in Win2k by vofka · · Score: 2, Informative

      I see similar problems here with a Western Digital 250GB Dual USB2.0/Firewire drive under Slackware 9.1 with the stock 2.4.23 kernel.

      The strangest thing I see is that the drive seems to disconnect from the USB bus, and then reconnects around 2 seconds later. I have still to work out if this is caused by a hardware problem with the drive, with the motherboard (an Abit AT7-MAX), or with the kernel.

      I also see timeouts, failed sector reads/writes, and other errors from the SCSI Subsystem. These only seem to happen after the drive does it's first USB Disconnect/Reconnect, and then only if the drive was mounted at the time... The drive can go for hours with no problem, or it can drop out after 30 minutes or so. It doesn't seem to make any difference whether there is data heading to/from the drive or not!

      When I get time, I'll be upgradeing the kernel to 2.4.24/25 to see if any of the USB / USB-Storage updates fix the problems. I would love to move to 2.6 to see if any of the changes there are of use, but I can't afford to put the 8-Disk 640GB RAID-0 array on the motherboard out of commission!

      If that doesn't fix it, I guess it will come down to hardware... A quick post to LKML probably wouldn't hurt though...

      --
      Disclaimer: I meant what I thought, not what I wrote! What? You can't read my Mind? Oh dear!
    8. Re:Delayed write bug in Win2k by Spoing · · Score: 1
      1. try adding sync to your fstab entry. That should fix it :)

      I thought that too...no dice. One of the many things I've attempted as workarounds.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    9. Re:Delayed write bug in Win2k by -Surak- · · Score: 1

      8 disk RAID-0? You do like living on the edge, don't you...

    10. Re:Delayed write bug in Win2k by tommck · · Score: 1
      You do steps 3 and 4 with the power on?

      --
      ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
    11. Re:Delayed write bug in Win2k by Anonymous Coward · · Score: 0

      Yes. I do that quite often when i can't be bothered to power down my machine. Just make sure to connect the power plug squarely cos if you misalign it it might spark..

    12. Re:Delayed write bug in Win2k by enosys · · Score: 1
      I've used an Archos Jukebox 6000 for a while with Win2000, XP and Linux and I never encountered that bug.

      In device manager in Windows I could even enable or disable write caching on it. Perhaps the ISD200 (USB to IDE bridge IC) drivers did something right.

    13. Re:Delayed write bug in Win2k by Anonymous Coward · · Score: 0

      i used to do this too... till it fried my mobo at a very very very important moment... "sure, no problem, i do this all the time..." GACK! very embarrassing.

    14. Re:Delayed write bug in Win2k by Marvin_OScribbley · · Score: 1

      I've had the exact same problem with Maxtor drives... under Mac OS X!

      I RMA'ed the first drive, the replacement worked when I first got it, but a couple weeks later the problem re-occurred. Basically I was using the external drive as a backup so wasn't using it very frequently.

      Same problem - the backup would copy 50-100MB until it hit large file, then would simply hang and not write any more data to the drive - would have to power it off and back on.

      --
      I'm not a journalist, but I play one on slashdot
  2. Firewire by selacious · · Score: 3, Insightful

    Grab a IEEE1394 IDE bridge, preferably bus powered. Linux should support these devices and they are easily, externally hot-swappable. I've had success with the SuperDriveDock from Wiebetech, although there are certainly cheaper models out there.

    1. Re:Firewire by rf600r · · Score: 2, Informative

      I'm here to second the FireWire proposal. Be sure you get a controller with an Oxford 9xx chipset and go to it. OtherWorld Computing has some great enclosures, decent prices and good customer service.

    2. Re:FireWire by Col.+Klink+(retired) · · Score: 1

      However, you're more likely to find a computer with USB hardware than Firewire.

      There are, however, enclosures that will support both Firewire and USB.

      --

      -- Don't Tase me, bro!

    3. Re:Firewire by dchamp · · Score: 1

      I've used the ADS Pyro 1394/firewire enclosures (sold at retailers like CompUSA) with good results under Linux (usually Mandrake) and Windows 2k Pro and XP Pro. I've used it for fairly large backups under all of those OS's and haven't had any issues with dropped files or errors. You don't need any special drivers... but you may have to compile your kernel or enable the 1394 modules under other versions of Linux.
      I've also had a smaller external 1394 drive that held a laptop IDE HD, and would run from either a powered 1394 cable, or with an external power source.
      The ADS Pyro boxes are pretty nice - they have a cooling fan and built-in power supply. The one I have holds up to a 5.25" 1/2 height device (like a standard CDROM drive) or a 3.5" HD.

    4. Re:Firewire by DA-MAN · · Score: 1

      I'm not sure if this is due to the fact that I have a Sony Vaio laptop (they may or may not use a standard ieee1394, for their i.link) or if firewire support is just jacked on Linux. But everytime i boot my computer, I have to run a stupid script to re-detect it. In addition it drop's off and drops back on all the time that kudzu doesn't even know what to do with itself anymore. This is all on a docking station that I never use to remove. However, it's gotten to the point where I just gave up and switched to an External USB and removed the docking station. Everything just works and I am happy.

      --
      Can I get an eye poke?
      Dog House Forum
  3. I tried that once.... by Louis+Guerin · · Score: 4, Funny

    Hot-swapping an IDE HDD on my winXP box. Not sure what I was thinking, but I burned two HDDs and a motherboard doing it...

    Oh, you mean WITHOUT destroying your system? Sorry, can't help you...

    L

    1. Re:I tried that once.... by man_ls · · Score: 3, Informative

      I've hot-swapped (both add and remove) IDE interface drives in WinXP with no problem.

      My guess is you removed the data cable before removing the power.

      Procedure to Remove Fixed Hard Disks:
      1. Remove Power Cable from Drive
      2. Remove Data Cable from Drive
      3. Scan for Hardware Changes in Device Manager.

      No data loss will occur as long as no open file handles are present on the disk at the time of removal. Windows XP will detect and gracefully dismount/remove references to it. If there are open file handles, data in the write cache will be lost, and WinXP will freeze up for a few minutes while waiting for the IDE timeout.

      Procedure to Add a Fixed Disk:
      1. Connect Data Cable
      2. Connect Power Cable
      3. Scan for Hardware Changes in Device Manager

      Windows will read the drive signature and make it available under My Computer.

    2. Re:I tried that once.... by jpop32 · · Score: 3, Informative

      If there are open file handles, data in the write cache will be lost, and WinXP will freeze up for a few minutes while waiting for the IDE timeout.

      IMHO, removing or disabling the drive from device manager should ensure you have no open files and flush the cache.

    3. Re:I tried that once.... by Jellybob · · Score: 1

      Are you really suggesting this is a good idea?

      There's a high chance that it'll work, but it still seems to me that unless a drive is designed for hot swapping, unplugging it from a running system has the chance of killing it.

    4. Re:I tried that once.... by Anonymous Coward · · Score: 0

      The cables aren't designed for removal, so you could blow you disks or motherboard this way.

      Follow this guy's advice at your own peril. Or better yet, buy hardware designed for the job like a hotswap SATA cage.

    5. Re:I tried that once.... by schapman · · Score: 5, Informative

      theres a reason not to do this... If you look at SATA, one of the reasons its safe to hot-swap is that on the power connector, the pins are different lengths. This way, when u connect/disconnect, you wont have shorts happening. I think its the ground connector on the power cable that connects first, disconnects last... Old school PATA devices dont have this, so every time you connect/disconnect while running... you have the risk of shorting and blowing your drive/MB

      --
      Wouldnt you like to be a pepper too?
    6. Re:I tried that once.... by gillbates · · Score: 1

      Well, that's why you don't work at Microsoft. People like you would reduce their profit margin. The average joe doesn't care if his files get lost now and then - what he really wants is more streaming video from his dialup connection.

      And supposing Windows did close any open files and flush the cache.... Why would anyone buy an upgrade?

      Honestly, those people who write perfect code don't write it for long. How many programmers have been put out of work by writing code that worked the first time, only to find their users foregoing upgrades, and themselves unable to feed their families? If there aren't bugs in your code, you'll literally write yourself out of the market.

      When you think about it, there's really no future for someone who doesn't write software in such a manner that it always needs fixing. Think of all the system administrators who are able to bill overtime because of the lack of effort on Microsoft's part. Think of all the jobs that would be lost if Windows didn't crash, or wasn't vulnerable to viruses.

      There are real people with real jobs at stake here. Don't just think of yourself, man!

      Okay, for anyone who believes I'm serious, I've got a bridge to sell you in San Fransisco. But if you take anything from this, realize that many of the jobs in the IT industry are the direct result of companies trying to use Windows for their business systems. If everyone ran Linux/UNIX/BSD/mainframes, well, a lot more of us would be looking for work.

      --
      The society for a thought-free internet welcomes you.
    7. Re:I tried that once.... by jpop32 · · Score: 1

      If there aren't bugs in your code, you'll literally write yourself out of the market.

      Or you could try selling your software as a subscription service...

      And all of a sudden, it starts to make sense. :-)

    8. Re:I tried that once.... by llzackll · · Score: 1

      There is only a small chance of losing data.. Unplugging an IDE hard drive from a working system is no different than having a power outage. Before I got a UPS, I had power outages all the time and never lost any data. All that will happen is Windows XP will freeze up for a few minutes, then you will get a notification of unsafe removal of device.

      If you plug a hard drive into a working system, however, I have gotten unpredictable results.

      I have had good luck with the USB drives mentioned earlier.. Most of these are standard IDE drives inside a box that converts it to USB. If you have Windows ME or later, you will not even need drivers. You can also just buy the USB cradle seperately and supply your own drive.

    9. Re:I tried that once.... by Unominous+Coward · · Score: 1

      I have tried this more than once on my Win2k box with no problems. I have no idea why this works on my computer, but on nobody else's.

      Just make sure you unplug the power cable first, and use an ESD mat, if you can.

      --
      "Smoking helps you lose weight - one lung at a time" -- A. E. Neumann
    10. Re:I tried that once.... by enosys · · Score: 1
      I suppose connecting 5V and 12V but not ground on the power cable might be bad. It could either damage the electronics because of weird voltage levels or perhaps draw lots of current through ground on the signal cable and damage things that weren't meant to take that current. Perhaps electrically connecting the drive case to the computer case would protect against this.

      I don't think connecting 5V first vs. 12V first should cause any damage.

  4. FireWire by haunebu · · Score: 3, Informative

    Wouldn't FireWire be better, considering FireWire-IDE bridge enclosures are readily available and actual throughput is much faster usig the Oxford 911/922 chipsets?

    --

    Blue skies, Barthy Burgers, girls...

  5. To what end? by dmayle · · Score: 1
    You want to hot swap for what purpose?
    • To use hard drives as a sneaker net?
    • For backup?
    • For building an "unlimited" storage array?
    You probably want to look at SATA and hot-swappable drive cages, like this one from 3ware. It needs a case with 3 free 5 1/2" drive bays to install, but it works like a dream...
    1. Re:To what end? by GigsVT · · Score: 1

      The problem with the 3ware cages for anything other than RAID, is that you can't just buy the cartridges (the tray the drive sits in) without buying more complete enclosures.

      This is a fatal flaw if you want to use it in any capacity other than RAID, considering the enclosures cost so damn much.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:To what end? by Red+Pointy+Tail · · Score: 2, Informative

      Yeah, been using two of these 3ware cages (plus their Raid5 IDE controller) to RAID5 8 drives for months, quite a joy. You can pull out one of the drives mid-anything and watch the hot spare kick into gear.

      Their online tech support is quite good too, replies within 1 working day.

    3. Re:To what end? by The+Clockwork+Troll · · Score: 1
      Cremax has a very similar 5-in-3 cage:

      http://www.scsi4me.com/?menu=menu_ide&pid=3022&dis play=MB810-AKF.htm

      Here is an extra drive tray!

      (bottom of the page) http://www.scsi4me.com/?menu=menu_ide&pid=3211

      --

      There are no karma whores, only moderation johns
    4. Re:To what end? by Anonymous Coward · · Score: 0

      There's another problem, at least with the 3ware RDC-400. The cage door is hinged too far to the side. If your case has any sort of bezel that makes it level with the front of your peripherals, it might not work. This is the situation on my Enlight 7237, and it looks like it would happen on a few others I have around here.

      When you go to open it, the side opposite the hinge gets about 3/4" out, then it can't move any more. That's obviously nowhere near enough clearance to get a disk out.

      If you try to force it, it will eventually get open all the way, but it drops a pin or two and the door falls off the hinges. This is non-fatal: you can put it back on the hinges, fortunately.

      I'm lucky since these Enlight cases have a front bezel which comes off. Once that's out of the way, the door swings freely. I'm not sure what would happen on a box with a solid front panel.

      By the way, the "pop the bezel" approach isn't all that wonderful, since you have to get your fingers under there to get it started. That means either lifting the running box (!!!) or sliding it to the edge of the table. Both of them are mighty evil things to do with hard drives spinning at high RPMs right there.

      3ware makes some great stuff, but they need to rethink these doors. Just moving the hinge inward a small bit would probably do the job.

    5. Re:To what end? by llzackll · · Score: 1

      Even with the complete enclosures, it's still not a good idea to swap them out without shutting down first,unless your controller hardware supports hot swap.

    6. Re:To what end? by GigsVT · · Score: 1

      They are designed to be used with 3ware controllers.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  6. Buffering Bug in Linux by Crutcher · · Score: 4, Informative

    Okay, I use a USB drive enclosure on Linux to do my backups, and it works pretty well.

    However, it took me a very long time to learn to set the 'sync' option in the mount options. USB writes much more slowly than a normal harddrive, and if sync isn't set, it is possible for the system to buffer all writes to the drive up to the point where it consumes most system memory, and the machine becomes unresponsive.

    Perhaps this is fixed in 2.6; but it doesn't really matter. You are doing backups, the backup isn't done until it's all on the disk, so setting the sync option just means that your writes "seem" to take longer, and your unmount at the end seems faster. Without sync, you pay for the buffering in the unmount, which will hang while it finishes syncing the disk.

    --

    -- Crutcher --
    #include <disclaimer.h>
    1. Re:Buffering Bug in Linux by Col.+Klink+(retired) · · Score: 2, Informative

      I believe this bug is fixed if 2.4 line. I'm using 2.4.24, but I think it's been around since 2.4.21 or earlier.

      You have to select "Code maturity level options" and say "y" to "Prompt for development and/or incomplete code/drivers". Then, under "SCSI support", say "y" to "Enable extra checks in new queueing code".

      CONFIG_EXPERIMENTAL=y
      CONFIG_SCSI_DEBUG_QUEUES= y

      --

      -- Don't Tase me, bro!

    2. Re:Buffering Bug in Linux by Spoing · · Score: 1
      1. I believe this bug is fixed if 2.4 line. I'm using 2.4.24, but I think it's been around since 2.4.21 or earlier.

        You have to select "Code maturity level options" and say "y" to "Prompt for development and/or incomplete code/drivers". Then, under "SCSI support", say "y" to "Enable extra checks in new queueing code".

      Thanks! That's probably it (hope). This had been driving me nuts for 1/2 a year or more (easily before 2.4.21) so I finally gave up a few months back and shelved my second drive case. This suggestion is new, and fits with what I'd expect from a kernel change that would address this type of problem.

      I'd moderate you up, but I've already posted to this 'story', so can't.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  7. Hot swap enclosure by Anonymous Coward · · Score: 2, Informative

    Can't you stop being a cheapskate and just buy a proper hotswap enclosure?

    If you can't afford that then a Firewire enclosure will be good enough for what you're trying to do. Make SURE to stop the device before unplugging it! You can buy Firewire dongle devices like the DriveDock from WiebeTECH as you'll be wanting to unplug and plug lots of drives.

  8. IDE = USB by Ender+Ryan · · Score: 1
    I use a IDE => USB drive enclosure for doing backups, transporting data, etc.

    It works flawlessly, using the USB storage module in Linux, with one minor caveat, ie. just be sure to umount the drive before disconnecting it(and wait for the drive to stop crunching - sometimes they crunch for a second or two after a sync, maybe because of the HD's own cache).

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:IDE = USB by cs0nro · · Score: 1

      I've been doing just this for some time now using this kit from EBuyer (USB 2.0 To IDE/ATAPI Cable Complete With Power Supply) using a 60Gb ExcelStore (it was cheap) harddisk with two partitions. The drive shows us as sda1 (partition 1)and sda5 (partition 2) - there is a reson for this, that escapes me at the moment.

      It works well under NT 2000 and Linux Fedora (RH), however, I had problems using it under an older version of Mandrake.
      The big issue is, as mentioned syncing the drives, if you find away round this I would be very interested.
      My current fix is to always unmount and wait before unplugging, even then I cant always get the drive to remount without the obligatory reboot. this is obviously due to the buffering going on.

      --
      Get a life get a motorbike !
    2. Re:IDE = USB by Ender+Ryan · · Score: 1
      Drives are supposed to get synced before unmount, so there's possibly a kernel bug in the version of mandrake you're using.

      I could be delerious, but I think I recall there being a kernel bug sometime during the 2.4 series related to syncing before umount.

      You could try running sync before unmounting just to be sure... Or better yet, try upgrading your kernel.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    3. Re:IDE = USB by cs0nro · · Score: 1

      Moved to the latest verison of Fedora and it all works like a dream. Very impressed.

      --
      Get a life get a motorbike !
  9. Internal mounts exist... by Tom7 · · Score: 1

    External Firewire/USB2".HiSpeed" seems to be the safest bet, since you can swap those between computers and everything. At work we've used hot swappable drive enclosures that mount internally---they were only a couple hundred bucks, and have a key that you use to lock the drive in place, if you want. Unfortunately, I don't remember the name, but they exist and they work.

    1. Re:Internal mounts exist... by AlphaPB · · Score: 1

      I've got a cheapy IDE enclosure that claims to support hot-swapping in Windows (with some kind of driver). I've yet to use this feature though.

      Can't quite remember how much it cost, but I'm sure it was less than "a couple hundred bucks". Maybe somewhere around $30.

  10. Use IDE-Raid: 3Ware will do the job for you! by darkfox · · Score: 3, Informative

    Go to 3Ware

    It is really well supported in Linux (and been since a while) as well as in M$. It supports Hot-Swap and Hot-Spare...

    --
    Francis Provencher
    "What if the bird will
    1. Re:Use IDE-Raid: 3Ware will do the job for you! by DA-MAN · · Score: 1

      Perhaps you have not seen these two:
      https://bugzilla.redhat.com/bugzilla/show_bug.cgi? id=109618 .cgi?id=109618">https://bugzilla.redhat.com/bugzil la/show_bug

      But I happen to be an owner of a 3ware card, and I regret that I inherited this piece of shit. I would have preferred something that works.

      --
      Can I get an eye poke?
      Dog House Forum
    2. Re:Use IDE-Raid: 3Ware will do the job for you! by TobySmurf · · Score: 1

      I have quite a few servers running Debian and Gentoo with 3Ware RAID cards, and not only is the throughput staggering, the cards are rock solid. We did notice that even with small arrays (4 drives instead of our usual 8 or 12), putting the cards into a 64 bit/66MHz slot made a huge throughput difference. It's easy for us to sustain 100MB/second even on a small array, for writes and reads. Booting off of them makes the whole system more responsive. I wonder if the issue is specific to Red Hat kernels, as I haven't ever had an issue with Debian and I've been using the two together now since Debian 2.0. YMMV

    3. Re:Use IDE-Raid: 3Ware will do the job for you! by RedDirt · · Score: 2, Informative

      I'd be curious about which card you have that is so bad. I've used 3Ware products for a while now and have had zero problems with the cards themselves. RedHat on a 3Ware card has periodically been problematic (early 7.x releases wouldn't boot because RedHat broke the module mapping in their installer - https://bugzilla.redhat.com/bugzilla/show_bug.cgi? id=26954) Not the fault of the card, but rather the installer. *shrug* I've since replaced that 6200 card with an 8506 (two-port parallel ATA to a four-port serial ATA) and it has continued to work flawlessly.

      If you do a search on RedHat's bugzilla on 3Ware https://bugzilla.redhat.com/bugzilla/buglist.cgi?s hort_desc_type=allwordssubstr&short_desc=3ware&ord er=Bug+Number+Ascending you'll see that most of the bugs relate to the installer and to their enterprise product. They seem to be testing their consumer-grade stuff with 3Ware more consistently now, but are dropping the ball with their enterprise stuff. A quick search on Google for issues with 3Ware and Debian didn't turn up much so a change in distro might be appropriate (just to spark off the obligatory flame war - hehe, just kidding).

      Since 3Ware has been very active in the development of their driver (moreso than ANY other manufacturer) I would be surprised to find any lingering problems that weren't the fault of the distribution.

      --
      James
    4. Re:Use IDE-Raid: 3Ware will do the job for you! by DA-MAN · · Score: 1

      I'm actually very interested myself. This one doesn't look like an actual problem with the distribution, in that I tried various vanilla kernels and alway got a kernel panic immediately after trying to remount the partition as read/write.

      I do not know the exact model of the card, because it is a pain to get in there. It is a legacy machine that doesn't get much use these days.

      I eventually got it to work by using a kernel that doesn't have the do_brk and mremap() fixes. Specifically kernel 2.4.21-4.EL, the first RHEL 3 kernel. Even then I had to build it from source.

      Building kernel 2.4.21-4.0.1.EL (do_brk) or 2.4.21-4.0.2.EL (mremap) from source does not work either.

      I can give you more information if you like

      --
      Can I get an eye poke?
      Dog House Forum
    5. Re:Use IDE-Raid: 3Ware will do the job for you! by RedDirt · · Score: 1

      If you do an 'lspci -v', what does it show for the 3ware card? My card is detected as:

      00:0f.0 RAID bus controller: 3ware Inc 3ware 7000-series ATA-RAID (rev 01)
      Subsystem: 3ware Inc 3ware 7000-series ATA-RAID
      Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
      I/O ports at dc00 [size=16]
      Memory at ed805000 (32-bit, non-prefetchable) [size=16]
      Memory at ed000000 (32-bit, non-prefetchable) [size=8M]
      Expansion ROM at [disabled] [size=64K]
      Capabilities: [40] Power Management version 1

      That isn't entirely correct as the card is really an 8000 series card, but I believe it's accurate for older cards. I'll try popping the old one in a machine and see what it identifies as. One thing that you may want to do if you can ID the card and if you can take the box down for a bit is to upgrade the firmware. I seem to recall that later drivers require later firmwares.

      --
      James
    6. Re:Use IDE-Raid: 3Ware will do the job for you! by DA-MAN · · Score: 1

      This is what I get.

      00:09.0 RAID bus controller: 3ware Inc 3ware ATA-RAID (rev 12)
      Subsystem: 3ware Inc 3ware ATA-RAID
      Flags: bus master, stepping, medium devsel, latency 74, IRQ 25
      I/O ports at 5440 [size=16]
      Expansion ROM at [disabled] [size=64K]

      Doesn't really say, like I said I inherited this box and hardly ever get scheduled downtime for it.

      --
      Can I get an eye poke?
      Dog House Forum
  11. Windows XP has an option for Firewire. by Futurepower(R) · · Score: 5, Informative

    Windows XP has an option for not caching Firewire writes. You can then just remove and reconnect the drive without any other adjustment and without data loss. If you have audio on, there is a tone when the drive is connected or disconnected.

    1. Re:Windows XP has an option for Firewire. by horatio · · Score: 1

      Yeah, XP has the _option_ but it doesn't work properly. I've lost data/corrupted files even a few minutes after closing the one app that writes data to the firewire disk.

      You're always supposed to go click the little 'safely remove hardware' thing in the tray, which seems to me to be equivalent to an 'umount' in linux, but I'll be damned if more often than not frelling XP tells me that the hardware can't be removed and that I should try again later. (wtf does that mean? write the cached data and unmount the disk, damnit.)

      To reiterate: trying to hot swap firewire devices (and perhaps others) in XP will lead to data loss - maybe not every time, but it will happen.

      --
      There is very little future in being right when your boss is wrong.
    2. Re:Windows XP has an option for Firewire. by Futurepower(R) · · Score: 1


      Does this help? Sync is a free program that assures that all information in the cache is written to disk.

      However, the volume must not be mounted when you remove the hardware. Try running CHKDSK against the drive letter you want to remove. If it tells you that something is using the drive, make sure that nothing is: 1) installed from the drive, 2) or thinks it is using something on the drive. That includes open DOS windows. Also, it might help if the Firewire drive is formatted as FAT32. I've seen instances where NTFS will think that something has gone wrong when it hasn't, and will try to repair something that isn't damaged, but rolling back to an earlier disk image.

      I'm not saying you are wrong about data loss; I don't have enough experience.

  12. Highpoint by braddeicide · · Score: 1

    Highpoint internal ide caddies support hot-swapping if you also have one of their cards. http://www.highpoint-tech.com/USA/rm110.htm There are also 3rd party caddies based on their chipset.

  13. USB speed issues by PapaZit · · Score: 1

    Just to be on the safe side, I should point out that you really, really, REALLY don't want to make big drive images with USB 1.1 (well, anything less than 2.0). That is, if time matters to you at all.

    USB 1.x maxes out at around 1MB/second (12 megaBIT per second). For a 10GB image, you're looking at around 3 hours.

    If you use Firewire or USB 2, you'll be okay.

    --
    Forward, retransmit, or republish anything I say here. Just don't misquote me.
  14. Firewire... doh? by Anonymous Coward · · Score: 0

    Firewire...

    How do you get hired for an IT job when you aren't aware of basic computer related technologies?

    1. Re:Firewire... doh? by Anonymous Coward · · Score: 0

      be sure to let us know

  15. FYI: As far as drivers go... by Ayanami+Rei · · Score: 2, Informative

    2000 Professional and Server are the exact same thing

    Forget drivers... the only difference is the productID when installing. The install CD contains the exact same files, and the service packs are exactly the same. Hell, they even use the same kernel binary.
    It just artificially limits the number of CPUs and RAM.

    So whatever is true for Professional will automatically be true for Server, and vice versa.

    You should really be looking at something centralized like Retrospect (which isn't too expensive, unlimited clients). Or DVD-Rs.

    And tapes can work great. You just have to figure out how to justify spending over $6000 to get an AIT-3 drive or something.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:FYI: As far as drivers go... by Dr.+Evil · · Score: 2, Insightful

      Professional and Server are slightly different. While yes, there's just a bunch of tweaking parameters in the registry, and some other parameters which control special licensing, at the simplest level there are packages which simply do not exist in Professional which exist in Server e.g. Active Directory, IIS, Message Queueing, stuff like that.

      For the purpose of drivers and hardware support, yeah, they're identical.

      BTW, some packages artificially impose licensing restrictions depending on whether you're running Server or Professional, e.g. Partition Magic. It won't touch a Win2k server partition unless you pay for their special Win2k server product... even though the filesystems are identical :-(

      I have trouble believing the CDs are identical except for some product ID code. It would be a pain in the butt for Microsoft to code in all those stupid "if Server... " statements. They're running different packaging and printing different holograms on the CDs, they may as well put different data on them and not bother with all the development costs of a split install path.

    2. Re:FYI: As far as drivers go... by fean · · Score: 1

      nope, it's true... in fact, some pirating groups found this out, and they made a bootable cd that boots a linux shell, maps the files depeneding on which you want to install, and continues booting the cd.... its (as my roommate calls it) tits being able to install any version of win2k (and now they have one for winxp) from one cd...

    3. Re:FYI: As far as drivers go... by KD5UZZ · · Score: 1

      Any links? Or a name? Anything?

      --
      -Daniel
      KD5UZZ
      www.w5yj.org
    4. Re:FYI: As far as drivers go... by fean · · Score: 1

      it's usually called 5in1, or 7in1... it's the only way to get media center, so also look for media center....

    5. Re:FYI: As far as drivers go... by penguinboy · · Score: 1

      There are definitely some differences beyond the product ID. One example that comes to mind is ATI video drivers. It took a registry hack to get the display drivers for a Radeon 7500 All-in-Wonder to work properly on 2000 Advanced Server, and I never managed to get the video capture working. Further registry hacking might've gotten it working, but I just switched the box to Pro since there was no actual reason for it to be running Server.

  16. SATA? by Seany-Heady · · Score: 1

    I seem to remember SATA disks being hotswapable with out much issue. Pick up a few SATA to PATA cconverters and a SATA card. On that same note, there are SCSI to IDE converters that you could put into a hotswapable SCSI cage.

    Just some thoughts

    Seany

    --
    "Where ever you go, there you are"
  17. USB 2.0 / IDE adapters work good with Linux by zmedico · · Score: 1

    I have had great success with USB 2.0 / IDE adapters work very well in Linux with both hard disks and cd/dvd recorders. I have used them with both 2.4 and 2.6 kernels. Hotplug worked better for me with 2.6 (gentoo). This is the particular product I bought: http://hoct.com/hoct12/usb20exenfor.html

  18. 3Ware and hot-swap drive bays by Deagol · · Score: 1
    I must second a previous poster's suggestion to use 3Ware cards. I admin several servers with 2 8-port cards and hot-swap IDE bays. Using hdparm, you should be able to spin down and power off the drive. Once that's done, you can use the 3ware manager to "remove" the device, then physically swap it out.

    Using a desktop removable IDE drive bay, you should be able to accomplish what you want.

    The only prboblem is the non-plug-n-play nature of these removable drive bays. What I want is a bay that acts almost like the an 8-track drive or the cart-style game consoles: pop out a drive, then pop in a new one -- no screws to mess with and no wires to plug in.

  19. okay with identical drives by bobv-pillars-net · · Score: 2, Informative
    I've hot-swapped regular parallel-ATA drives in removable drive bay enclosures with no problem.
    1. Unmount the partition
    2. Unlock the drive cartridge (this powers down the drive)
    3. Remove the old cartridge and insert the new one
    4. Lock the drive cartridge
    5. Mount the partition

    But since this method doesn't force a bios scan, it hangs if the drives have different disc/cyl/head geometries, or different partition sizes.

    --
    The Web is like Usenet, but
    the elephants are untrained.
    1. Re:okay with identical drives by asquared256 · · Score: 1

      4a. run 'hdparm -z /dev/hdX' will rescan partition table.

    2. Re:okay with identical drives by Anonymous Coward · · Score: 0

      That only works when the drive has already been plugged after boot. It is possible to detect the drive with hdparm -R, if it hasn't been detected with boot, but that will cause a major slowdown on the IDE where I put the disk. THis is at list on my computer.

      Anyway, hdparm -R 0x170 0 0 /dev/hda does help a bit (although it is unusable, I think). That works for detecting a new disk on the second IDE too.

      But it doesn't work as it does in Windows 2000/XP.

  20. Any ideas? by Spoing · · Score: 1

    Does anyone have the same problems? Solutions? Very very curious!

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    1. Re:Any ideas? by cymen · · Score: 1

      Read this thread: thread over at Anandtech. The problem reports start on the 2nd page. You could try disassembling your USB enclosure to check the chipset temperature. If it is really hot, try cooling it and seeing if it fixes the problem. If so, bad equipment.

    2. Re:Any ideas? by Anonymous Coward · · Score: 0

      usb and ieee under linux is definitely sh.., too, for large transfers. on my machine, it regularly locked up the transfering computer. it worked fine when less than ~1gb was transferred. /iaw

  21. for laptops, it's nothing by n9hmg · · Score: 1

    Commonly, replacement laptop hard drives come with a PCMCIAIDE adaptor, for that combined data and power connection laptops use. Plug the drive into the adaptor, and the adaptor into a slot, do your work, and stop the adaptor. I don't know if there's an adaptor for the laptop IDE to regular, but if there is, you'll be all set.

  22. External firewire w/ pullout tray by zfalcon · · Score: 1

    I use an external firewire chassis and put an IDE hard drive pullout tray in it. That way, whenever I need to swap in a new drive, I just power down the firewire enclosure, swap drives, and power it back up.

  23. 3Ware IDE RAID cards do hot swap by Confessed+Geek · · Score: 1

    The newer IDE RAID PCI cards from 3 ware supposedly do hot swap. I have the card, but since its in a TB array with important data I've never tested it.

    Under linux it would just be a umount and then pull the drive caddy.

    Win2k/XP... Dang good question. Under linux the 3ware card and attached devices is seen as a scsi device. Does Windows support SCSI hot swap?

    1. Re:3Ware IDE RAID cards do hot swap by TobySmurf · · Score: 1

      I do hot swap with the 3Ware cards quite often (stupid cheap IDE drives seem to die all the time, about 3 or 4 per month out of 600 drives).

      Under windows you can swap out drives on a 3Ware - we have RAID 0+1 arrays and RAID 5 arrays, and in both cases I can remove drives at will under 2000, 2003, linux (2.6 kernels as well as 2.4).

      Newer versions of windows support hot swapping of nearly any device - I even hot swap IDE drives directly onto the motherboard controller (I had to do that to unlock my XBOX hard drive). A simple "scan for new devices" and it shows up.

  24. Granite Firewire Drives... by grimace1969 · · Score: 1

    We use Granite Digital firewire drives here at work for backup purposes. There is no reason why this wouldn't work for your needs, just throw the drive into the caddy, and then slide it into the external bay, then when you are done unmount it and take it out of the caddy. They have external arrays also so you could do more than one drive at a time.

    --g

    --
    "Immolation is the sincerest form of flattery."
  25. Accusys by Milhouse_ph · · Score: 1

    I'm not sure if you've come accros these: Accusys. I'm thinking this may actually be what you are looking for. External, hotswappable, IDE RAID solutions, with very little hassle, just plug in and go.

  26. Re:Dissertation on the uselessness of Linux zealot by Anonymous Coward · · Score: 0

    Does you wife still suck dick as well as she used to?

  27. Okay, sure. by Ayanami+Rei · · Score: 1

    Yeah, there is the whole "check WindowsVersion" thing, which can be easily circumvented for stuff like Partition magic.

    NTSwitch... it can turn Pro into Server without issue.
    Also of note, it apparently turns XP into an incomplete beta of .NET server (no seriously, try it, you can always switch back)
    And as for the install CDs, well maybe you're right about the packages' presence on the disk. But it really is the only difference. All you have to do is run the change tool, pop in the 2k server CD, and install Message Queueing, or the full version of IIS, and you're a happy camper.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  28. I've had the same problem. by Myself · · Score: 1

    With a WD 120 gig drive in an ADSTech external USB2 case (based on the Cypress ISD-300A chipset), connected to 98se, I've experienced the same issues.

    Every once in a while, the drive will spin down most of the way then spin back up, down and up, click click, down and up, and the system will complain that I removed the volume while it was in use. This sometimes happens almost continuously, and sometimes it'll behave perfectly for hours without a problem.

    Then something even weirder happened: Before formatting my desktop drive, I backed up all my important stuff to the external 120 gig. After reinstalling the OS and drivers from ADStech.com, it wouldn't see the external drive. The device was connected, but it was seen as a 48 gig drive with no partition table. Connected to my dad's desktop, it was 120 gig and all my data was on it. Go figure.

    So, I connected the 120 gig drive straight to the controller on a motherboard recent enough to recognize it, and it shows up as having no partition table. But, popping it back into the external case, dad's machine still recognized it perfectly. Wtf?

    So far, USB storage has failed to impress me.

  29. Two helpful utilities by Grabble · · Score: 1

    A friend and I have done a fair bit of research on this. Here are some thoughts rattling around in my head.

    --) It seems like some non-"hotswap aware" IDE controllers REALLY don't like having their drives removed... but some tolerate it.

    --) You can really screw things up (even with a "hotswap" controller) if you remove a drive that hasn't yet committed the cached writes.

    --) Therefore, be aware that you may need to disable write caching on drives you intend to remove

    OR

    --) Use a program that sends (I presume) a "flush cache" command... like this one (I presume)...

    Swap Manager

    --) I stumbled across a nifty-looking 18KB public-domain command-line tool called "mnt" and "unmount". I never tried it, but it looks promising. It seems to have fallen off the net. So here's an edonkey/emule link...

    Unmount

  30. Try a USB2 or SATA case. by Myself · · Score: 2, Insightful

    Vipower makes a ton of products that look like they might suit your needs. Keeping the drives in the little "mobile rack" caddies is probably a good idea, since exposed circuit boards left laying around the office are just asking for Ms. Mohair Sweater to come touch them.

    As has been pointed out, it's possible to stop IDE devices and disconnect them with the machine on, but this is like playing Russian Roulette. In a spec designed for hot swap, the ground and power connections mate first and disconnect last, to keep the signal connections from carrying any initial current surges. IDE/ATA has no such provision, and hot matings/removals might damage your drive and/or controller. (The same goes for PS/2 keyboards and mice! Just because it works the first 100 times doesn't mean you won't fry your motherboard the 101st time, when the connector goes in a bit sideways.)

    Serial ATA on the other hand, does allow for hot swapping, and USB is obviously designed for it. If you can get away with using exclusively SATA drives, check out some of the Supermicro drive racks. If you're building your own RAID system, these things are the way to go. I got a Supermicro server case second-hand and have been extremely impressed with the thoughtfulness of the design. Well-engineered products are rare and special, especially in this cheaper-sooner-cheaper industry.

  31. I recommend Firewire drive enclosures by t-maxx+cowboy · · Score: 1

    I personally just added a Firewire drive enclosure for both an IDE HDD drive and a 52x IDE CDROM burner. But work mavelously. As a matter of fact on the machine I am using them with, I went from being able to burn CDs at only 4x to burning at 52x, on the same machine. I suggest that firewire is used on older machines, like Pentium and up, or PowerMac G3's where you need a faster IDE bus then the UDMA 2 or ATA3 that was included in the machines.

    --
    Regards,

    Ryan Pritchard
    Fun Extends All Basic Life Expectancies
  32. XP Pro too..... by BestNicksRTaken · · Score: 1

    I've had the "Delay Write" error on WinXP Pro SP1a too - in fact this was a Maxtor 8Mb cache ATA133 80Gb running off an ATA-133 RAID card.

    I was using it to stream MPEG2 from my PVR card.

    The only way to fix it was to plug the drive into the mobo's UDMA-100 slot!

    --
    #include <sig.h>
  33. Re:Ahhh my eyes!!! by ClioCJS · · Score: 1
    I realized it was a troll; I was trolling myself just by agreeing. Even though I was telling the truth, I knew that what I said would be considered a troll here.... And I knew that before I responded. DUH.

    Thing about the website... I mostly wrote it in 1995 when a 14.4 was standard. Check WebArchive if you don't believe me. It is mostly for my own personal use as I have written custom web apps to do things like tell me what VHS tape a show matching a regular expression occurs on. And it is actually linked to by an appaling number of sites because it has been around so long. (If I google for my firstname lastname, I get more results that are actually me than anyone I know.)
    Obviously if I started it from the ground up, it would look completely different. I'm not even sure where I would start. I don't believe in superficiality much so I don't really have an opinoin on how things look. At least that's what I had to tell myself when I fucked your mom in the ass... (Sorry, had to work it in.) (That's what she said.) (Really, sorry. I just can't control myself tonite.)

    --
    -Clio
    Karma: Bad (mostly from not giving a fuck)
    Blog: http://clintjcl.wordpress.com
  34. Re:Dissertation on the uselessness of Linux zealot by ClioCJS · · Score: 1

    It improves with age. Like your mother's used tampons.

    --
    -Clio
    Karma: Bad (mostly from not giving a fuck)
    Blog: http://clintjcl.wordpress.com
  35. I don't have a mom you insensitive clod! by Ayanami+Rei · · Score: 0, Offtopic

    Liar!
    And my dad (well sort of), eh, well, I'd rather not talk about it.
    ::crying::
    ::sniff:: anyway. Yeah, I realize the website is old... so is mine (don't look, I'm warning you!!!), I'm just trying to make you feel like a jerk.
    (I mean 4hrs to compile nethack? What major were you at tech anyway... god.)
    But honestly. Really. That troll appears like 15 times a day in every thread. Don't ever reply to that. Even if you think it's funny, or insightful.

    Because really it's not. It's like replying to spam and ridiculing the sender, or whatever. It just encourages them. Validation for the cut and paste morons sitting around, masturbating in their parents' basement. Don't give them the satisfaction.

    Immature children, all of them. ALL OF YOU!!!
    (you know who you are...)

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:I don't have a mom you insensitive clod! by ClioCJS · · Score: 1
      Hehehehe.... I don't think it's as bad as replying to spam. I use pine to read my email anyway so at least I'm not loading web bugs like all the outlook users. Except when I use outlook, that is. (Doh).

      I got my degree in computer science. But damned if that nethack distro didn't fuck my shit all up. The only thing I'd compiled at the time was my BBS, WWIV 4.21 with 100+ modifications in it (how I learned C, which I've now forgotten in favor of Perl). Recompiling my kernel is out of the question. I don't want to work with in that high a level of detail with such low level things. I never wanted to own a DECstation anyway, Virginia Tech strongly encouraged us to buy one. I told my dad not to but he wasted $3000 of his money. What a piece of crap. Ruined linux for me forever. I'll never EVER go back to that. (And I've tried, hehe.)

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    2. Re:I don't have a mom you insensitive clod! by ClioCJS · · Score: 1

      I mean ruined unix for me.
      Linux ruined Linux for me (Slackware because I am a SubGenius... seemed like a good idea at the time.)

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
  36. Hot swapping doesn't short things out by rcw-home · · Score: 1
    Old school PATA devices dont have this, so every time you connect/disconnect while running... you have the risk of shorting and blowing your drive/MB

    Just how does a data connection making/breaking contact before a power connection cause a short? It's not like the power gets shunted to a data line or ground in such a scenario.

    Actually, what often happens is that if a drive isn't connected to ground, it can transmit signals at unexpected voltage levels onto the bus. Nothing that should fry anything, but it might wedge the bus and you might have to reboot the system.

    It's also possible for static electricity to discharge through a data line as you are connecting it, but if your card/board or drive can't handle that, then it deserves to die anyway.

    In short, hot-swapping almost anything isn't as dangerous as you would be led to believe, but unless it's designed for it, you do risk crashing the machine. (With that said, I still don't hot-swap PCI cards unless it's specifically supported.)

    1. Re:Hot swapping doesn't short things out by llzackll · · Score: 1

      Not sure if it shorts it out per say, but I've connected power cables a lot in running systems. Half of the time it works fine, and half the time the power supply will just shut itself down and you have to wait a few minutes to turn the computer back on.

    2. Re:Hot swapping doesn't short things out by shadowmas · · Score: 1

      actually what i've heard is that when removing the PATA type power cable its possible to have one of the volatge lines disconnect while the other is connected (e.g. 12v connected while 5v gets disconnected) this could potentially do something like force 12v down a line which would otherwise be balanced by the 5v line thereby burning something. dont know the accurracy of it (read it somewhere). anyway i used to this and never had any serious problem other than losing a few files when i forget to unmount the partitions.

    3. Re:Hot swapping doesn't short things out by Wyzard · · Score: 1

      Funny thing about those Molex connectors: when you turn them upside-down, they don't insert fully (of course), but they go far enough (by tilting downward slightly) that the pins can make contact. And since one side of the plug is 5v while the other side is 12v, connecting it upside-down means that the electronics get force-fed over twice as much current as they were meant to take.

      If the lighting happens to be dim and you can't see which way the plug is oriented... yeah. I fried an 80GB Seagate Barracuda drive that way.

      Thankfully, Seagate's RMA form doesn't ask how the damage occurred, (:-P), but I still lost about 60GB of data.

  37. Confirming: Linux does know better by leonbrooks · · Score: 1

    I have an external 5.25" USB cage sitting here, the only ID for which is a product code and "Made in China". It currently houses a Pioneer DVD burner (+/-RW, which works at full blast) but fitted with a cheapo 5.25" removable tray for 3.5" drives it also works fine with 80 and 120GB 7200 RPM Seagates.

    The only odd thing it does it throws an I/O error at the start of a burn (I've only ever used k3b with this drive) but k3b says it's OK and the burn always verifies. I've never burnt a coaster on it.

    I normally use it with Mandrake 9.2 on an AOpen OpenBook 1547 laptop (mostly Intel chipset, but if anyone knows how to get a WinBond memory stick reader to play, do tell), but it works just as well on my desktop (Athlon 2400, nForce2 based, Mandrake 9.2 but 2.6 kernel). I;ve also used it with another Linux laptop (specs unknown), a Windows XP laptop, and a Windows 2003 workstation (those last three only as a DVD burner).

    --
    Got time? Spend some of it coding or testing
  38. Worked fine for me - under Win95b.... by pidge-nz · · Score: 1

    I had a 486 with the Win95B OS and Apps on SCSI disks, the IDE bus not being used. I found that in conjuction with the pluggable drive cages, I could hot swap buy following this procedure:

    1. In Device Manager, disable the IDE Controller (single channel machine... yes, it's that old...)
    2. Plug in the drive
    3. In device Manager, enable the IDE controller

    And the plugged disk became available. Note that the disk had to be previously partitioned and formatted for this to work.

    To swap, just follow the procedure again, but swap the drives at step 2.

    Note that this was using the Origianl OEM release of Windows 95B.

    You may be able to do this under Win2K so long as the disks to be swapped are on a different controller than the OS disks, and the Controller driver can be stopped and started without rebooting. You may be able to have this happen by changing the startup type of the device driver using a Registry Hack (from "boot" to "automatic" - can' remember the numbers to use...) to have this work.

  39. USB will work OK in Linux.... by tiger99 · · Score: 1
    ....if you set up the mounts correctly. It seems to want to mount the entire volume (/dev/xxxx or whatever it allocates instead of /dev/xxxx0 for the first partition etc) with some devices. I think that mainly happens with the smaller ones, so you might need to only have one partition on the disk.

    Otherwise, SuSE 8.2 or 9.0 works OK with both IDE drives and other things such as CF Cards, which have a FAT filesystem and USB adaptor. You will need all the necessary things either compiled in the kernel or as modules, SuSE seems to have all these bits already but I can't comment on other distros. But, if you are experienced in recompiling kernels, or willing to learn, this is no big deal.

    I don't have a disk with USB2 hardware attached yet, all my experience is with USB1 but so far, no significant problems.

    Just remember to do a umount before pulling the USB plug out, and of course pull the plug out and switch off the power before swapping the IDE drive in the USB box. I assume you will be using some kind of removable drive cradle in conjunction with a USB to IDE converter.

    Win 2000 and XP have a few problems, it is sometimes impossible to unmount the thing, except by brute force (pulling the USB plug out) and then you get nagged about unsafe removal. To get the drive to be seen again, it is sometimes, but not always, necessary to remove it in device manager, then get it to add a new device again. Same thing with CF memory card in a PCMCIA adaptor, it is obviously a fundamental M$ error which they can't fix.

    There are hot-swappable IDE cradles which can mount into a PC, but there might not be a way of getting the OS to do the necessary. The extra logic in the cradle, and longer power and ground pins, only ensures that the hardware does not suffer a destructive latchup, you would possibly need to make the kernel run some of its initialisation code again every time you plugged the device in. Far easier to use USB, the plug and play code is fairly solid.

    There are no filesystem issues if you use FAT or one of its variants (you might need to do a man mount to see if you need options to the mount command, or want to automount) but NTFS will almost certainly not work reliably, so please don't try with valuable data, you will probably trash the lot.

  40. Those are behavioral differences. by Ayanami+Rei · · Score: 1

    You know, "kernel personality". But they are embedded in the same set of exes, dlls, vxds and sys files. It's like when you enable smp/ioapic and bigmem in linux from grub.

    The driver is making an incorrect assumption (probably about per-cpu locks or something). In fact, it might be a good way to weed out bad drivers, switching mode to Advanced Server and seeing what sticks.

    I've always had trouble with ATI's drivers, especially video capture stuff on anything but a single-cpu system running 98.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  41. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  42. Subscription? by gillbates · · Score: 1

    You mean like the big boys in the enterprise market? Like IBM, which sells multimillion-dollar mainframes and charges fees upwards of 100,000 per year to license the operating system?

    On one hand, I'm glad that Microsoft hasn't figured this out - I don't feel like paying a yearly fee just to use my own hardware. But let's face it - Microsoft has been literally giving away the company when it comes to enterprise contracts - they sell licenses rather than lease them. Had IBM sold software, I doubt they would be as successful as they are today.

    I know a lot of people like to bash Microsoft, but when it comes to exploitation and greed, IBM wins hands down. Mainframe customers routinely pay IBM yearly fees to run hardware they've already bought. IBM software, though, is usually much better than Microsoft's. Perhaps if Microsoft did charge yearly fees, it would be possible to buy a Windows PC that didn't crash.

    Regardless, one of the most disheartening aspects of my profession is the amount of sheer greed and legalized fraud that occurs. Some days, I feel as dirty as a lawyer...

    --
    The society for a thought-free internet welcomes you.
  43. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  44. We use Genica drive bays at my work. by C0untZer0 · · Score: 1

    Genica drive bays allow you to hot-swap IDE drives in linux, pretty seamlessly. They are also pretty cheap. Every server in our cluster is outfitted with these drives, so we can swap in spares when the inevitable breakdowns occur. They work by sitting in 5 1/4' (CD) slots, with a turn key that switches between the two positions, on and removable. The only drawbacks i can think of offhand are that you have to open the case to install the bay, the droves sticks out slightly in front, and that they require 5 1/4 slots.

  45. All works fine by JCAB · · Score: 1

    I've been using a Fujitsu MHT2040AT 40GB drive in a Hotdrive 2.5 enclosure (supports USB 2.0 and 1394, but I have only used the USB part, because Firewire seems to require an external power supply) and I'm more than happy with it.

    I've used it for over a month now, mostly on WinXP, with multi-GB files, and it has worked pretty well so far. Of course, I've been careful with stopping it before unplugging. The only quirk seems to be that sometimes, when plugging it in, Windows Explorer doesn't quite understand what it is. I mean... you can use it without a problem, but sometimes it appears as a blank entry in the Explorer.

    But it's nice and small and the carrying folder is a nice touch. Makes it look like a PDA. Now, if only they had included in the folder a compartment for the USB cable... :)

    --
    Salutaciones, JCAB
  46. Re:Dilbert is funny, witty. by Anonymous Coward · · Score: 0

    Since when is there twelve bits in a byte?

  47. Re:Dissertation on the uselessness of Linux zealot by 0x1337 · · Score: 1

    4 hours? Maybe you shouldn't have compiled it on your 386.

  48. To save time by nurb432 · · Score: 1

    From reading his post, its most likley that is is loading fresh drives for new pcs.

    Haivng to shutdown, power off, swap drives, power on, boot, etc wastes time that adds up really fast if you are doing more then a couple.

    Plus you have the issue of stress on your cables, machine, etc.

    One solution would be to get a removable IDE bay, and hardwire a switch to the power cable to it so you can safely power off before swapping drives in/out.

    --
    ---- Booth was a patriot ----
    1. Re:To save time by Dun+Malg · · Score: 1
      One solution would be to get a removable IDE bay, and hardwire a switch to the power cable to it so you can safely power off before swapping drives in/out.

      Pretty much all removable drive enclosures have this already. The key lock that keeps the drive from being yanked out is also the power switch.

      --
      If a job's not worth doing, it's not worth doing right.
  49. I'm sorry you don't like linux anymore. by Ayanami+Rei · · Score: 1

    Because it kicks ass compared to 5 years ago, esp. with Mandrake or even RedHat.
    I mean, do you need anything more than emulated games?

    Anyway. What the _hell_ is SubGenius? It's so fucking, I don't know, lame + inaccessible + clique-y.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  50. 3ware controller by Dan+Yocum · · Score: 1

    Consider purchasing a 2,4,8, or 12 port 3ware controller, depending on your need.

  51. Old Removeable bays by nurb432 · · Score: 1

    All the ones i have are older, and dont sport power-locks..

    I guess times have changed....

    --
    ---- Booth was a patriot ----
  52. Re:Dissertation on the uselessness of Linux zealot by ClioCJS · · Score: 1
    It was a DecStation Alpha 400mHz that Virginia Tech strongly encouraged the freshmen of that year to purchase. It's one of their little tricks to make more money. They acted like "maybe you could get through one semester without it" and my dad bought it even though I told him it was b.s.

    Funny thing was, their statements seemed false to me. Every year they pulled the same crap with a different hardware platform (the older students had Amigas). Because of this, most classes had mixed-platform sets of students so most students just wanted ANSI C or similar cross-platform development. So it was total b.s. that you ever needed such a p.o.s. computer. To this day it has served as a useles $3000 box in my father's basement. And that unix sucked even more than linux.

    --
    -Clio
    Karma: Bad (mostly from not giving a fuck)
    Blog: http://clintjcl.wordpress.com
  53. Should be no problem by thasmudyan · · Score: 1

    ...provided that you have two or more identical drives from the same manufacturer. I used a removable drive bay where I alternately swap between two trays containing drives with identical specs.
    Just umount the drive, unlock the bay, swap the drives, lock the bay, mount the drive. Works!
    To my knowledge the drives must be identical because the BIOS only reads the configuration once - at boot time - and after that never again. The trick with identical drives works (I think) because the computer cannot tell whether it is actually the *same* drive that had just been hibernated. The umount/mount works because umount forces all remaining data to be committed to storage and mount re-reads the drive data (like directories and stuff).