Re: [opensuse] Modular Hard Disk on Laptop
So is there a way to turn off power to the modular device and then unload it and >put in the new device and have it plug and play. I know in the past Dell has made some windows apps that do that for you so that you can have this capability. Does anyone know of a similar Linux App.
-Cameron
hi, have a look at the software-RAID HOWTO (www.google.com) at the beginning, the author give some tips (and links ???) about ide hot plugging ... what I remember is only that it is more risky than with an scsi sub-system ... the thing is that if you remove somehow the dvd drive, you need to force the system to re-scan the ide bus the get proper access to your hard drive. Good Luck, MaNU --
have a look at the software- RAID HOWTO (www.google.com) at the beginning, the author give some tips (and links ???) about ide hot plugging ... what I remember is only that it is more risky than with an scsi sub- system ...
the thing is that if you remove somehow the dvd drive, you need to force the system to re- scan the ide bus the get proper access to your hard drive.
How can i force the system to rescan the ide bus so that i can get access to the other device that i plug in. -Cameron
Cameron Seader wrote:
have a look at the software- RAID HOWTO (www.google.com) at the beginning, the author give some tips (and links ???) about ide hot plugging ... what I remember is only that it is more risky than with an scsi sub- system ...
the thing is that if you remove somehow the dvd drive, you need to force the system to re- scan the ide bus the get proper access to your hard drive.
How can i force the system to rescan the ide bus so that i can get access to the other device that i plug in. -Cameron
You might try "hdparm -U" then "hdparm -R", but FIRST READ THE MAN PAGE about hdparm, and contents of "/usr/share/doc/packages/hdparm"! I have NEVER tried this myself, so do it on your own risk. (allthough I don't think it can do any real damage except mess your data, but you are doing regular backups, aren't you?) Siniša Bandin Novi Sad Serbia&Montenegro Europe planet Earth
Sini*a Bandin,
You might try "hdparm -U" then "hdparm -R", but FIRST READ THE MAN PAGE about hdparm, and contents of "/usr/share/doc/packages/hdparm"!
I have NEVER tried this myself, so do it on your own risk. (allthough I don't think it can do any real damage except mess your data, but you are doing regular backups, aren't you?)
Well this partially worked. I went into /usr/share/doc/packages/hdparm which includes the shell scripts idectl and ultrabayd, which i used the idectl script to turn off the ide bay so that i could remove it and that worked great. here is the command used "idectl 1 off". Now when i put the new device into the bay and issue the command "idectl 1 on" it does not turn it back on and give this error "/dev/hdc: No such file or directory". Why would /dev/hdc be missing and why is it calling it when i issue the on option of the script. I am thinking that there is something wrong with the script i may have to issues some hdparm command instead. -Cameron
All,
On Wed, Oct 12, 2005 at 3:44 pm, in message <434D2F55.EFE5.005B.0@novell.com>, cseader@novell.com wrote: Sini*a Bandin,
You might try "hdparm - U" then "hdparm - R", but FIRST READ THE MAN PAGE about hdparm, and contents of "/usr/share/doc/packages/hdparm"!
I have NEVER tried this myself, so do it on your own risk. (allthough I don't think it can do any real damage except mess your data, but you are doing regular backups, aren't you?)
Well this partially worked. I went into /usr/share/doc/packages/hdparm which includes the shell scripts idectl and ultrabayd, which i used the idectl script to turn off the ide bay so that i could remove it and that worked great. here is the command used "idectl 1 off". Now when i put the new device into the bay and issue the command "idectl 1 on" it does not turn it back on and give this error "/dev/hdc: No such file or directory". Why would /dev/hdc be missing and why is it calling it when i issue the on option of the script. I am thinking that there is something wrong with the script i may have to issues some hdparm command instead.
- Cameron
well i tried a "makedev hdc in /dev/" i got hdc to show back up, but still i get the same error when issuing "idectl 1 on" why? seems kind of strange. Anyone have any ideas? -Cameron
On Wed, Oct 12, 2005 at 4:47 pm, in message <434D3E08.EFE5.005B.0@novell.com>, cseader@novell.com wrote: All,
On Wed, Oct 12, 2005 at 3:44 pm, in message <434D2F55.EFE5.005B.0@novell.com>, cseader@novell.com wrote: Sini*a Bandin,
You might try "hdparm - U" then "hdparm - R", but FIRST READ THE MAN PAGE about hdparm, and contents of "/usr/share/doc/packages/hdparm"!
I have NEVER tried this myself, so do it on your own risk. (allthough I don't think it can do any real damage except mess your data, but you are doing regular backups, aren't you?)
Well this partially worked. I went into /usr/share/doc/packages/hdparm which includes the shell scripts idectl and ultrabayd, which i used the idectl script to turn off the ide bay so that i could remove it and that worked great. here is the command used "idectl 1 off". Now when i put the new device into the bay and issue the command "idectl 1 on" it does not turn it back on and give this error "/dev/hdc: No such file or directory". Why would /dev/hdc be missing and why is it calling it when i issue the on option of the script. I am thinking that there is something wrong with the script i may have to issues some hdparm command instead.
- Cameron
well i tried a "makedev hdc in /dev/" i got hdc to show back up, but still i get the same error when issuing "idectl 1 on" why? seems kind of strange. Anyone have any ideas? - Cameron
anyone have any ideas? I tried this again after a reboot and still does the same thing. -Cameron
Am Donnerstag, 13. Oktober 2005 00:47 schrieb Cameron Seader:
well i tried a "makedev hdc in /dev/" i got hdc to show back up, but still i get the same error when issuing "idectl 1 on" why? seems kind of strange. Anyone have any ideas? -Cameron
Hi Cameron, hope you did a mknod -m 0660 /dev/hdc b 22 0 Shouldn't this be done by udev? -- mdc
Hi mdc,
hope you did a mknod - m 0660 /dev/hdc b 22 0
No, i did not do this, i will try this out. Thanks.
Shouldn't this be done by udev?
Not sure, but i think so. It is not doing it though. I am documenting my whole process here on this, and i will write something up about it when i am done and have it working on SUSE Linux 10.0 -Cameron
On Fri, Oct 14, 2005 at 8:53 am, in message <434F71EB.EFE5.005B.0@novell.com>, cseader@novell.com wrote: Hi mdc,
hope you did a mknod - m 0660 /dev/hdc b 22 0
Wel i have tried the mknod and it does not work either. hmmm anyone else have any ideas. not sure how to get it to rescan the ide interface. It sure brings it down great, but rescanning does not work at all. How can you force a rescan of the ide interface? -Cameron
participants (4)
-
Cameron Seader
-
eescar@free.fr
-
meister@netz00.com
-
Sinisa Bandin