- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hpacucli + logical drive extension + linux
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
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
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
тАО05-28-2007 05:07 PM
тАО05-28-2007 05:07 PM
hpacucli + logical drive extension + linux
Is it supported to extend a logical drive or should i create a second logical drive and use lvm make use of that space?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 08:59 PM
тАО05-28-2007 08:59 PM
Re: hpacucli + logical drive extension + linux
If the disk is visible to the system via fdisk -l fdisk can be used to prepare a partition.
Then pvcreate is used to get it ready.
Then vgextend a volume group onto the partition.
Then lvextend the logical volume within that volume group to the new "disk"
Answer: Yes if you follow the steps above.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 12:41 AM
тАО05-30-2007 12:41 AM
Re: hpacucli + logical drive extension + linux
When you extend the 'disk' as above, the underlying filesystem has no knowledge that the disk was changed. In RHEL4 there is a tool called ext2online:
The ext2online tool resizes ext2 file systems while they are mounted
and in use by the system. It is OK to resize the filesystem even
while programs have open files and are writing into the filesystem.
It is only possible to enlarge a mounted filesystem. To be able to
use ext2online, you need to have the Online ext2 resize support (CON-
FIG_EXT2_RESIZE) feature enabled in the kernel (after applying the
appropriate patch for the 2.x series of kernels).
For offline (unmounted) use there is also resize2fs:
The resize2fs program will resize ext2 file systems. It can be used
to enlarge or shrink an ext2 file system located on device. The size
parameter specifies the requested new size of the filesystem.
The ext2online program did not exist on RHEL3, and I am not sure of its existence on SLES.
It seems to work, although I have worked on one case where we were unable to resize an ext3 filesystem created on RHEL3 because some of the internal structures were already maxed out and the program refused to alter the fs.
Caveat:
BACKUP YOUR DATA BEFORE DOING THIS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 02:18 AM
тАО05-30-2007 02:18 AM
Re: hpacucli + logical drive extension + linux
This is a test I did, but LVM was not involved:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1129838
The same test could be done with LVM, creating a new 8e partition in the new free space, and adding that partition to the existing volume group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2007 03:20 AM
тАО05-30-2007 03:20 AM
Re: hpacucli + logical drive extension + linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 07:07 PM
тАО06-07-2007 07:07 PM
Re: hpacucli + logical drive extension + linux
Well, i was in a hurry, so followed a procedure i knew was going to work, although it wasn't what i was looking for.
Created a second Logical Drive on the SmartArray controller, and added that disk to my VG.
Later i found, that the tool i was looking for was pvresize, that allows to resize a PV i assume, after extending the partition that contains it. Ill keep researching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 03:23 PM
тАО06-08-2007 03:23 PM
Re: hpacucli + logical drive extension + linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2007 03:59 PM
тАО06-08-2007 03:59 PM
Re: hpacucli + logical drive extension + linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2007 03:36 AM
тАО06-11-2007 03:36 AM
Re: hpacucli + logical drive extension + linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2007 06:12 PM
тАО06-11-2007 06:12 PM