- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Decrease a filesystem size
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
12-02-2008 08:58 AM
12-02-2008 08:58 AM
I need to decrease the size of a file system on my unix w/s but they do not have onlinJFS. Wat is the equivalent of fsadm to reduce the FS?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:00 AM
12-02-2008 09:00 AM
Re: Decrease a filesystem size
The man page should contain more than enough information to proceed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:02 AM
12-02-2008 09:02 AM
SolutionIn this case your steps are:
1) Back up your data
2) unmount the file system
3) lvremove the LV
4) lvcreate the LV as the new, smaller, size.
5) newfs the the LV
6) mount the LV
7) restore your data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:08 AM
12-02-2008 09:08 AM
Re: Decrease a filesystem size
Because Unix has more than one way to do almost anything, in lieu of Patrick's step #3 and #4, you could 'lvreduce' the logical volume to its smaller size. Then proceed with step-5-7.
OnlineJFS is extremely valuable not only for dynamic resizing, but also for the ability to perform snapshot backups and the additional mount options it offers for your VxFS filesystems. You shouldn't leave home without it :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:09 AM
12-02-2008 09:09 AM
Re: Decrease a filesystem size
First you should reduce the Filesystem(s).
tar -c /filesystem
umount (filesystem)
newfs -F vxfs -s (size) /path
mount (filesystem)
tar -x /filesystem (use prefered restore util now)
THEN use lvreduce to reduce the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 09:44 AM
12-02-2008 09:44 AM
Re: Decrease a filesystem size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:08 AM
12-02-2008 10:08 AM
Re: Decrease a filesystem size
Which filesystem? It better not be one of the standard OS volumes/filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2008 10:20 AM
12-02-2008 10:20 AM
Re: Decrease a filesystem size
I do not know why they are not there.
Thank you