- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- reduce LV size
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2014 06:07 AM
08-15-2014 06:07 AM
reduce LV size
Migrating data from one disk to another disk
The existing disk size(LV size as well) for vg-ABCD = 263424 MB = 4116 PEs (Physical extents)
The new disk’s size for this VG = 262144 MB = 4096 PEs only
Difference is 1.25 GB
The filesystems usage is just 6%
So I want to reduce the original LV size and then do the migration...
I have online JFS (and vxfs)
from another thread:
Reduce file system /dev/vgprod/lvred to 6GB = 6,291,456 (6,144,000)
I am confused at the fsadm command options...
2) fsadm -d -D -e -E mount-point
3) fsadm -F vxfs -b 6144000 mount-point (whats that 6144000 next to b)
4) lvreduce -L 6000 /dev/vgprod/lvred
I want to reduce the existing LV size from 263424 MB to 261120 MB
How do I do that?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2014 09:46 AM
08-15-2014 09:46 AM
Re: reduce LV size
The following should work:
# fsadm -b 261120m /mnt-point
# lvreduce -l 4096 /dev/vgxx/lvxx
(the number next to the -b is the size you wish to set the filesystem to. the 'm' specifies megabytes).
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2014 10:47 AM
08-15-2014 10:47 AM
Re: reduce LV size
thanks.....
can you tell me why do I see this legacy naming convention after
I did a vgextend and
lvextend -m 1....
I was expecting :
vgdisplay -v vgname |grep "PV Name"
PV Name /dev/disk/existingdisk
PV Name /dev/disk/newdisk
But what I see is
PV Name /dev/dsk/c0t2d0
PV Name /dev/dsk/c0t5d0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2014 10:59 AM
08-15-2014 10:59 AM
Re: reduce LV size
You are saying it changed?
Post the output of 'vgdisplay -v vgname' and 'lvmadm -l'
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-15-2014 01:44 PM
08-15-2014 01:44 PM
Re: reduce LV size
Got rid of legacy naming convention(cxtxdx) and got agile nameing convention (/dev/disk/disk) by executing this command
vgdsf -c vgname
thanks anyways
- Tags:
- vgdsf
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP