adspace


1)Can we extend /root partition in RHEL 6 ? If yes then what are the steps?

Answer Posted / Sanjeev Suman

Yes, it is possible to extend the root partition in Red Hat Enterprise Linux (RHEL) 6. Here's a simplified step-by-step guide:

1. Backup data and files on the system.
2. Boot the system into single user mode by using the command `init 1`.
3. Mount the root partition using `mount -o remount, rw /`.
4. Identify an unallocated partition that can be used for extending the root partition.
5. Resize the partition using a tool like `fdisk` or `parted`. For instance, with parted: `parted /dev/sda resizepart 1 <size>`, where 1 is the partition number (usually 1 for the root partition).
6. Extend the filesystem to use the new space: `resize2fs /dev/sda1`.
7. Reboot the system: `reboot`.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I search for files containing specific text in linux?

826


What is the latest version of linux?

1022


What is the latest linux kernel?

1035