Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to reclaim device name after malfunction?

0 views
Skip to first unread message

galapogos

unread,
Aug 13, 2009, 10:12:39 PM8/13/09
to
Hi

Sometimes when I hotplug a SATA device to/from say /dev/sdb on my
Mandriva 2009.1 system, it malfunctions/times out, and cannot be
detected. Then when I plug in another SATA device, it gets detected
as /dev/sdc even though /dev/sdb is no longer there. How can I
reclaim /dev/sdb in this case?

Thanks

Robert Heller

unread,
Aug 13, 2009, 10:35:47 PM8/13/09
to

You can't (short of rebooting).

You should consider volume labels or UUIDss and not depend on SCSI device names.

>
> Thanks
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/

Matt Giwer

unread,
Aug 13, 2009, 11:28:03 PM8/13/09
to

I have never gotten anywhere near sdz (using Redhat) but I assume there is
some scheme after that. Why is it you want to recover it? If you have some
mount script look into

mount -L label

and see if that is not a better way to do what you want.

As another shot in the dark I have found it the least frustrating to turn off
all automount procedures for a DVD/CD drive.

--
If a gay kills a gay is it a love crime?
-- The Iron Webmaster, 4178
http://www.giwersworld.org/israel/is-seg.phtml a14
Thu Aug 13 23:08:28 EDT 2009

0 new messages