- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reduce a File System
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
06-10-2004 12:07 AM
06-10-2004 12:07 AM
my HP-UX is:
HP-UX hptest B.11.00 U 9000/800 580776597 unlimited-user license but note that i don't have installed "FSADM" utility to increase/reduce a filesystem.
The filesystem test to reduce is an Vxfs type:
/dev/vg01/test 40960 1118 37358 3% /test
How can I use lvreduce it?
(i have already expanded this filesystem with lvextend and extendfs command but i don't know about the reduce)
Can you help?
Thanks Alex
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 12:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 12:11 AM
06-10-2004 12:11 AM
Re: Reduce a File System
1. Backup data
2. umount /mount_point
3. lvreduce ......
4. newfs ...
5. mount /mount_point
6. Restore data
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 12:13 AM
06-10-2004 12:13 AM
Re: Reduce a File System
Reducing fileSystem doesn't guarantee of data in it. First backup the data and then try reducing it as below.
# lvreduce -f -L
Remeber after reducing the final size of File System would be the one you entered above.
-f forcefull operation
Also see man lvreduce
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 12:17 AM
06-10-2004 12:17 AM
Re: Reduce a File System
Also even though it doesn't guarantee of data but i have seen it intact couple of time. It depends on how PE are allocated to your FS at lower level.
Suppose you have 10 GB FS and data 5 GB and you are reducing it to 7 GB then there are chances that it may show your data after reduction.
But don't take chances backup your data first.
If you are lucky enough then restoring headache will go away.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 12:24 AM
06-10-2004 12:24 AM
Re: Reduce a File System
Incredible if i haven't OnlineJFS I can't reduce a filesystem!!
How can verify is OnlineJFS is installed?
Normally i use this examotage:
fsadm -F vxfs -DEed /test/path1
I receive this message:
sadm: the -d and -e options require "HP OnLineJFS (Advanced Vxfs)"
There is anoter modality to verify it?
i have already used this command:
swlist | grep -i jfs (is it correct ??)
Thanks a lot
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 01:33 AM
06-10-2004 01:33 AM
Re: Reduce a File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 01:59 AM
06-10-2004 01:59 AM
Re: Reduce a File System
as other ITRC people said you cannot reduce a filesystem without OnLineJFS.
If you obtained those messages on -d and -D options sure you have not it. Anyway launch
# swlist -l product | grep -i online
or
# swlist -l product | grep -i jfs
You should not see anything about OnLineJFS.
Best regards,
Ettore