# Rename device sdb to sda

**URL:** <https://forums.rockylinux.org/t/rename-device-sdb-to-sda/16372>\
**Category:** Rocky Linux Help & Support\
**Created:** [November 3, 2024, 12:45am UTC](https://forums.rockylinux.org/t/rename-device-sdb-to-sda/16372 "2024-11-03T00:45:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fiber](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@Fiber](https://forums.rockylinux.org/u/Fiber)\
**Post date:** [November 3, 2024, 12:45am UTC](https://forums.rockylinux.org/t/rename-device-sdb-to-sda/16372/1 "2024-11-03T00:45:55Z")

</div>

Hi, I have 2 raid controllers, one for the system and the other for data, but during installation the data disk is always named sda and the system disk is named sdb. Is it possible to change the name during installation so that the system device is named sda and the data device is named sdb? Thank you for your help.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 3, 2024, 9:52am UTC](https://forums.rockylinux.org/t/rename-device-sdb-to-sda/16372/2 "2024-11-03T09:52:05Z")

</div>

No it cannot. There are already posts on the forum about this. Nowadays, disks/partitions are pretty much almost always accessed by UUID. Therefore, the ordering of the disks is irrelevant at this point. The reason for this is mounting by UUID will always be successful, irrespective of whether the disk order is sda/sdb or sdb/sda.

I had this problem once, but in reality when you are using the system and the partitions are mounted, whether system is sda or data is sdb or the other way around is irrelevant. I would prefer it like you, but it’s purely cosmetic and doesn’t cause any problems for using the system.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [January 2, 2025, 9:52am UTC](https://forums.rockylinux.org/t/rename-device-sdb-to-sda/16372/3 "2025-01-02T09:52:35Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
