- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error reducing FS with fsadm - Urgent pls
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
01-22-2002 09:59 AM
01-22-2002 09:59 AM
Error reducing FS with fsadm - Urgent pls
fsadm -b 2500m /var
i am reducing my file system from 4.7 gb to 2.5 gb of /var
pls reply urgently
regards,
anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 10:05 AM
01-22-2002 10:05 AM
Re: Error reducing FS with fsadm - Urgent pls
The general success in reducing a JFS (vxfs) filesystem's size is not good. You can try defragmenting the filesystem *before* you try a size reduction. This may improve your chances of reducing it. Online JFS version 3.3 is supposed to improve your chances over previous versions too.
It might be easier to backup the filesystem, 'lvreduce' it; 'newfs' the filesystem; and reload your data fromt the backup.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 10:06 AM
01-22-2002 10:06 AM
Re: Error reducing FS with fsadm - Urgent pls
Do defrag the file system first.
Follow these steps..
# fsadm -d -D -e -E /
# fsadm -b
# lvreduce -L
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 10:08 AM
01-22-2002 10:08 AM
Re: Error reducing FS with fsadm - Urgent pls
Will there be a problem of my data getting lost if i do an lvreduce in the last step as u have mentioned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 11:44 AM
01-22-2002 11:44 AM
Re: Error reducing FS with fsadm - Urgent pls
YES, there is some chance: be absolutely certain that those "fsadm"s DID work, e.g. check for their exit-codes, and then use "bdf" to check wether the reduction *seems* to work, to, i.e. reduced the file-system.
Be careful, as even the "defragmentation" often does NOT work (or not good enough), and then the "fsadm -b" CANNOT work!
In any case, make a backup to a safe place (like a *NEW* tape), verify it actually DID work, then
- umount
- lvreduce
- mkfs
- mount
that LVol/filesystem and then restore your backup to it...
Just to be safe,
Wodisch
PS: make a second backup :-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 06:21 PM
01-22-2002 06:21 PM
Re: Error reducing FS with fsadm - Urgent pls
The easiest way todo this is to reboot the system and lose the ISL and when at the prompt enter: hpux -i s. Make sure you are at a console directly on the system if you do this. It will load the system in to single user mode and allow to manually mount the /var filesystem and reduce it with out file activity on it. Reduce is a very finking process.
Good Luck,
Layne