Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Distribution: Lab Server - FreeBSD 7.2 Laptop - Linux Mint
Posts: 1,857
Thanked: 35
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.