DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th November 2010
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default Adding wd4 to Samba

I have drives wd0-wd4 on my pc running openbsd 4.8 that i just installed.

i did fdisk -i wd1 on wd2 wd3
but when i try fdisk -i wd4 it tells me

fdisk: wd4: No such file or directory.

my bios shows 5 drives and the mother board has 6 sata ports. Any idea why these arent showing up.

During boot i get
disks: wd0+ wd1+ wd2 wd3 wd4*
boot>
so it seems that even openbsd recognizes all the drives

How do I get fdisk to recognize wd4?
Reply With Quote
  #2   (View Single Post)  
Old 14th November 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by EverydayDiesel View Post
During boot i get
disks: wd0+ wd1+ wd2 wd3 wd4*
boot>
Which drive is booting OpenBSD? Hint, look at the output of the following command:

$ mount

If you still have questions, post the output here enclosed in [code] & [/code] tags.
Reply With Quote
  #3   (View Single Post)  
Old 14th November 2010
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default

wd0 is my boot drive

mount gives me
the local drives
Code:
/dev/wd0a on / type ffs(local)
then all the devices on /wd0 (a-j)
/dev/wd1a on /drive1 type ffs (local)
/dev/wd2a on /drive2 type ffs (local)
/dev/wd3a on /drive3 type ffs (local)
where is wd4?

ill read about mount in the mean time

Last edited by EverydayDiesel; 14th November 2010 at 07:18 PM.
Reply With Quote
  #4   (View Single Post)  
Old 14th November 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

by default, MAKEDEV only makes four WD hardrive device sets. wd0-wd3.

Try:

# cd /dev
# sh MAKEDEV wd4

At that point, you should have device nodes for wd4.
Reply With Quote
  #5   (View Single Post)  
Old 14th November 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Exactly what jggimi said, OpenBSD does not have a dynamic devfs.. /dev is just a directory full of device nodes on the root partition, additional nodes must be created manually.
Reply With Quote
  #6   (View Single Post)  
Old 15th November 2010
EverydayDiesel EverydayDiesel is offline
Shell Scout
 
Join Date: Jan 2009
Posts: 124
Default

that did the trick, thanks everyone for the help
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 3 - Adding magnet: protocol whetphish FreeBSD General 1 22nd November 2009 07:24 PM
What are rules about adding commands to mfsroot? PeterSteele FreeBSD Installation and Upgrading 12 18th November 2008 04:21 PM
Adding a separate /home JMJ_coder NetBSD General 2 29th August 2008 10:45 AM
Having trouble adding 7.0 to GRUB 0.97 Arenlor FreeBSD General 4 26th June 2008 01:02 AM
Adding multiple lines into file c0mrade Programming 4 7th June 2008 11:03 PM


All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick