- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: increase file system using online jfs
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
12-19-2002 06:35 AM
12-19-2002 06:35 AM
increase file system using online jfs
May I know the command to increase and decrease JFS file system online. Online JFS has already being installed. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 06:30 AM
12-19-2002 06:30 AM
Re: increase file system using online jfs
-------------------------
To increase the capacity of a file system created on a logical volume, enter:
# umount /dev/vg00/lvol1
# lvextend -L larger_size /dev/vg00/lvol1
# extendfs -F hfs /dev/vg00/rlvol1
# mount /dev/vg00/lvol1 mount_directory
Example of using fsadm
----------------------
To resize your On-Line/Advanced JFS file system:
1. If the file system is on a logical volume, then extend the
logical volume, using SAM or lvextend(1M), as in the
example above.
If the file system is not on a logical volume, then the
disk must have space available that a file system is not
already using.
2. Use fsadm(1M) with the -b option to resize the file system.
It is recommended that you perform directory and extent
re-organization (de-fragmentation) first.
For example:
A. To perform directory and extent re-organization, and view
de-fragmentation reports:
# fsadm -d -D -e -E /
where
the JFS file system.
Or, use SAM's Disks and File Systems/File Systems subarea.
Select the file system, and select Actions...VxFS Maintenance.
B. To resize the JFS file system:
# fsadm -b
where
the JFS file system, and
the JFS file system.
The fsadm utility will resize the file system whose mount point is
the file system, the file system will be expanded to
sectors. Similarly, if
of the file system, an attempt will be made to shrink the file
system to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 06:31 AM
12-19-2002 06:31 AM
Re: increase file system using online jfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 06:31 AM
12-19-2002 06:31 AM
Re: increase file system using online jfs
Extend the logical volume e.g. /dev/vg01/lvol5 to the needed size:
# lvextend -L [lv_size_MB] /dev/vg01/lvol5
Extend the JFS file system online:
# fsadm -F vxfs -b [lv_size_MB]M /mountdirectory
NOTE: You need to add M directly to the lv_size_MB.
Check the size of the increased file system:
# bdf
2. Reducing an HP OnlineJFS File System
Reorganize directories/file extents:
# fsadm -F vxfs -d -D -e -E /mountdirectory
Reduce the JFS file system online:
# fsadm -F vxfs -b [lv_size_MB]M /mountdirectory
NOTE: You need to add M directly to the lv_size_MB.
Reduce the logical volume to the needed size:
# lvreduce -L [lv_size_MB] /dev/vg01/lvol5
Check the size of the reduced file system:
# bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 06:39 AM
12-19-2002 06:39 AM
Re: increase file system using online jfs
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 06:40 AM
12-19-2002 06:40 AM
Re: increase file system using online jfs
Pete
Pete