- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fs reduction on /opt (lvol6)
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
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
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
02-21-2003 05:42 AM
02-21-2003 05:42 AM
#fsadm -F vxfs -b
It does not let me do the reduce because there are allocated sectors out of range. I am guessing that the online JFS tools sit in opt and that is why i am having the problem. Is there a way to reduce this without rebuilding? Any help would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:43 AM
02-21-2003 05:43 AM
Re: fs reduction on /opt (lvol6)
all vg00 vols are mirrored
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:45 AM
02-21-2003 05:45 AM
Re: fs reduction on /opt (lvol6)
When it comes to reducing File systems, it is always recommended to rebuild rather than reduce like this as it may cause a lot of trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:47 AM
02-21-2003 05:47 AM
Re: fs reduction on /opt (lvol6)
Did you try a reorg first?
fsadm -F vxfs -d -D -e -E /opt
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:51 AM
02-21-2003 05:51 AM
Re: fs reduction on /opt (lvol6)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:57 AM
02-21-2003 05:57 AM
Re: fs reduction on /opt (lvol6)
Online JFS is great at extending but notorious for not being able to reduce file systems. I think your best bet is to rebuild, either via Ignite or the single user, clobber, restore method.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 06:40 AM
02-21-2003 06:40 AM
Re: fs reduction on /opt (lvol6)
The best would be to go to single user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 07:29 AM
02-21-2003 07:29 AM
Re: fs reduction on /opt (lvol6)
You better not do this on a production machine. This is looking for trouble. There are at least 2 better ways to perform what you want.
1. make an ignitetape and reinstall your system with it. (In the reinstalling you can adjust the fs-sizes)
2. go to singleuser mode. copy the /opt dir to a temporary filesystem. remove and make the lvol again, and copy the /opt back.
Goodluck
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 07:33 AM
02-21-2003 07:33 AM
Re: fs reduction on /opt (lvol6)
If you've got the room to copy /opt to a second file system, do it first, then switch the mountpoints in /etc/fstab and reboot. You're done! No need for single user mode at all.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2003 02:48 PM
02-28-2003 02:48 PM
Re: fs reduction on /opt (lvol6)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2003 02:54 PM
02-28-2003 02:54 PM
Re: fs reduction on /opt (lvol6)
If at all possible I avoid shrinking filesystems especially on production systems.