LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-04-2006, 11:06 PM   #1
balvinder
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Question disk partitions not showing up


Hi,

I have 13 partitions on the hda drive. When I try to see under /dev, I can see only 10 of them. Any pointer how can I see the others? How can I get the /dev entries created without rebooting the box?


[root@it-dbamon ~]# ls -trl /dev/hda*
brw-rw---- 1 root disk 3, 0 May 4 10:18 /dev/hda
brw-rw---- 1 root disk 3, 10 May 4 10:18 /dev/hda10
brw-rw---- 1 root disk 3, 1 May 4 10:18 /dev/hda1
brw-rw---- 1 root disk 3, 3 May 4 10:18 /dev/hda3
brw-rw---- 1 root disk 3, 2 May 4 10:18 /dev/hda2
brw-rw---- 1 root disk 3, 5 May 4 10:18 /dev/hda5
brw-rw---- 1 root disk 3, 4 May 4 10:18 /dev/hda4
brw-rw---- 1 root disk 3, 7 May 4 10:18 /dev/hda7
brw-rw---- 1 root disk 3, 6 May 4 10:18 /dev/hda6
brw-rw---- 1 root disk 3, 9 May 4 10:18 /dev/hda9
brw-rw---- 1 root disk 3, 8 May 4 10:18 /dev/hda8
[root@it-dbamon ~]# fdisk -l /dev/hda


Disk /dev/hda: 20.8 GB, 20847697920 bytes
255 heads, 63 sectors/track, 2534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Device Boot Start End Blocks Id System
/dev/hda1 * 1 392 3148708+ 83 Linux
/dev/hda2 393 914 4192965 83 Linux
/dev/hda3 915 1436 4192965 83 Linux
/dev/hda4 1437 2534 8819685 5 Extended
/dev/hda5 1437 1828 3148708+ 83 Linux
/dev/hda6 2090 2220 1052226 83 Linux
/dev/hda7 2221 2285 522081 82 Linux swap
/dev/hda8 2286 2318 265041 83 Linux
/dev/hda9 1829 1896 546178+ 82 Linux swap
/dev/hda10 1897 1927 248976 83 Linux
/dev/hda11 1928 1989 497983+ 83 Linux
/dev/hda12 1990 2051 497983+ 83 Linux
/dev/hda13 2052 2089 305203+ 83 Linux


Partition table entries are not in disk order


I need to create the filesystems on the partitions 11-13 and have them
mounted but can't do it. The mkfs fails to find the devices


[root@it-dbamon ~]# mkfs.ext2 /dev/hda11
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/hda11 --- No such file or directory


The device apparently does not exist; did you specify it correctly?
[root@it-dbamon ~]# mkfs.ext3 /dev/hda11
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/hda11 --- No such file or directory


The device apparently does not exist; did you specify it correctly?
[root@it-dbamon ~]#
 
Old 05-05-2006, 12:33 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
See:

$ man MAKEDEV

The implementation varies somewhat from distro to distro, so you need to read the man page to see how to do it with your unknown distro. You will be looking for something like “MAKEDEV hda”.

Rebooting should also accomplish what you want to do.
 
  


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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 02:11 PM
NTFS partitions not showing up in Mepis anymore AquaInferno MEPIS 5 09-08-2005 03:34 AM
freeBSD install - fdisk not showing partitions? a2ps *BSD 2 06-26-2005 12:02 PM
disk not showing up in 'df' command jjordan Mandriva 8 09-25-2004 10:29 PM
Not showing window partitions utsav_verma Fedora - Installation 2 04-10-2004 02:34 PM


All times are GMT -5. The time now is 04:54 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration