- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- reducing the filesystem sizing
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
тАО04-08-2008 09:42 AM
тАО04-08-2008 09:42 AM
is it possible to reduce the file system size without loosing the data ?
OS is hpux 11.31 MCOE,
abt 30% of total filesystem size is free for the filesystem for which i intend to do this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 09:47 AM
тАО04-08-2008 09:47 AM
SolutionYes.
If you have OnlineJFS, simply use 'fsadm' to resize your filesystem downward. Then, AFTERWARDS, perform a 'lvreduce' of the logical volume container to the appropriate size.
If you do NOT have OnlineJFS, then you will need to backup your filesystem; 'lvreduce' (or 'lvremove' followed by a 'lvcreate' of the logical volume again); 'newfs' the filesystem; and restore your data.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 09:47 AM
тАО04-08-2008 09:47 AM
Re: reducing the filesystem sizing
am doing this to free up a pv in which this lvol is extended for 5 PEs. I want to free up that pv for something else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 09:50 AM
тАО04-08-2008 09:50 AM
Re: reducing the filesystem sizing
#vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4328
VGDA 4
PE Size (Mbytes) 16
Total PE 8647
Alloc PE 4324
Free PE 4323
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0.0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 64
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 512
Allocated PE 512
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 384
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 33344
Current LE 2084
Allocated PE 2084
Used PV 2
--- Physical volumes ---
PV Name /dev/disk/disk2_p2
PV Status available
Total PE 4319
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk3_p2
PV Status available
Total PE 4328
Free PE 4323
Autoswitch On
Proactive Polling On
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 09:55 AM
тАО04-08-2008 09:55 AM
Re: reducing the filesystem sizing
lvreduce /dev/vg00/lvol9 /dev/disk/disk3_p2
double checking - is that how it will go ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 10:01 AM
тАО04-08-2008 10:01 AM
Re: reducing the filesystem sizing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 10:07 AM
тАО04-08-2008 10:07 AM
Re: reducing the filesystem sizing
You will need to specify the logical volume size that you want the reduction to specify. See the '-L' option of 'lvreduce'.
Once you have done this, you may need to use 'pvmove' to move any extents for the logical volume that reside on the target physical volume. See the 'pvmove' manpages, too.
If you use 'pvmove', be careful not to interrupt, or let the operation be interrupted. To do so may leave one or more of the the logical volume extents unaccessible.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 10:20 AM
тАО04-08-2008 10:20 AM
Re: reducing the filesystem sizing
Use this command :
fsadm -F vxfs -e /oracle
fsadm -F vxfs -b (size) /oracle
lvreduce -L (size) /dev/vg00/lvol9
Thanks & regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 10:41 AM
тАО04-08-2008 10:41 AM
Re: reducing the filesystem sizing
crash dumped!!! - by CRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2008 11:21 AM
тАО04-08-2008 11:21 AM