LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Need assistence in logical volume extending. (https://www.linuxquestions.org/questions/linux-server-73/need-assistence-in-logical-volume-extending-737503/)

cj_cheema 07-03-2009 10:42 AM

Need assistence in logical volume extending.
 
Hi

I need the assistance in logical volume extend. I have been assigned a task for extending logical volume. My customer has a HP SAN connected with Linux HP server might be it having RHEL 4.5 or 5 i have not checked so this SAN has Raid 5 volumes and it is mounted in this box. My customer said he had 4 disks configured as raid 5 now he added a new disk in this array now he want to extend the logical volume of this volume. could you guide me the steps for performing this task.

Thanks & regards
Charanjit Singh

jstephens84 07-03-2009 05:34 PM

On the raid 5, is it hardware or software (using the lvm)? If it is hardware based I believe you have to do that through the array's firmware and some don't even support that with out wiping out the drive. For lvm to be extended you will need to use the lvextend command then after that you will need to use your file system extend command. I believe ext and reiserfs both have an extend command or switch.

cj_cheema 07-04-2009 12:10 AM

It having HP hardware raid controller and your quote"after that you will need to use your file system extend command. " this means do i have to use resizefs command for extending the volumes ext3 filesystem. And another thing i learnt resizefs command support ext3 in RHEL 5 but it don't support ext3 in rhel 4 it only support ext2 so if i have to perform these steps in rhel4 what is the another alternative of resize2fs for extending volume.

Thanks & Regards
Charanjit Singh


All times are GMT -5. The time now is 10:19 AM.