View previous topic :: View next topic |
Author |
Message |
PietdeBoer Apprentice
Joined: 20 Oct 2005 Posts: 244 Location: Eindhoven, the Netherlands
|
Posted: Wed Apr 05, 2006 9:26 pm Post subject: mke2fs hdd1, device does not exist :S [SOLVED] |
|
|
Hey guys,
i recently installed a 250GB IDE hdd.
i've added a partition, wich shows itself perfectly when doing fdisk -l
so i want to create an ext3 filesystem on this partition:
Code: |
Fileserver ~ # mke2fs -j /dev/hdd1
mke2fs 1.37 (21-Mar-2005)
Could not stat /dev/hdd1 --- No such file or directory
The device apparently does not exist; did you specify it correctly?
|
Code: |
Fileserver ~ # fdisk -l /dev/hdd
Disk /dev/hdd: 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/hdd1 1 30401 244196001 83 Linux
|
any ideas?
thx for the help! _________________ _ Got Root? _
Last edited by PietdeBoer on Sun Apr 09, 2006 1:33 pm; edited 1 time in total |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Apr 05, 2006 11:36 pm Post subject: |
|
|
Hi.
Do you have the /dev/hdd1 device? Do you get any error in dmesg? Are you able to create a reiserfs or other filesystem in this partition? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Thu Apr 06, 2006 10:46 am Post subject: |
|
|
I've the same error. I think you may use a bronken update, cause if you do an ls -ls to your / you will see the contents of /dev there... I'm still trying to figura what happend. Probably a simple boot from a live CD and update will fix it.
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Thu Apr 06, 2006 12:54 pm Post subject: |
|
|
Boot from the live CD, do an emerge --sync and update udev to 089-r2 and everything will be fixed.
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
PietdeBoer Apprentice
Joined: 20 Oct 2005 Posts: 244 Location: Eindhoven, the Netherlands
|
Posted: Thu Apr 06, 2006 3:04 pm Post subject: |
|
|
are you sure this is my problem, this server serves a lot of people, i do not want it to go down.. got any other solutions? _________________ _ Got Root? _ |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Thu Apr 06, 2006 3:19 pm Post subject: |
|
|
Have you checked /dev for the device hdd? Whats the output of
?
You could create the device manually with the mknod command if needed.
EDIT: You may want to try ext3 with the dir index option and mount the partition with "noatime". Quite speedy
Code: | mke2fs -j -O dir_index /dev/hdd1 |
|
|
Back to top |
|
|
PietdeBoer Apprentice
Joined: 20 Oct 2005 Posts: 244 Location: Eindhoven, the Netherlands
|
Posted: Thu Apr 06, 2006 9:28 pm Post subject: |
|
|
only hdd is listed. hdd1 is missing
could you explain the mknod cmd, the help is quiet confusing. _________________ _ Got Root? _ |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Apr 06, 2006 10:31 pm Post subject: |
|
|
Have you looked at dmesg? Does it show any error? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
PietdeBoer Apprentice
Joined: 20 Oct 2005 Posts: 244 Location: Eindhoven, the Netherlands
|
Posted: Fri Apr 07, 2006 9:17 am Post subject: |
|
|
no errors.. in dmesg or messages _________________ _ Got Root? _ |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sat Apr 08, 2006 4:29 pm Post subject: |
|
|
Are you able to create a filesystem after creating the device node?
Code: | # mknod /dev/hdd1 b 22 65 |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
PietdeBoer Apprentice
Joined: 20 Oct 2005 Posts: 244 Location: Eindhoven, the Netherlands
|
Posted: Sun Apr 09, 2006 12:31 pm Post subject: |
|
|
creating filesystem works like a charm
thx for your help! _________________ _ Got Root? _ |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Apr 09, 2006 1:05 pm Post subject: |
|
|
If your probelm is solved, please add [solved] to the thread title (edit first post). _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
|