Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mke2fs hdd1, device does not exist :S [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Wed Apr 05, 2006 9:26 pm    Post subject: mke2fs hdd1, device does not exist :S [SOLVED] Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Wed Apr 05, 2006 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Thu Apr 06, 2006 10:46 am    Post subject: Reply with quote

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.


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Thu Apr 06, 2006 12:54 pm    Post subject: Reply with quote

Boot from the live CD, do an emerge --sync and update udev to 089-r2 and everything will be fixed.


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Thu Apr 06, 2006 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Thu Apr 06, 2006 3:19 pm    Post subject: Reply with quote

Have you checked /dev for the device hdd? Whats the output of
Code:
ls -l /dev/hd*

?

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
View user's profile Send private message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Thu Apr 06, 2006 9:28 pm    Post subject: Reply with quote

only hdd is listed. hdd1 is missing


could you explain the mknod cmd, the help is quiet confusing.
_________________
_ Got Root? _
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu Apr 06, 2006 10:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Fri Apr 07, 2006 9:17 am    Post subject: Reply with quote

no errors.. in dmesg or messages
_________________
_ Got Root? _
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sat Apr 08, 2006 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
PietdeBoer
Apprentice
Apprentice


Joined: 20 Oct 2005
Posts: 244
Location: Eindhoven, the Netherlands

PostPosted: Sun Apr 09, 2006 12:31 pm    Post subject: Reply with quote

creating filesystem :) works like a charm


thx for your help!
_________________
_ Got Root? _
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Apr 09, 2006 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum