LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
 
Search this Thread
Old 11-13-2013, 12:01 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 457

Rep: Reputation: 31
Question What happens when /dev/sd[a-z] runs our of letters?


I was replacing a btrfs array so I have a pile of USB3 drives connected at the moment. See I'm up to /dev/sdj.... and thought what happens after /dev/sdz? Does it start with /dev/sdaa /dev/sdab?

Not that I plan on having 27 drives connected to my computer...
 
Old 11-13-2013, 02:34 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,609
Blog Entries: 35

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
There's a limit to the number of SCSI special devices (/dev/sdX) which Linux can utilize (see IBM article).

But to answer your question more directly let's turn to the Linux Kernel documentation specifically devices.txt.

In devices.txt...

Analyzing that document the Linux kernel 3.12 (which are the links I provided) can support up to 256 disk drives (i.e. SCSI disk devices). The naming starts at sda-sdz and once sdz is reached it wraps around to sdaa-sdaz and so on. The very last possible device in this naming convention is sdiv.

Code:
#all possible device names
sd[a-z]
sda[a-z]
sdb[a-z]
sdc[a-z]
sdd[a-z]
sde[a-z]
sdf[a-z]
sdg[a-z]
sdh[a-z]
sdi[a-v]
SAM

Last edited by sag47; 11-13-2013 at 02:39 PM.
 
2 members found this post helpful.
  


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
to grep 100 letters out of 500 letters on certain criteria l_ravi69 Programming 3 10-13-2013 11:37 AM
LXer: Smart grid data concentrator dev kit runs Linux LXer Syndicated Linux News 0 10-02-2013 02:11 AM
LXer: Dev kit runs Linux on quad-core Cortex-A9 SoC LXer Syndicated Linux News 0 08-19-2013 07:11 PM
LXer: $199 7-inch touchscreen dev kit runs Android and Linux LXer Syndicated Linux News 0 07-12-2013 08:12 AM
sudo/su watch dev/tty1 runs but broadcasts permission denied duttocal Linux - General 1 05-30-2012 04:53 PM


All times are GMT -5. The time now is 08:08 AM.

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