- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reducing vxfs filessytem/Logical Volume
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
Discussions
Discussions
Forums
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
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
тАО11-27-2002 05:17 AM
тАО11-27-2002 05:17 AM
Reducing vxfs filessytem/Logical Volume
HP-UX 11.00
I have a HP vxfs filessytem testlv(/dev/test/testlv) created with 100MB. It contains files size worth 52MB. I wnat to reduce the filesystem/Logical volume to 64MB so that I can use the remaining space. I tried the following and received the message as follows:-
# fsadm -d -D -e -E /testlv
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /testlv is not the root inode of a vxfs file sytem
Thanks
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 05:21 AM
тАО11-27-2002 05:21 AM
Re: Reducing vxfs filessytem/Logical Volume
should be
fsadm -d -D -e -E /dev/test/testlv
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 05:29 AM
тАО11-27-2002 05:29 AM
Re: Reducing vxfs filessytem/Logical Volume
please make sure if that is a vxfs filesystem:
# fstype -v /dev/test/testlv | grep -i f_basetype
IF, then please check if you have installed the newest LVM, VXFS, SCSI patches on your system.
IF NOT you have to use the LVM commands and to restore the datas from a backup:
# umount /testlv
# lvreduce -L 52 /dev/test/testlv
# newfs -F vxfs /dev/test/rtestlv
---> now restore the datas
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 05:37 AM
тАО11-27-2002 05:37 AM
Re: Reducing vxfs filessytem/Logical Volume
If you *don't* have OnlineJFS then you cannot use 'fsadm' to shrink the filesystem. Instead, you must backup the filesystem; unmount it; use 'lvreduce' on the logical volume; resize the filesystem is with 'newfs'; remount it; and restore the data.
If you *do* have OnlineJFS then to shrink it you can try first defragmenting it to increase the odds that shrinking it will work. Use 'fsadm -b
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 05:40 AM
тАО11-27-2002 05:40 AM
Re: Reducing vxfs filessytem/Logical Volume
Before reduce lvol you should reduce the file system. If you have online Jfs install try :
# fsadm -F vxfs -b [new_mb_size]M
# lvreduce -L [new_mb_size] /dev/test/testlv
Without JFS you should umount filesystem, reduce lvol and backup files.
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 05:57 AM
тАО11-27-2002 05:57 AM
Re: Reducing vxfs filessytem/Logical Volume
Following are some of the results I tried with the suggested options.
# fstyp -v /dev/test/testlv | grep -i f_basetype
f_basetype: vxfs
[cctest01]: /tmp
# fsadm -F vxfs -b 64M /testlv
vxfs fsadm: /testlv is not the root inode of a vxfs file sytem
[cctest01]: /tmp
Could you please tell how to check online JFS is installed on the sytem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 06:04 AM
тАО11-27-2002 06:04 AM
Re: Reducing vxfs filessytem/Logical Volume
# swlist -l product|grep -i online
You should have :
OnlineJFS B.11.11 Online features of the VxFS File System
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 06:07 AM
тАО11-27-2002 06:07 AM
Re: Reducing vxfs filessytem/Logical Volume
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 06:10 AM
тАО11-27-2002 06:10 AM
Re: Reducing vxfs filessytem/Logical Volume
# swlist -l product|grep -i online
PHKL_24745 1.0 VxFS 31 OnlineJFS cumulative patch
# fsadm -F vxfs -b 64M /testlv
vxfs fsadm: /testlv is not the root inode of a vxfs file sytem
[cctest01]: /tmp
# fsadm -d -D -e -E /dev/test/testlv
vxfs fsadm: /dev/test/testlv is not the root inode of a vxfs file sytem
What is the 'not the root inode of a vxfs file sytem ' mean?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2002 06:22 AM
тАО11-27-2002 06:22 AM
Re: Reducing vxfs filessytem/Logical Volume
You don't have online JFS 3.3 install.
You should install this :
OnlineJFS 3.3 JFS 3.3 online (Advanced) filesystem features
Regards,
Jerome