- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to use un-allocated space in Redhat 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
Forums
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
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
тАО07-11-2008 07:17 PM
тАО07-11-2008 07:17 PM
How to use un-allocated space in Redhat linux
i am having one up and running Redhat Linux AS 4 update 5.
its configure hardware raid and its showing two physical HDD through it.
i have configure LVM on it as attached snapshot.
i still have around 340 gb free unallocated space in my second Hdd, can view attached snapshot.
i need to use this un-use space may be i can create new vg.
how to do it.
please advice.
thanks in advance for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2008 07:18 PM
тАО07-11-2008 07:18 PM
Re: How to use un-allocated space in Redhat linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2008 02:21 AM
тАО07-12-2008 02:21 AM
Re: How to use un-allocated space in Redhat linux
pvcreate /dev/sda
vgcreate /dev/sda datavg
lvcreate -L
mkfs -t ext3 /dev/datavg/datalv
Modify /etc/fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2008 02:22 AM
тАО07-12-2008 02:22 AM
Re: How to use un-allocated space in Redhat linux
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1005353
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2008 06:15 AM
тАО07-12-2008 06:15 AM
Re: How to use un-allocated space in Redhat linux
thanks for your response,
but it will not work as i mentioned its unallocated space we can not create through pvcreate /dev/sda. you may refer attachment,
first we need to initialize this un-allocated space how?
so how to allocated this space..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2008 01:03 AM
тАО07-13-2008 01:03 AM
Re: How to use un-allocated space in Redhat linux
If your /dev/sdb drive is in use when you use fdisk, the change may not take effect immediately. The partitioning tool will tell you if this happens. If so, you must reboot to make the kernel recognize the new partition table.
After the reboot (or if the system accepted the partition table change without a reboot), you can use "pvcreate /dev/sdb6" to initialize the disk space as a LVM Physical Volume. Then you can use it to either extend an existing VG (with vgextend) or to create a new VG (with vgcreate).
If you use vgextend, you can then either create new LVs in the existing VG (with lvcreate) or enlarge existing LVs.
To enlarge an existing LV, you should first use lvextend to extend the LV. After that is successfully done, you must use the correct filesystem extension tool based on which filesystem is used on the LV. For ext2/ext3 filesystems, "ext2online" allows extending the filesystem without unmounting it.
By the way, creating multiple LVM Physical Volumes on a single disk is kind of silly, unless you have a specific reason to create multiple VGs using only one disk.
A better strategy for data disks is to set up just one LVM Physical Volume that encompasses the entire disk: then you can use the LVM commands to add new LVs or extend the existing LVs with no need to reboot.
MK