Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just replaced a failed member of a raid1 volume and I can't get the OS (Gentoo) to recognize the new drive. I really can't reboot this server right now. Is there a way to poll the hard drives without rebooting?
I assume we are talking about IDE here? IDE drives are not hot-swappable (aside from things like some laptop drive bays), which is a hardware problem and not something you can resolve in software.
SATA is another story though, and you shouldn't have any problems swapping them out.
I assume we are talking about IDE here? IDE drives are not hot-swappable (aside from things like some laptop drive bays), which is a hardware problem and not something you can resolve in software.
SATA is another story though, and you shouldn't have any problems swapping them out.
You can only hot swap IDE if the drive is mounted in a special tray that converts to a SATA;
Quote:
excerpt from 'http://www.addonics.com/products/mobile_rack/aenrhd25.asp';
The Mobile Rack25 is one of few removable hard drive kit in the market for 2.5" hard drive. It turns practically any 2.5" IDE hard drive instantly into a removable IDE hard drive or a hot swappable Serial ATA hard drive in any desktop computer or equipment. With the Serial ATA option, you can use the hard drive like a drive cartridge, without the need to reboot the system when you remove or insert the hard drive into the drive bay. The enclosure, when is removed from the drive cradle, can also be connected to any computer as an external hard drive using one of the Addonics optional interface cables - USB2.0, Firewire, PCMCIA or Serial ATA.
This has been done but by the time you purchase the kit you might as well get the rack designed for Hotswap SATA and the drive kit for that. You wouldn't need to get the additional shockmount kit for the IDE.
Yes, you shouldn't hotswap IDE drives unless you have specifical designs to allow such.
echo "- - -" >/sys/class/scsi_host/host0/scan
bash: /sys/class/scsi_host/host0/scan: No such file or directory
The drives are definately hot swappable SATA drives, but the system identified them as /dev/hda and /dev/hdb. I've tried two different replacement drives and neither one is automatically recognized by the system. This is more complicated than I thought.
I inherited this server and there's no documentation, but I'm fairly certain the RAID volumes were created using mdadm. Here's the output from mdadm - D:
*********************
webdev / # mdadm -D /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Thu Sep 29 07:19:53 2005
Raid Level : raid1
Array Size : 72192 (70.51 MiB 73.92 MB)
Used Dev Size : 72192 (70.51 MiB 73.92 MB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Wed Aug 19 14:55:47 2009
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
**************************************************
Disk /dev/hdb: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 9 72261 fd Linux raid autodetect
/dev/hdb2 10 259 2008125 82 Linux swap / Solaris
/dev/hdb3 260 9039 70525350 fd Linux raid autodetect
Disk /dev/md0: 73 MB, 73924608 bytes
2 heads, 4 sectors/track, 18048 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md2: 72.2 GB, 72217853952 bytes
2 heads, 4 sectors/track, 17631312 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
*****************************************************
The SATA controller is:
IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
Right now, I'm afraid to even reboot this system because I'm not certain that hdb1 has an MBR or a valid partition table.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.