- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding space in /data file sysem in HP-UX
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
05-20-2007 04:42 PM
05-20-2007 04:42 PM
I want to add 20 GB space in one of the file systems (/data) mounted in logical volume in my HP-UX Server. Can anyone pls tell me the procedure for the same in JFS as well as VxFS ?
Thanks in advance.
Gabri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 05:10 PM
05-20-2007 05:10 PM
Solution#vgdisplay vgname |grep -E 'Free PE|PE Size'
PE Size (Mbytes) 4
Free PE 1146
The above command says you have 4464 MB (4*1146)left on the VG.
# bdf|grep /data
You can see the lvname on the first column.
#lvdisplay /dev/vgname/lvolname
(look for the LV Size of the lv)
#lvextend -L 5000 /dev/vgname/lvolname
(extend the lv to new BIG size - this case to 5000 MB - here you are increasing the size of lv)
fsadm -F vxfs -b "sizeM" /mountpoint (if you have online jfs installed - you can extend the mountpoint without unmounting it)
#fsadm -F vxfs -b 5000m /data (extending the mountpoint to 5000MB)
or
extendfs -F vxfs /dev/vgname/lvolname (if there is no online jfs installed - in this case you have to first unmount the /data before you issue the extendfs command)
man fsadm_vxfs
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 05:19 PM
05-20-2007 05:19 PM
Re: Adding space in /data file sysem in HP-UX
thanks for the reply. Is vxfs the only file system we have in hp-ux 11 or any other file system we have ? You have mentioned only vxfs file systems. Please tell me how can i check if online jfs is installed or not ?
GSB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 05:43 PM
05-20-2007 05:43 PM
Re: Adding space in /data file sysem in HP-UX
#swlist -l product|grep -i online
OnlineJFS B.11.11 Online features of the VxFS File System
The above shows you have Online VxFs installed
fstyp command on the lvol-device file will give you the type of the file system.
#fstyp /dev/vg00/lvol1 (/stand)
hfs
#fstyp /dev/vg00/lvol5
vxfs
What OS version you are using there. If you are using VxVM instead of LVM, then you have to use the Veritas commands to do the Volume Manager administration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 05:47 PM
05-20-2007 05:47 PM
Re: Adding space in /data file sysem in HP-UX
Thanks for the reply.I am using HP-UX 11i with LVM.
Please advice.
Thanks
GSB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 06:22 PM
05-20-2007 06:22 PM
Re: Adding space in /data file sysem in HP-UX
So refer my above posts - those are for the LVM stuff. Check:
- for enough free space in the VG
- use fstyp on lvol to see whether it is hfs or vxfs
- Online jfs installed or not (if installed use fsadm after lvextend with the new size)
or use extendfs
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 07:34 PM
05-20-2007 07:34 PM
Re: Adding space in /data file sysem in HP-UX
Steps are:
1, Check Online JFS software
#swlist -l product|grep -i online
2, If Online JFS is available, You can do it online
#lvextend -L ???M -n /dev/vgxx/lvname
???-> size you want to be
lvname: lv name mounted to /data
3,extend file system
#extendfs -b ???M /data
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 08:02 PM
05-20-2007 08:02 PM
Re: Adding space in /data file sysem in HP-UX
Step 1) Check for Onlinejfs
# swlist -l product OnlineJFS
# Initializing...
# Contacting target
OnlineJFS B.11.11 Online features of the VxFS File System
# If its not there follow the below steps
# ( eg: Already existing /data is 10 gb )
# lvextend -L 10+20gb /dev/vg00/data
# extendfs /dev/vg00/data
If online JFS is installed
# lvextend -L 10+20 gb /dev/vg00/data
# fsadm -F vxfs -b 10+20M /data
# bdf to check
If you want the correct GB&MB (10+20) then give the vgdisplay and lvdisplays output I will send you excat lvsize which you need to increase.
--cheers