- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extending file system sizes without OnlineJFS ...
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
06-15-2004 11:09 PM
06-15-2004 11:09 PM
extending file system sizes without OnlineJFS installed
How could I extend my file system sizes if I don't have OnlineJFS installed? Could I do this?
Many thanks.
Rommel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:12 PM
06-15-2004 11:12 PM
Re: extending file system sizes without OnlineJFS installed
You need to extend the logical volume with "lvextend", unmount the filesystem, use "extendfs" to increase it and then mount it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:17 PM
06-15-2004 11:17 PM
Re: extending file system sizes without OnlineJFS installed
First: make a FS backup!
#fstyp /dev/vgnn/filesystem
vxfs or hfs
#umount /mount_point
If device are busy:
#fuser -k /dev/vgnn/filesystem
#lvextend -L
#extendfs -F [vxfs|hfs] /dev/vgnn/[r]filesystem
#mount /dev/vgnn/filesystem /mount_point
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:17 PM
06-15-2004 11:17 PM
Re: extending file system sizes without OnlineJFS installed
But what if this is a "default file system" (i.e. the /var filesystem)?
Rommel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:18 PM
06-15-2004 11:18 PM
Re: extending file system sizes without OnlineJFS installed
extend /app to 500 MB.
# fstyp /dev/vg01/lvol1
vxfs
# lvextend -L 500 /dev/vg01/lvol1
# umount /app
# extendfs -F vxfs /dev/vg01/rvol1
# mount /app
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:21 PM
06-15-2004 11:21 PM
Re: extending file system sizes without OnlineJFS installed
# umount
# lvextend -L
# extendfs -F
# mount /dev/vgxx/rlvolx
# bdf
Check for the new size of FS.
Size given in MB is the total size of the FS and not addition to the existing one.
see man lvextend,extendfs
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:22 PM
06-15-2004 11:22 PM
Re: extending file system sizes without OnlineJFS installed
If your FS is /var you must go to single mode first, i.e:
#init s
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:23 PM
06-15-2004 11:23 PM
Re: extending file system sizes without OnlineJFS installed
You're problem with /var is that it is going to be difficult to unmount because many processes are probably using it. If you can track them all down and stop them, then you can unmount it and do as is mentioned above. Otherwise, you might have to go single user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:32 PM
06-15-2004 11:32 PM
Re: extending file system sizes without OnlineJFS installed
If it is var see the thread below:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=16625
That should help.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 11:53 PM
06-15-2004 11:53 PM
Re: extending file system sizes without OnlineJFS installed
if it is /var file system to be extended, then reboot the machine, when the system asks to press any key 10 within 10 sec, press any key
main menu> boot
Main menu> Intercat with ISL (y/n): say "y"
ISL> hpux -iS
will take you to single user mode
#mount -a
#umount /var
#lvextend -n
#extendfs -F vxfs /dev/vg00/rlvol8
#mount /dev/vg00/lvol8 /var
#init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2004 02:13 AM
06-16-2004 02:13 AM
Re: extending file system sizes without OnlineJFS installed
/ (not possible to shrink or extend)
/stand (same as /)
primary swap (not possible to shrink or extend)
/var (single user mode)
/opt (single user mode)
/usr (single user mode)
/tmp (sometimes online)
/home (sometimes online)
For the first 3, these cannot be extended online because they must have contiguous extents. Use Ignite/UX for this task. For the rest, /var, /opt and /usr are so busy that it is difficult to kill off all the processes that use these mountpoints. /tmp is not used a lot (or should not be) so fuser may find just a few processes that can be killed. /home is the same--if all the users sign off then /home can be un-mounted.
/var needs to be very large (1000 to 3900 megs) and every week (perhaps every day) searched for old files that need to be removed or trimmed in size. Igt is the busiest and fastest growing filesystem, and as you've probably seen already, crucial that it does not fill up.
Bill Hassell, sysadmin