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



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

Answer / 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

More Linux General Interview Questions

What is the command for displaying, in which shell we are working.

3 Answers  


How do you find out the processes that are currently running or a particular user?

1 Answers  


What is the core of the linux operating system?

1 Answers  


what is kernel parameters? where its located and how would you find it ?

1 Answers   Oracle,


Linux initially was developed for intel x86 architecture but has been ported to another hardware platform than any other operating system. Do you agree?

1 Answers  


What is ctrl c in linux?

1 Answers  


Who owns data dictionary?

3 Answers  


What are system calls in linux?

1 Answers  


Where can I download linux os for free?

1 Answers  


Which one is better windows or linux?

1 Answers  


What is called .scratch pad of computer.?

1 Answers  


What is process id 1 in linux?

1 Answers  


Categories