Re: SCSI device listing in Linux 2.6



On 8 Dec 2005 16:12:13 -0800, googler staggered into the Black Sun and
said:
> Vilmos Soti wrote:
>> Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx> writes:
>> > The same command works on 2.6, as long as you've enabled /proc
>> > filesystem support. You really want /proc filesystem support,
>> And also "legacy /proc/scsi support" from the scsi menu.

Hm. That one's not in 2.6.12 here.

> I rebooted the system and the logical drive (volume) showed up.
> Wondering if /proc/scsi/scsi doesn't get updated immediately after the
> volume creation..

"Volume creation"? Er... what exactly did you do here? Did you
repartition something? Add a disk? Do something to a SAN unit? Do
something with LVM?

If you need to add or subtract SCSI devices from a running system, you
do this:

echo "scsi-add-single-device X Y Z W" > /proc/scsi/scsi

....where X is the controller#, Y is the bus#, Z is the ID, and W is the
LUN of the device you just added. Removing SCSI devices from a running
system is the same except s/add/remove/ . This is not insanely obvious,
so don't feel bad about missing it.

If you repartitioned the disk containing / , you may not be able to see
any partitions you created because repartitioning the disk with / on it
is tricky. / must always be mounted, after all, and removing or moving
its partition could cause Undefined Behavior. So when you repartition
the disk with / on it, you typically do it from a LiveCD or you reboot
immediately afterwards.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.



Relevant Pages

  • Re: Prevent command prompt from popping up at system startup
    ... -You want to run ewfmgr -commit to commit the data files to disk. ... This won't use up your RAM overlay. ... would be hard to estimate how big the EWF overlay can be. ... you can always force your device to reboot on a scheduled ...
    (microsoft.public.windowsxp.embedded)
  • Re: hard drive scrubbing utility
    ... disk scrubber could be bypassed by a rootkit, or even another level of filter driver. ... So if I put my secret data on the computer, ... each windows XP software system at each reboot. ... I have some ideas as to a method to scrub a hard drive on the fly. ...
    (microsoft.public.vc.mfc)
  • Re: Newbie II: proper dismount
    ... Whenever I reboot my machine that way (or shut it down with the proper ... I assume the improper dismount is the USER volume, ... Try moving it to the system disk. ... VMS maintains caches of free blocks and free file headers ...
    (comp.os.vms)
  • Re: Why most run Microsoft, not RedHat
    ... How would you repair an XP installation that continuously reboots after installing a USB keyboard and SATA drivers? ... I did check for minidumps from the ultimate Microsoft OS (always in automatic reboot mode) after installing W2k in the same partition. ... I could not remove the SATA drive since the installation was on that disk. ... "tech support" and finally got the disk and did a clean install to get ...
    (Fedora)
  • RE: Constant Crash
    ... disk - check I have the system rebuild disk and licence keys - then reformat ... Reboot came up blue screen with general ... I booted to safe mode and logged in as ADMIN. ...
    (microsoft.public.windows.mediacenter)