Re: SCSI device listing in Linux 2.6
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Thu, 08 Dec 2005 20:01:19 -0600
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
.
- References:
- SCSI device listing in Linux 2.6
- From: googler
- Re: SCSI device listing in Linux 2.6
- From: Dances With Crows
- Re: SCSI device listing in Linux 2.6
- From: Vilmos Soti
- Re: SCSI device listing in Linux 2.6
- From: googler
- SCSI device listing in Linux 2.6
- Prev by Date: Re: fastest way to print a lot of pdf files?
- Next by Date: Re: How to lock all keyboard, VC and X access?
- Previous by thread: Re: SCSI device listing in Linux 2.6
- Next by thread: Re: SCSI device listing in Linux 2.6
- Index(es):
Relevant Pages
|