22

My block devices are named sda, sdb and so on.

What happens when I get to sdz? Is the next one going to be called sdaa?

33

Yes. The kernel will continue to assign names in the form of sdaa, sdab and so on. There may be a bug preventing it from going beyond sdzzz, but in theory, it's going to continue forever (that is up to 18278 due to data type limitations).

my thanks to Rinzwind for providing the links

  • 3
    Not a problem :) Good answer! – Rinzwind Jun 7 '11 at 12:30
  • small problem: 18278 is virtio-blk. currently sata is expected (untested) to do 29 z's. – Rinzwind Jan 19 '15 at 15:33
3

After sdasdz comes sdaasdaz, etc.

The first link in the accepted answer (from 2011) is broken. Here is a new link (also from 2011) containing a good write-up: How are Linux drives named beyond drive 26?.

To summarize the main point in the link (slightly revised and reformatted):

Drive # - Name
1       - sda
26      - sdz
27      - sdaa
28      - sdab
52      - sdaz
53      - sdba
54      - sdbb
702     - sdzz
703     - sdaaa
704     - sdaab
18278   - sdzzz

Needless to say Linux is well positioned for expansion of drives.

  • I fixed the link. The rest of the answer could be just an edit to the other post. – muru Jan 6 '17 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.