I had mounted an external usb drive /dev/sdb2 onto /media/sdb2 and was
coping several mega-bytes of files to it when I got some I/O errors.
Then I noticed that all of my /dev/sdb* files were missing from /dev.
When I do an ls -al /dev, all the files are there except the sdb files.
How can I get these back? I'm running Ubuntu 'gutsy' 2.6.20-16-generic.
On Mon, 31 Mar 2008, vze284qe(a)verizon.net wrote:
> On Sun, 30 Mar 2008 21:25:28 -0400
> Mike Frysinger <vapier(a)gentoo.org> wrote:
> > On Sunday 30 March 2008, Chuck Noyes wrote:
> > > I had mounted an external usb drive /dev/sdb2 onto /media/sdb2 and
> > > was coping several mega-bytes of files to it when I got some I/O
> > > errors. Then I noticed that all of my /dev/sdb* files were missing
> > > from /dev.
> > >
> > > When I do an ls -al /dev, all the files are there except the sdb
> > > files.
> > >
> > > How can I get these back? I'm running Ubuntu 'gutsy'
> > > 2.6.20-16-generic.
> > the device nodes only exist as the kernel thinks the device exists.
> > if you got I/O errors and then the device nodes disappeared, the
> > kernel probably detached the device. so even if you made the device
> > nodes by hand, it wouldnt matter as the kernel still wouldnt think
> > the device was attached. review your `dmesg` and if need be,
> > unplug/plug in the USB device. -mike
> Well....this is really strange!
> I booted up another kernel a 2.6.18, and I noticed that the /dev/sdb*
> files were still missing! All of the other /dev files were there.
> So I shut down the computer - power off, unplug, remove battery (it's a
> laptop) and waited a minute. I reinstalled the battery, plugged it in
> and booted up the usual kernel, et voila...the /dev/sdb* files
> reappeared!! All looks good! Even Linux has some strangeness I guess.
> I don't know what caused this in the first place...transient lightning
> bolts? spurrious darktrons?
A few thoughts...
Is the external USB drive self-powered? Did you power-cycle it at
any point? The device itself might have gotten wedged.
It might have shown up as /dev/sda* on some of those interim reboots,
depending on whether there were any other usb storage devices present.
"lsusb", and the tail command Eric suggested, are your friends.
What is sda currently?
[ these work on 2.6.23, not sure about earlier kernels ]
$ cat /sys/block/sda/device/model
$ cat /sys/block/sdb/device/model
Anyway, glad to hear it at least works again.
-----BEGIN PGP SIGNED MESSAGE-----
We will be having our next WLUG meeting this evening at 7:00 PM. All
Linux related topics are open for discussion. Afterwards, we'll grab
some food at a local restaurant.
See ya there!
Andy Stewart, Founder
Worcester Linux Users' Group (http://www.wlug.org)
Chelmsford Linux Meetup Group (http://linux.meetup.com/393)
Amateur Radio: KB1OIQ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Has anyone else noticed that proftpd seems to be off the map now? I've
tried going to their web page to check for latest version / bug fix and I
can't seem to get there...
I guess I'll be upgrading to vsftpd...
I am leary of the allegiances of any politician who refers to their
constituents as "consumers".
Hi - I lost Andy's email - please have him reply.
(the guy that was running Mint Linux on my son's EeePC)
Douglas Maly -- ND1D
115 Northeast Cutoff
Worcester, MA 01606
fax : 508-853-2431
Hello, my name is Mark McLaughlin, I started a computer club in Hudson
which extends to Marlboro. I hooked up with you because I am very
interested in KDE 4 and want to learn
more about how to make linux work for me since I am a writer/enthusiast
not a programmer.
I am getting better at GIMP and re-learning my MS Office skills with
I like to learn inkscape, scribus, do more with KompoZer, and do some
multimedia as well
I could use advice on how to make my computer club function well and if
my club and yours
could mingle a bit here and there on occasion when Fedora 9 and KDE 4.1
finally is available.
I love Fedora, I feel it could catch up to Ubuntu and maybe surpass it
with some new features.
IMHO, Windoze XP will be the last good Windoze OS for sure, Windoze 7
has to be able
to function like linux in order to survive...