"Bois, Mathieu" wrote:

> Hi,
>
> I'm wondering if a command like drvconfig/disks for Solaris exist on Linux
> for PC too.
>
> A few days ago, I have hot plugged a SCSI disk while Linux was running, but
> it didn't want to recognize there was a /dev/sdb device now plugged in
> (during the boot, it detected the usual SCSI disk /dev/sda).
>
> I think a solution would be to put the SCSI driver, aic7xxx as a module and
> not part of the kernel, and unload and reload it when I want to hot plug a
> new disk. BUT my first SCSI disk is the disk where the "/" of Linux is
> located in, so I couldn't even do that.
>
> Thanks to give me a solution if it exists. If it doesn't, explain me why (PC
> BIOS ? Adaptec BIOS ? no such command on Linux ? ... ?)
>
> The kernel I was using when doing that was 2.2.13 on a Mandrake 6.0, on a
> PII PC and an Adaptec 2940U2W card.
>
> Thanks and regards
>
> Mathieu

The command doesn't exist because Linux was not originally intended for the
market Solaris is in.  The mid-level server stuff will be appearing in later
kernels, like 2.4 and on.  One of the "Linux Myths" Microsoft published on its
site (and pure FUD) was that D. H. Brown evaluated it negatively for mid-level
server applications.  That was and is true, but irrelevant, because Windows has
the same shortcomings for that application.  Just as Windows showed that "linux
is a Unix system and the operating costs of a Unix system are greater than
those of NT" (They compared it to running a Solaris system).

Likely there is a workaround based on a script to modify /etc/fstab and restart
fileservices on the fly.  I do something remarkably similar with IDE drives for
the very pedestrian application of making a backup with a removable IDE Drive.
I use mods to fstab and mount/umount commands and little else.  Your specifics
would vary.

Look for something very much like what you describe in kernel 2.4.

Civileme

Reply via email to