- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem reducing vxfs filesystem online
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
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-06-2004 01:50 AM
тАО05-06-2004 01:50 AM
root@host:/ > bdf /cslayer
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol21 159744 56335 97202 37% /cslayer
root@host:/ > df -g /cslayer
/cslayer (/dev/vg00/lvol21 ) :
8192 file system block size 1024 fragment size
159744 total blocks 103409 total free blocks
97202 allocated free blocks 28188 total i-nodes
25852 total free i-nodes 25852 allocated free i-nodes
1073741840 file system id vxfs file system type
0 flags 255 file system name length
/cslayer file system specific string
root@host:/ >
root@host:/ > fsadm -F vxfs -d -e /cslayer
root@host:/ > fsadm -F vxfs -b 81920 /cslayer
fsadm: cannot shrink /dev/vg00/rlvol21 - upgraded fs - inodes are currently in use.
root@host:/ > fuser -cu /cslayer
/cslayer:
root@host:/ >
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 01:55 AM
тАО05-06-2004 01:55 AM
Re: Problem reducing vxfs filesystem online
Maybe this helps you
Regds
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 01:57 AM
тАО05-06-2004 01:57 AM
Re: Problem reducing vxfs filesystem online
Check this doc,
Document description: How to reduce a JFS 3.1 filesystem
Document id: KBRC00011321
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067342554
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 01:57 AM
тАО05-06-2004 01:57 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 01:58 AM
тАО05-06-2004 01:58 AM
Re: Problem reducing vxfs filesystem online
You can't reduce a filesystem down to a 99% full state. Especially an active one. You need to set a realistic target.
Try defragmenting it prior to reduction.
See attached script.
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-06-2004 02:05 AM
тАО05-06-2004 02:05 AM
Re: Problem reducing vxfs filesystem online
#fuser -kuc /cslayer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 02:07 AM
тАО05-06-2004 02:07 AM
Re: Problem reducing vxfs filesystem online
Is the filesystem layout type Version 4 or 3. fstyp -v will tell you this.
Try this link from itrc,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062908240
The itrc doc id is KBRC00006692.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 02:15 AM
тАО05-06-2004 02:15 AM
Re: Problem reducing vxfs filesystem online
just a thought: have you reduced the logical volume before?
Take attention that in order to reduce the filesystem size it is needed to reduce before the filesystem and then logical volume.
Repeat, just a thought!
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 02:25 AM
тАО05-06-2004 02:25 AM
Re: Problem reducing vxfs filesystem online
Clay's spot on - reductions are a hit & miss thing in 3.1 & 3.3. As stated v4 is better, but I still *never* count on a reduction to work - even when usage in down in the 25% range & with 3 defrags. Bottom line is - fbackup (2 of 'em) is your best friend if you're going to try it.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2004 02:25 AM
тАО05-06-2004 02:25 AM
Re: Problem reducing vxfs filesystem online
Take backup of file system.
Defrag first
#fsadm -F vxfs -DEde /usr
Reduce to new size e.g 3000MB
#fsadm -F vxfs -b 3000M /usr
#lvreduce -L 3000 /dev/vg00/lvxxx
Note:Use the logical volume mounted on /usr