- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /opt FS extention
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
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
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
01-10-2013 09:30 AM
01-10-2013 09:30 AM
/opt FS extention
Need to increase /opt file system from 8Gb to 10 GB. Can I do it without unmounting? How do I do it?
Thank you.
# cat /etc/fstab
# System /etc/fstab file.
Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2 ===> need to increase its size from 8Gb to 10GB
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/osmf /osmf vxfs delaylog 0 2
/dev/vg00/lvol9 /var/adm/crash vxfs delaylog 0 2
#
# fstyp /dev/vg00/lvol5
vxfs
#
# swlist -l product | grep vxfs
PHCO_40671 1.0 VRTS 5.0.1 GARP1 VRTS vxfs Command Patch
PHKL_40670 1.0 VRTS 5.0.1 GARP1 VRTSvxfs Kernel Patch
PHKL_41710 1.0 vxfs4.1 cumulative patch
VRTSvxfs 5.0.31.5 VERITAS File System
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2013 11:27 AM
01-10-2013 11:27 AM
Re: /opt FS extention
If you have Online JFS / Advanced JFS installed on your system, you can do this online.
# lvextend -L 10240 /dev/vg00/lvol5
# fsadm -b 10240m /opt
# bdf /opt
If you do not have online JFS, you will have to boot to single-user mode, so that /opt is unmounted, and then do the following:
# vgchange -a y vg00
# mount /usr
# lvextend -L 10240 /dev/vg00/lvol5
# extendfs -F vxfs /dev/vg00/rlvol5
# mount /opt
# bdf /opt
The 'bdf' in both steps is just to verify the new size.
To check and see if you have the Online JFS / Advanced JFS license you can try the following:
1) Try the 'vxlicrep' command. If it is installed you should see something like this --
# vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.006
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
-----------------***********************-----------------
License Key = 010449565889805115946529
Product Name = VERITAS File System
License Type = PERMANENT
Site License = YES
Features :=
HP_OnlineJFS = Enabled
2) Look for the Online JFS bundle of software:
# swlist -l product |grep -i online
OnlineJFS B.11.11.03.03 Online features of the VxFS File System
3) If you execute the 'fsadm -b' command above and it works, then you have the appropriate software. If it does not work, then you will have to use the 2nd set of steps above in single-user mode.
- Tags:
- fsadm