• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Debian - How do I create a /dev/sdh ?

Brazen

Diamond Member
I had noticed that an install of Debian already has /dev/sda thru /dev/sdg created even if you don't need them. Well I need them and then some. I'm attaching SAN luns to this server and I've used up /dev/sda thru /dev/sdg and I need a /dev/sdh. I thought maybe it would just create it when I attached the lun to it, but it is giving me an error "Error looking up object "/dev/sdh".". So how do I create a /dev/sdh?
 
mknod

search for an old post by me, I think I posted the exact command, and some problems I had with the large amount of drives.
 
cd /dev
./MAKEDEV sd

From looking at MAKEDEV that should create sda through sdp, I guess the installer only creates up to sdg since most people don't have that many disks.
 
today must be my day for dumb questions. I realized I missed attaching one of the LUNs to the server. I attached the LUN and rebooted and now the /dev/sdh is there.
 
I just assumed you were using a version of Debian that doesn't have udev, if you do have udev it'll create them as necessary.
 
Does udev depend on the kernel? I am using the latest Debian which by default uses a 2.4 kernel, but I updated it to a 2.6.8 kernel.
 
I THOUGHT udev required the 2.6 kernel, but tbh I'm stabbing in the dark. I almost always run linux26 to install deb stable anyway.
 
udev does require a 2.6 kernel but the newest udev also requires a newer 2.6 kernel, like at least 2.6.12 I think. The udev maintainer wasn't exactly good about maintaining compatibility in the first half of udev's life cycle so it can be a bit of a pain to upgrade unless you were doing it as things changed.
 
Back
Top