LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2010, 06:27 AM   #1
fahedakhter
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
/dev/sdd1 is not a valid block device


When I try to mount the /dev/sdd1 device then it give error

mount -t ext3 /dev/sdd1 /4hd

mount:/dev/sdd1 is not a valid block device

Please advice.

Regards
 
Old 06-14-2010, 06:51 AM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If it is a valid block device then you should see it in a root terminal with command
Code:
fdisk -l
Secondly sdd1 will be listed in /dev directory.

No good to argue with the kernel, get the evidence.
 
Old 06-14-2010, 07:05 AM   #3
fahedakhter
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
/dev/sdd1 is not a valid block device

I cannot see /dev/sdd1 using fdisk -l. Actually I unmount this device by using umount -l /dev/sdd1 command. When I try to remount this device then it give me error.
 
Old 06-14-2010, 08:58 AM   #4
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
Tell us what drives you have in your system.

Also post the outputs of

fdisk -l

and

ls -l /dev/disk/by-id/
 
Old 06-14-2010, 09:09 AM   #5
fahedakhter
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
/dev/sdd1 is not a valid block device

The output of fdisk -l is

brw-rw---- 1 root disk 8, 49 Jun 7 14:08 /dev/sdd1

The output of ls -l /dev/sdd1 is

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 14593 117218241 83 Linux

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 19457 156288321 83 Linux

Disk /dev/sda: 146.8 GB, 146815737856 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 514048+ 83 Linux
/dev/sda2 65 1108 8385930 82 Linux swap
/dev/sda3 1109 17849 134472082+ 83 Linux

Disk /dev/sdb: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 4462 35840983+ 83 Linux

Disk /dev/sdc: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 4462 35840983+ 83 Linux

Disk /dev/sde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sde1 1 30401 244196001 83 Linux
 
Old 06-14-2010, 09:35 AM   #6
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
(BTW you 'crossed' your commands and their outputs)

Hmmm...this is indeed odd.

I know it's a bit of a Windows-y way to do things, but is this machine rebooted reasonably often? If not, you could try doing so.
 
Old 06-14-2010, 11:19 AM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Don't see any sdd disk reported so I am of same opinion as the kernel which reports

hda - 120Gb
hdb - 160Gb
sda - 146.8Gb
sdb - 36.7Gb
sdc - 36.7GB
sde - 250Gb

So may be we should ask what makes the OP thinks sdd is a block device? Could it be a CD rom?
 
Old 06-14-2010, 01:36 PM   #8
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
What kind of device is /dev/sdd? Hard disk? CD/DVD? Flash disk? Camera or other USB gadget? Something else altogether? Does the device require some other kind of bus such as USB, Firewire, etc, in order to work? If so, perhaps unloading and re-loading the driver for said bus (or re-boot, as someone suggested earlier) would help.
--- rod.
 
Old 06-15-2010, 12:52 AM   #9
fahedakhter
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
/dev/sdd1 is not a valid block device

/dev/sdd1 is Hard disk(SATA). Some days back this device generate problems,All the folders are disappeared from this device but ls -l command continuously shows the space occupied by /dev/sdd1 but not show the contents.So I unmount that device using umount -l /dev/sdd1 command,but when I try to remount that device then it give me the error.

Regards
 
Old 06-15-2010, 03:32 AM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Let's say this hard disk is on its way out.

First the files have corruption and are difficult if not impossible to access.

The second stage is the disk no longer readable. If the Bios cannot communicate with it then it cannot be mounted.

The final stage is the device no longer get detected in the Bios.

Can this be the case?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 05:47 AM
/dev/sda is not a valid block device craig467 Linux - General 23 02-17-2006 05:50 PM
/dev/hda2 not a valid block device KeithKessler Slackware 13 02-10-2005 10:10 AM
/dev/fd0 is not a valid block device allnight Linux - General 7 02-21-2002 09:42 PM
/dev/sda1 is not a valid block device mschrijn Linux - Newbie 0 12-17-2001 02:14 PM


All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration