- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume Groups, how to change
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
тАО09-05-2000 04:36 AM
тАО09-05-2000 04:36 AM
I have /dev/vg01/lvol1 and it shows four 4.3Gb disks (16Gb of disk space). Now vg01 is mirrored and only has the one lvol1. So, in reality, I have 8Gb of disk space for /dev/vg01/lvol1.
If I do a bdf, I see /dev/vg01/lvol1 as 4Gb total. So, I went into SAM and began researching this.
SAM shows the following:
Logical Volume Size = 8184
Extent Size = 4
Shows my 4 disks with Logical and Physical for each disk as 4092
Physical Volumes = 4
Logical Volumes = 1
How can I go about expanding this lvol1 to show 8Gb since it appears that I have this much space available to me?
TIA,
CIN
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 04:46 AM
тАО09-05-2000 04:46 AM
Re: Volume Groups, how to change
You have to understand that the disks belongs to the VolumenGroup, Size 16 Gb.
The lvol1 is created whitin the VolumenGroup.
Since the lvol is mirroed, it is using 2 x 4 Gb = 8 Gb. 4 Gb for each mirror. The mirroring is done as if you had 2 lvols that had the same size.
Ig you look at the VolumeGroup there should be about 8 Gb free.
By the way, the PEs and the LEs are 4 MB each.
Hope this help you a litle.
Best regards
Jesper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 04:49 AM
тАО09-05-2000 04:49 AM
Re: Volume Groups, how to change
possibly you have extend your log. volume but NOT the filesystem.
If so extend the filesystem for vxfs with:
extendfs -F vxfs /dev/vg01/rlvol1
for hfs:
extendfs -F hfs /dev/vg01/rlvol1
You have to umount the filesystem before you can use the extendfs command.
After extending mount the filesystem.
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 04:50 AM
тАО09-05-2000 04:50 AM
Re: Volume Groups, how to change
Sounds like the lvol is 8gb, but the filesystem is only 4gb.
Assuming it's a vxfs (jfs) filesystem and you don't have advanced jfs loaded, you'll need to umount the filesystem and then run the extendfs (or fsadm) command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 04:52 AM
тАО09-05-2000 04:52 AM
Re: Volume Groups, how to change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 04:55 AM
тАО09-05-2000 04:55 AM
SolutionThe way in which you extend your filesystem to the size of it's logical volume depends on whether you have the optional software 'Online JFS' installed.
If you have then you can extend online with 'fsadm' (see man fsadm)
If not then you need to:-
- unmount the filesystem
- extendfs -F
- remount the filesystem
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2000 05:00 AM
тАО09-05-2000 05:00 AM
Re: Volume Groups, how to change
1. You can use SAM to extend the logical volume.
2. If the filesystem isn't JFS (or you don't have online-JFS):
# umount /dev/vg01/lvol1
# /usr/sbin/lvextend -L
(where n=the new size you want in MB)
# extendfs /dev/vg01/rlvol1
# mount /dev/vg01/lvol1 /your_mountpoint
3. If you have online JFS and the filesytem is of this type:
# lvextend -L
# fsadm -b
(where n=the new zize you want in MB)
(where blocks=the number of 1K blocks where 1K=1024, so if n=100 then blocks=102400)
...JRF...