- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- reducing 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
Forums
Discussions
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
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
03-15-2004 10:39 AM
03-15-2004 10:39 AM
reducing file system
When trying to reduce a fs using the command:
fsadm -F vxfs -b 800m /fsname
I get the following error:
vxfs fsadm: /fsname is not the root inode of a vsfx file system
if someone can lead me in the right direction, I'll divy up the points!
Extra credit: I'm using 11.00 w/ Online JFS. using the above credit and then lvreduce, I should be able to do this without unmounting the filesystem, correct?
Thanks in advance,
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 10:49 AM
03-15-2004 10:49 AM
Re: reducing file system
Yes, you should be able to do this on a mounted filesystem BUT maybe not. It depends upon whether or not extents are in use. You may need to do a defragment operation first and then the operation MAY succeed. OnlineJFS Version 3.3 is better at shrinking filesystems than 3.1 (which was the original 11.0 vxfs version).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 10:50 AM
03-15-2004 10:50 AM
Re: reducing file system
what does mount say?
Is /fsname a vxfs file system?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 10:54 AM
03-15-2004 10:54 AM
Re: reducing file system
Actually, the defrag issue brought up a good point (namely that I'm sure I'm on 3.1 OJFS, not 3.3). I was thinking that fsadm could convert the math, but it's no problem to do the math (would be fsadm -x vxfs -b 819200 /fsname). Is the root inode an indication of fragmention, then?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 10:56 AM
03-15-2004 10:56 AM
Re: reducing file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 11:49 AM
03-15-2004 11:49 AM
Re: reducing file system
Please check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=142809
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 12:13 PM
03-15-2004 12:13 PM
Re: reducing file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 01:01 PM
03-15-2004 01:01 PM
Re: reducing file system
#fsadm -F vxfs -DEde /mountpoint
It will defrag and show the values also.
#fsadm -F vxfs -b 500M /mountpoint
If you wish to reduce the filesystem to 500MB
#lvreduce -L 500 /dev/vg**/lv**
Use the logical volume for that mount point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 01:10 PM
03-15-2004 01:10 PM
Re: reducing file system
/usr/sbin/fstyp -v /dev/vgXX/rlvolYY | grep version
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 03:36 AM
03-16-2004 03:36 AM
Re: reducing file system
I did check this morning and do have Online JFS 3.3, so that shouldn't be a problem. In this case, since the file system in question isn't critical, it's just as simple to delete the filesystem in question, recreate it at a smaller size, and the restore from tape. This being said, I still am going to want to figure out why I had to unmount that file system...would the vxfs version come into play with this? what is the difference between versions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 03:44 AM
03-16-2004 03:44 AM
Re: reducing file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 04:27 AM
03-16-2004 04:27 AM
Re: reducing file system
Clay, how do I go about licensing 3.3? I (probably incorrectly) assumed that the last support pack upgraded my install from 3.1 and that the licensing from before was still in effect...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 05:43 AM
03-16-2004 05:43 AM
Re: reducing file system
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 06:03 AM
03-16-2004 06:03 AM
Re: reducing file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 06:10 AM
03-16-2004 06:10 AM
Re: reducing file system
I've already requested the license to upgrade from 3.1 to 3.3; after I install that I plan on upgrading my file systems from vxfs 3 to vxfs 4. Based on your collective experience, is shrinking file systems (even when at version 4, with Online JFS 3.3) a dicey proposition? I'm starting to read between the lines and am starting to think that trusting this on a production box during work hours is rolling the dice...agreed? or do you find the software relatively safe when upgraded?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 08:31 AM
03-16-2004 08:31 AM
Re: reducing file system
The far more typical use of OnlineJFS is to "grow" filesystems "on the fly". I regularly do that, without backups (other than nthe normal ones, of course), and have never been burned regardless of the vxfs version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 09:00 AM
03-16-2004 09:00 AM
Re: reducing file system
Regards,
Joe