- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsadm reduce filesystem size - URGENT!!
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
04-12-2007 04:48 PM
04-12-2007 04:48 PM
2. If used a wrong smaller new size than the data size, can I stop the process?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 05:34 PM
04-12-2007 05:34 PM
Re: fsadm reduce filesystem size - URGENT!!
fasdm it back to the original size and check your data. You may need to restore data from your backup, depending on how much free space you had in your filesystem.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 05:41 PM
04-12-2007 05:41 PM
SolutionIt just fails.
If the process run successfully, you will not lose any data.
In a jfs(vxfs) Version 3 or above disk layout, if there are file system resources in use in the sectors being removed, fsadm relocates those resources to sectors staying within the reduced file system. The time needed for relocation depends on the number of blocks being moved.
In older disk layouts, file system structural components are fixed, so reducing the size of a file system fails if there are file system resources in use in the sectors being removed.
regards
Univer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 05:43 PM
04-12-2007 05:43 PM
Re: fsadm reduce filesystem size - URGENT!!
On 11i (11.11) it will still fail but will take some time (a few minutes) before it errors out, and will print an obscure error message. I've actually done it twice by mistake where I left out the M at the end of the -b
Having said that... I'm sure it depends on your patch level! The more recent your patches, the better!
As far as whether you can Ctrl-C out of it... I did it on a test 11i machine after about 15 seconds of running, and fsadm left the file system in tact. Again, I'm sure it depends on your patches!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 06:37 PM
04-12-2007 06:37 PM
Re: fsadm reduce filesystem size - URGENT!!
I got the following on screen at this moment and I think it still moving data and still have long to wait for the result since it is a large mirrored filesystem.
#bdf
/dev/vg01/lvol1 18874368 9506776 9221248 51% /u24
#fsadm -b 36864 /u24
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vg01/rlvol1 is currently 18874368 sectors - size will be reduced
vxfs fsadm: allocations found in shrink range, moving data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 07:16 PM
04-12-2007 07:16 PM
Re: fsadm reduce filesystem size - URGENT!!
Thanks very much to all of you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2007 07:19 PM
04-12-2007 07:19 PM