How to change the disk label
I wanted to change the disk labels in RHEL 7.4 For Ex : from /dev/sdb to /dev/sdb . Is it possible to change the disk labels once the installation is done . This should be a peramanent change even after reboot.
Please suggest a solution
thanks/regads
sadiq
Responses
Hi Sadiq,
The most easy and most safe way to make changes to disks and partitions would be by using GParted.
Download the .iso file, create a bootable medium, boot from that medium and start your operations. :)
Regards,
Christian
Well, I don't know Sadiq, it's not quite clear to me what you mean and what exactly you're trying to achieve.
And "changing the disk label from /dev/sdb to /dev/sdb" is not really something like a change, I would say.
Anyway ... all I can say is that it's generally NOT recommended to work on running disks, it might do harm.
Regards,
Christian
You're very welcome, Sadiq, but no - you cannot "rename" devices ... these are devices, not labels - so it is hardware related : open the PC and rearrange the disks ... put the disk sdb into the slot of sdc and the disk sdc into the slot of sdb. Re-installation of GRUB boot loader might be necessary when you put the disk on which the system is installed into another slot and you'll have to edit the /etc/fstab file. When the system is installed on a machine with EFI based BIOS and if it is installed on a GPT disk in EFI mode, it might be sufficient to use efibootmgr to correct the entries. :)
Regards,
Christian
Hi Sadiq,
If you mean the capacity of the disks (240 GB and 6.00 TB) with "size" ... well, this shouldn't matter at all. :)
Of course the connectors of the disks have to fit into slots, so you have to try it out. It's not possible for me
to give you 100% correct advises, because I don't "sit in front of your hardware" and only have partial infos.
Regards,
Christian
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
