FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-18-2008, 12:12 AM
jack wallen
 
Default 8.04 mounting second drive help

Hello all.

I just did an update from 7.10 to 8.04. All went well with one very
important exception. I have a data drive that houses all of my important
data. In 7.10 it was /dev/hdb mounted on /data with the command mount
/dev/hdb1 /data. Now, obviously it is seen as /dev/sdb. But if I try to
mount the drive with the command sudo mount /dev/sdb1 /data I am getting
this error:


mount: special device /dev/sdb1 does not exist

but if I look on gparted I can clearly see the device. Even in dmesg I see:

[ 32.115602] sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors
(80026 MB)

[ 32.115615] sd 0:0:1:0: [sdb] Write Protect is off
[ 32.115618] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 32.115635] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 32.115682] sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors
(80026 MB)

[ 32.115691] sd 0:0:1:0: [sdb] Write Protect is off
[ 32.115693] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 32.115707] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA


So can someone please help me get this device mounted? I've tried
everything I can think of. It is pretty critical that I get it mounted.
My latest backup of the drive is about a week old and that's not recent
enough (I know - my mistake on that point.)


Thank you for any help you can give me.

--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 12:19 AM
"Jim Rosser"
 
Default 8.04 mounting second drive help

I dont know if you want to try this but you can use a gui to mount your drive.* Its called storage device manager under System Tools in the application installer.* Once installed it is under System - Administration.*


On Sat, May 17, 2008 at 7:12 PM, jack wallen <jlwallen@monkeypantz.net> wrote:

Hello all.



I just did an update from 7.10 to 8.04. All went well with one very important exception. I have a data drive that houses all of my important data. In 7.10 it was /dev/hdb mounted on /data with the command mount /dev/hdb1 /data. Now, obviously it is seen as /dev/sdb. But if I try to mount the drive with the command sudo mount /dev/sdb1 /data I am getting this error:




mount: special device /dev/sdb1 does not exist



but if I look on gparted I can clearly see the device. Even in dmesg I see:



[ * 32.115602] sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)

[ * 32.115615] sd 0:0:1:0: [sdb] Write Protect is off

[ * 32.115618] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00

[ * 32.115635] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[ * 32.115682] sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)

[ * 32.115691] sd 0:0:1:0: [sdb] Write Protect is off

[ * 32.115693] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00

[ * 32.115707] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA



So can someone please help me get this device mounted? I've tried everything I can think of. It is pretty critical that I get it mounted. My latest backup of the drive is about a week old and that's not recent enough (I know - my mistake on that point.)




Thank you for any help you can give me.



--

jack wallen www.monkeypantz.net




--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
Jim Rosser
Winchester Designs
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 12:25 AM
jack wallen
 
Default 8.04 mounting second drive help

Jim Rosser wrote:
I dont know if you want to try this but you can use a gui to mount
your drive. Its called storage device manager under System Tools in
the application installer. Once installed it is under System -
Administration.

I fired that up. The device shows up as sdb but it has no partitions
listed under it. For instance, sda has sda1 and sda5 under it. sdb,
however, has nothing.



On Sat, May 17, 2008 at 7:12 PM, jack wallen <jlwallen@monkeypantz.net
<mailto:jlwallen@monkeypantz.net>> wrote:


Hello all.

I just did an update from 7.10 to 8.04. All went well with one
very important exception. I have a data drive that houses all of
my important data. In 7.10 it was /dev/hdb mounted on /data with
the command mount /dev/hdb1 /data. Now, obviously it is seen as
/dev/sdb. But if I try to mount the drive with the command sudo
mount /dev/sdb1 /data I am getting this error:

mount: special device /dev/sdb1 does not exist

but if I look on gparted I can clearly see the device. Even in
dmesg I see:

[ 32.115602] sd 0:0:1:0: [sdb] 156301488 512-byte hardware
sectors (80026 MB)
[ 32.115615] sd 0:0:1:0: [sdb] Write Protect is off
[ 32.115618] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 32.115635] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 32.115682] sd 0:0:1:0: [sdb] 156301488 512-byte hardware
sectors (80026 MB)
[ 32.115691] sd 0:0:1:0: [sdb] Write Protect is off
[ 32.115693] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[ 32.115707] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA

So can someone please help me get this device mounted? I've tried
everything I can think of. It is pretty critical that I get it
mounted. My latest backup of the drive is about a week old and
that's not recent enough (I know - my mistake on that point.)

Thank you for any help you can give me.

--
jack wallen www.monkeypantz.net <http://www.monkeypantz.net>



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com <mailto:ubuntu-users@lists.ubuntu.com>
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
Jim Rosser
Winchester Designs


--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 01:18 AM
"Jim Rosser"
 
Default 8.04 mounting second drive help

Well i guess the good news is that it recognized something was there under sdb b/c if it didnt it would not show anything.* This may sound dumb but you might try unplugging the device and the replugging it in.* Then start the program and make sure you refresh it b/c sometimes it does take a few minutes.* Other than this im not sure i can be much help Sorry.


On Sat, May 17, 2008 at 7:25 PM, jack wallen <jlwallen@monkeypantz.net> wrote:

Jim Rosser wrote:


I dont know if you want to try this but you can use a gui to mount your drive. *Its called storage device manager under System Tools in the application installer. *Once installed it is under System - Administration.



I fired that up. The device shows up as sdb but it has no partitions listed under it. For instance, sda has sda1 and sda5 under it. sdb, however, has nothing.






On Sat, May 17, 2008 at 7:12 PM, jack wallen <jlwallen@monkeypantz.net <mailto:jlwallen@monkeypantz.net>> wrote:




* *Hello all.



* *I just did an update from 7.10 to 8.04. All went well with one

* *very important exception. I have a data drive that houses all of

* *my important data. In 7.10 it was /dev/hdb mounted on /data with

* *the command mount /dev/hdb1 /data. Now, obviously it is seen as

* */dev/sdb. But if I try to mount the drive with the command sudo

* *mount /dev/sdb1 /data I am getting this error:



* *mount: special device /dev/sdb1 does not exist



* *but if I look on gparted I can clearly see the device. Even in

* *dmesg I see:



* *[ * 32.115602] sd 0:0:1:0: [sdb] 156301488 512-byte hardware

* *sectors (80026 MB)

* *[ * 32.115615] sd 0:0:1:0: [sdb] Write Protect is off

* *[ * 32.115618] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00

* *[ * 32.115635] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:

* *enabled, doesn't support DPO or FUA

* *[ * 32.115682] sd 0:0:1:0: [sdb] 156301488 512-byte hardware

* *sectors (80026 MB)

* *[ * 32.115691] sd 0:0:1:0: [sdb] Write Protect is off

* *[ * 32.115693] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00

* *[ * 32.115707] sd 0:0:1:0: [sdb] Write cache: enabled, read cache:

* *enabled, doesn't support DPO or FUA



* *So can someone please help me get this device mounted? I've tried

* *everything I can think of. It is pretty critical that I get it

* *mounted. My latest backup of the drive is about a week old and

* *that's not recent enough (I know - my mistake on that point.)



* *Thank you for any help you can give me.



* *-- * *jack wallen www.monkeypantz.net <http://www.monkeypantz.net>





* *--

* *ubuntu-users mailing list

* *ubuntu-users@lists.ubuntu.com <mailto:ubuntu-users@lists.ubuntu.com>


* *Modify settings or unsubscribe at:

* *https://lists.ubuntu.com/mailman/listinfo/ubuntu-users









--

Jim Rosser

Winchester Designs




--

jack wallen www.monkeypantz.net




--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




--
Jim Rosser
Winchester Designs
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 03:06 AM
Rashkae
 
Default 8.04 mounting second drive help

jack wallen wrote:
> Hello all.
>
> I just did an update from 7.10 to 8.04. All went well with one very
> important exception. I have a data drive that houses all of my important
> data. In 7.10 it was /dev/hdb mounted on /data with the command mount
> /dev/hdb1 /data. Now, obviously it is seen as /dev/sdb. But if I try to
> mount the drive with the command sudo mount /dev/sdb1 /data I am getting
> this error:
>

a), first, verify that the drive you are looking at still has partitions.

try sudo fdisk -l /dev/sdb

The output should hopefully be something like

Device Boot Start End Blocks Id System
/dev/sdb1 1 243 1951866 82 Linux

If the partition does indeed exist and fdisk can see it, then it's only
the hotplug scripts are are failing to create the device.

There should be a MAKDEDEV command in your /dev directory, so try:

sudo /dev/MAKEDEV sdb

On my system, I get a message that udev is detected, so the devices are
created in /dev/.static

Then you can try to mount the partition with mount -t auto
/dev/.static/sdb1 /data

If, on the other hand, fdisk does not list any partitions, then your
partition table got wiped out somehow. You then might need to try
something like the Rescue is Possible boot cd to try and re-create the
partition table. I really have no clue how an update might have mussed
the partition table of a hard drive however.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 12:27 PM
jack wallen
 
Default 8.04 mounting second drive help

Rashkae wrote:

first, verify that the drive you are looking at still has partitions.

try sudo fdisk -l /dev/sdb



here's the output:

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db260

Device Boot Start End Blocks Id System
/dev/sdb1 1 9729 78148161 83 Linux


There should be a MAKDEDEV command in your /dev directory, so try:

sudo /dev/MAKEDEV sdb



i get no output from this and sdb does not show up in /dev/.static.

On my system, I get a message that udev is detected, so the devices are
created in /dev/.static

Then you can try to mount the partition with mount -t auto
/dev/.static/sdb1 /data



so when i run the above i get:

mount: special device /dev/.static/sdb1 does not exist


If, on the other hand, fdisk does not list any partitions, then your
partition table got wiped out somehow. You then might need to try
something like the Rescue is Possible boot cd to try and re-create the
partition table. I really have no clue how an update might have mussed
the partition table of a hard drive however.



i'm not sure either but that looks exactly like what happened.


--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 01:01 PM
jack wallen
 
Default 8.04 mounting second drive help

Rashkae wrote:

jack wallen wrote:

The output should hopefully be something like


Device Boot Start End Blocks Id System
/dev/sdb1 1 243 1951866 82 Linux

If the partition does indeed exist and fdisk can see it, then it's only
the hotplug scripts are are failing to create the device.

There should be a MAKDEDEV command in your /dev directory, so try:

sudo /dev/MAKEDEV sdb


i re-ran this again and wound up with some output that doesn't look
good. here it is:


mknod: `sdb-': Read-only file system
makedev sdb b 8 16 root disk 0660: failed
mknod: `sdb1-': Read-only file system
makedev sdb1 b 8 17 root disk 0660: failed
mknod: `sdb2-': Read-only file system
makedev sdb2 b 8 18 root disk 0660: failed
mknod: `sdb3-': Read-only file system
makedev sdb3 b 8 19 root disk 0660: failed
mknod: `sdb4-': Read-only file system
makedev sdb4 b 8 20 root disk 0660: failed
mknod: `sdb5-': Read-only file system
makedev sdb5 b 8 21 root disk 0660: failed
mknod: `sdb6-': Read-only file system
makedev sdb6 b 8 22 root disk 0660: failed
mknod: `sdb7-': Read-only file system
makedev sdb7 b 8 23 root disk 0660: failed
mknod: `sdb8-': Read-only file system
makedev sdb8 b 8 24 root disk 0660: failed
mknod: `sdb9-': Read-only file system
makedev sdb9 b 8 25 root disk 0660: failed
mknod: `sdb10-': Read-only file system
makedev sdb10 b 8 26 root disk 0660: failed
mknod: `sdb11-': Read-only file system
makedev sdb11 b 8 27 root disk 0660: failed
mknod: `sdb12-': Read-only file system
makedev sdb12 b 8 28 root disk 0660: failed
mknod: `sdb13-': Read-only file system
makedev sdb13 b 8 29 root disk 0660: failed
mknod: `sdb14-': Read-only file system
makedev sdb14 b 8 30 root disk 0660: failed
mknod: `sdb15-': Read-only file system
makedev sdb15 b 8 31 root disk 0660: failed

what is this saying? is this salvageable?

On my system, I get a message that udev is detected, so the devices are
created in /dev/.static

Then you can try to mount the partition with mount -t auto
/dev/.static/sdb1 /data

If, on the other hand, fdisk does not list any partitions, then your
partition table got wiped out somehow. You then might need to try
something like the Rescue is Possible boot cd to try and re-create the
partition table. I really have no clue how an update might have mussed
the partition table of a hard drive however.





--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 02:04 PM
Rashkae
 
Default 8.04 mounting second drive help

jack wallen wrote:
>
> Rashkae wrote:
>> jack wallen wrote:
>> The output should hopefully be something like
>>
>> Device Boot Start End Blocks Id System
>> /dev/sdb1 1 243 1951866 82 Linux
>>
>> If the partition does indeed exist and fdisk can see it, then it's only
>> the hotplug scripts are are failing to create the device.
>>
>> There should be a MAKDEDEV command in your /dev directory, so try:
>>
>> sudo /dev/MAKEDEV sdb
>>
>>
> i re-ran this again and wound up with some output that doesn't look
> good. here it is:
>
> mknod: `sdb-': Read-only file system
> makedev sdb b 8 16 root disk 0660: failed
> mknod: `sdb1-': Read-only file system
> makedev sdb1 b 8 17 root disk 0660: failed
> mknod: `sdb2-': Read-only file system
> makedev sdb2 b 8 18 root disk 0660: failed
> mknod: `sdb3-': Read-only file system
> makedev sdb3 b 8 19 root disk 0660: failed
> mknod: `sdb4-': Read-only file system
> makedev sdb4 b 8 20 root disk 0660: failed
> mknod: `sdb5-': Read-only file system
> makedev sdb5 b 8 21 root disk 0660: failed
> mknod: `sdb6-': Read-only file system
> makedev sdb6 b 8 22 root disk 0660: failed
> mknod: `sdb7-': Read-only file system
> makedev sdb7 b 8 23 root disk 0660: failed
> mknod: `sdb8-': Read-only file system
> makedev sdb8 b 8 24 root disk 0660: failed
> mknod: `sdb9-': Read-only file system
> makedev sdb9 b 8 25 root disk 0660: failed
> mknod: `sdb10-': Read-only file system
> makedev sdb10 b 8 26 root disk 0660: failed
> mknod: `sdb11-': Read-only file system
> makedev sdb11 b 8 27 root disk 0660: failed
> mknod: `sdb12-': Read-only file system
> makedev sdb12 b 8 28 root disk 0660: failed
> mknod: `sdb13-': Read-only file system
> makedev sdb13 b 8 29 root disk 0660: failed
> mknod: `sdb14-': Read-only file system
> makedev sdb14 b 8 30 root disk 0660: failed
> mknod: `sdb15-': Read-only file system
> makedev sdb15 b 8 31 root disk 0660: failed
>
> what is this saying? is this salvageable?
>> On my system, I get a message that udev is detected, so the devices are
>> created in /dev/.static
>>
>> Then you can try to mount the partition with mount -t auto
>> /dev/.static/sdb1 /data
>>
>> If, on the other hand, fdisk does not list any partitions, then your
>> partition table got wiped out somehow. You then might need to try
>> something like the Rescue is Possible boot cd to try and re-create the
>> partition table. I really have no clue how an update might have mussed
>> the partition table of a hard drive however.
>>
>>
>>
>

Did MAKEDEV perhaps create the sdb device right in /dev instead of
/dev/.static ?

Maybe the problem is simply that udev is not working on your system at
all and you are relying only on static device files.

Try mount /dev/sdb1 /data again and see if it works now.

If it does, you probably still need to fix udev, but at least now you'll
know what's broken.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 02:10 PM
jack wallen
 
Default 8.04 mounting second drive help

Rashkae wrote:

Did MAKEDEV perhaps create the sdb device right in /dev instead of
/dev/.static ?



it looks like it did.


Maybe the problem is simply that udev is not working on your system at
all and you are relying only on static device files.

Try mount /dev/sdb1 /data again and see if it works now.



nope. i'm getting the following errors:



If it does, you probably still need to fix udev, but at least now you'll
know what's broken.




jlwallen@jlwallen-desktop:/media/bank$ sudo mount /dev/sdb1 /data
mount: special device /dev/sdb1 does not exist
jlwallen@jlwallen-desktop:/media/bank$ sudo mount /dev/sdb2 /data
mount: special device /dev/sdb2 does not exist

--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-18-2008, 02:47 PM
jack wallen
 
Default 8.04 mounting second drive help

Rashkae wrote:

Did MAKEDEV perhaps create the sdb device right in /dev instead of
/dev/.static ?


i just found a bunch of sdb devices in my ~/ directory. i tried to mount
each of them but always had the error:


mount: /home/jlwallen/sdb* is not a valid block device (where * is each
device i tried to mount).



Maybe the problem is simply that udev is not working on your system at
all and you are relying only on static device files.

Try mount /dev/sdb1 /data again and see if it works now.

If it does, you probably still need to fix udev, but at least now you'll
know what's broken.





--
jack wallen
www.monkeypantz.net


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org