- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fsadm error
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-11-2003 06:44 AM
04-11-2003 06:44 AM
I have having a little problem rying to figure out following error by fsadm:
fsadm -F vxfs -b 1024000 /usr
vxfs fsadm: /dev/vg00/rlvol8 is currently 1634304 sectors - size will be reduced
vxfs fsadm: allocations found in shrink range, moving data
vxfs fsadm: cannot shrink /dev/vg00/rlvol8 - blocks are currently in use.
I don't to unmount /usr to srhink it, so any help on working around this problem is appreciated.
M
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 06:47 AM
04-11-2003 06:47 AM
Re: fsadm error
fsadm -F vxfs -d -D -e -E /usr
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 06:58 AM
04-11-2003 06:58 AM
Re: fsadm error
While degragmentation *may* allow a subsequent attempt to shrink the filesystem size to work, the failure rate is high for JFS versions prior to 3.3.
If you *must* shink the filesystem, you could backup the data; boot into single user mode; 'lvreduce' and 'newfs' the filesystem to the intended size; and then reload your data.
Another alternative, since this is a vg00 filesystem, is to re-Ignite your server using an Ignite recovery tape.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 07:31 AM
04-11-2003 07:31 AM
Re: fsadm error
# fsadm -F vxfs -b 10240000 /dev/vg00/rlvol8
and then resize the LV accordingly with lvreduce.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 08:10 AM
04-11-2003 08:10 AM
SolutionDoes this work?:
fsadm -F vxfs -d -D -e -E /usr
If this fails then you will have to umount /usr in order to grow /usr but WILL NOT BE ABLE TO SHRINK IT safely without a reinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 08:17 AM
04-11-2003 08:17 AM
Re: fsadm error
Since it is the '/usr' filesystem tthat you want to shrink, obtaining a quiescent filesystesm would require a boot-up into single user mode where '/usr' isn't mounted.
Since the 'fsadm' binary lives in '/usr' with no version available in '/sbin' (AFAIK) you will need to mount '/usr' while still in single-user mode. *Then* you might (or not) be sucessful in dynamically shrinking the filesystem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 01:11 PM
04-11-2003 01:11 PM
Re: fsadm error
fsadm -F vxfs -b 10240000 /usr
vxfs fsadm: /dev/vg00/rlvol8 is currently 1634304 sectors - size will be increased
vxfs fsadm: write failure at block 14434302 : No such device or address.
I have booted in single user mode to reduce /usr, but the binaries reside in /usr as previously pointed out. Running fsadm on /usr in single user mode produced the following error:
fsadm: you don't have a license to run this program
I understand that I may not have the full version of online jfs since swlist is reporting:
B3929CA B.11.11 HP OnLineJFS
I am thinking that perhaps, I need to have the Advanced Vxfs FileSystem loaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 01:27 PM
04-11-2003 01:27 PM
Re: fsadm error
If you cut and pasted the commands as they were typed, then you didn't reduce it to 1gb you expanded it to 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 01:35 PM
04-11-2003 01:35 PM
Re: fsadm error
# grep vxadv /stand/system
OnlineJFS needs that driver to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 05:53 PM
04-11-2003 05:53 PM
Re: fsadm error
I would not proceed with this reduction. You take the chance of truncating some of your O/S. This is because /usr is not contiguous. The entire lvol is utilized, hence the need to defragment. Although decrementing approaches contiguousness, it doesn't guarantee it.
One final note, you're defrag will probably fail if you're over 85% utilized. Some temporary work space is needed for the procedure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 05:55 PM
04-11-2003 05:55 PM
Re: fsadm error
...should read "...Although defragmenting...".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 06:39 AM
04-16-2003 06:39 AM
Re: fsadm error
created a 1 GB logical volume (lvol9) and mount it at /usr2
then copied the content of /usr to /usr2
changed /etc/fstab to reflect lvol9 mounting at /usr
rebooted
lreduce /dev/vg00/lvol8 -L 1024M
(note) I could not fsck lvol8 no matter what options I used. Apparently lvol8 was beyond repair and I had to newfs it instead.
newfs -F vxfs /dev/vg00/rlvol8
mount /dev/vg00/lvol8 /us2
restored the content from temporary /usr to /usr2
cp -R -p * /usr2
changed /etc/fstab to reflect lvol 8 mounting at /usr
reboot and it worked like a charm.
/usr has been reduced to 1 GB as needed.
Thanks to all who have responded. You guys are great!