- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: P400 array extend under RHEL5
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2011 10:02 PM
06-20-2011 10:02 PM
P400 array extend under RHEL5
Hi,
I using DL185G5 with P400 raid card and running under RHEL5. We just add additional disk and already extend the logical drive by hpacucli CLI command and show the new size there.
However, when we using pvdisplay or vgdisplay in linux CLI, it did not show any Free PE there. Is it I got some problem here? It is because I read some material from internet said it will shown some Free PE.
Is it I can using lvextend directly to extend the volume or just using resize2fs to resize the logical volume directly?
Please advise. Thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2012 02:10 PM
09-27-2012 02:10 PM
Re: P400 array extend under RHEL5
Please follow below steps:
1. First check the disk size with fdisk -l command. If it is already increased or not. After expanding RAID from array controller utility (hpacucli) you need to reboot the server.
2. After server reboot again check the disk size with fdisk -l command. This time you can see the new size.
3. Once you able to see the new size, delete existing partition information and recreate it.
fdisk /dev/cciss/c0d1 (for example)
p
press d then 1 to remove partition
press n then primary partition to use the full space
Make sure the old and new partition start at the same cylinder or sector position, otherwise, data will be destroyed.
press t to change partition type to LVM
w
q
note: you need to reboot again
4. Now resize physical volume size with pvresize command (like: pvresize /dev/cciss/c0d1p1)
5. Now resize logical volume size with lvextend command (note: use vgdisplay -v to check the number of free PE)
(like: lvextend -l +17879 /dev/vg01/lvol01)
6. Now resize file system online with resize2fs command (like: resize2fs /dev/vg01/lvol01)
- Tags:
- fdisk