- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unix defragmentation
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
05-21-2002 07:41 PM
05-21-2002 07:41 PM
Unix defragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 07:52 PM
05-21-2002 07:52 PM
Re: Unix defragmentation
hi
if ur having Online JFS installed on your machine u can do with fsadm
just check the man pages of fsadm_vxfs
fsadm -F vxfs -d -e -D -E
Other wise
1. Create a new logical volume and mountit with some name(temp1)and copy the data into it. Then unmount both (ur LV and temp1)
and mount new lv on the old mount point.
2. Backup the files onto a tape,remove the files from
the existing partition and restore it back.
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 07:59 PM
05-21-2002 07:59 PM
Re: Unix defragmentation
You can use the 'fsadm' set of commands to do this. You will need to the 'On-Line JFS' tools in order to continue. Have a look at the man page for 'fsadm_vxfs' for additional information.
If you don't have 'On-Line JFS' then you need to either backup your filesystem, remove all the files and then restore it, or using the same backup, create an additional filesystem
and restore files into it.
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 08:05 PM
05-21-2002 08:05 PM
Re: Unix defragmentation
Without HP OnLineJFS you would have to unmount the file system, performing a backup, recreating the file system, and reloading the data back. First check if you got HP OnlineJFS ..
# swlist -l bundle | more
You would want to do this when the system is not busy.
Defragmenting Extents
=====================
# fsadm ???F vxfs ???E /
==>Reports extent fragmentation
# fsadm ???F vxfs ???e /
==>Performs extent defragmentation
Defragmenting Directories
=========================
# fsadm ???F vxfs ???D /
==>Reports directories fragmentation
# fsadm ???F vxfs ???d /
==>Perform directories defragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 08:15 PM
05-21-2002 08:15 PM
Re: Unix defragmentation
besides, if i use the another method, backup and then restore, is it risky? because the hidden file may be not backup for some backup tools. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 08:21 PM
05-21-2002 08:21 PM
Re: Unix defragmentation
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3929CA
For your other question, it is not risky if done right. If you have additional disk space, you can cpio the data over to another disk before you recreate your filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 08:22 PM
05-21-2002 08:22 PM
Re: Unix defragmentation
hi
Online JFS is priced product. You have to buy it from HP.
If ur having enough space on ur system , then make a new LV and copy all data to that new LV and mount it with the old mount point . this is faster and reliable too.
CTK