- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I add space to a file system?
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-15-2003 01:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:10 AM
12-15-2003 01:10 AM
Re: How do I add space to a file system?
extendfs
-or, if you have online jfs-
lvextend
fsadm
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:12 AM
12-15-2003 01:12 AM
Re: How do I add space to a file system?
You can allways use SAM.
//Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:13 AM
12-15-2003 01:13 AM
SolutionSorry, couldn't help it.
What do you mean by adding space? If you mean you want to increase it, then you need to increase the logical volume it sits on "lvextend" and then increase the filesystem "fsadm". If you have OnlineJFs then you can do this online, otherwise you need to unmount the filesystem first.
Youcan see that there are a few more question here that perhaps you could answer for us. Also, do you have any free space in the volume group or are you going to add more disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:13 AM
12-15-2003 01:13 AM
Re: How do I add space to a file system?
it also depends which file system if you are not using JFS you cannot extend root or stand on the fly.
which file system do you wish to extend ?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:14 AM
12-15-2003 01:14 AM
Re: How do I add space to a file system?
To add space to an FS:
1) Determine if free space left in VG
vgdisplay -v /dev/vg_name
IF NOT - add a disk to VG
vgextend /dev/vg_name /dev/dsk/cXtYdZ
2) Extend the LV with the new space
lvextend -L XXXX /dev/vg_name/lv_name
where XXXX=new size in MB - must be larger than existing size of course
3) If you have OnLine JFS - extend the FS on the fly
fsadm -F vxfs -b XXXXM /mnt_point
where XXXX equals new, larger size & the "M" tells the command it's in MB
If you don't have OnLine JFS you'll have to unmount the FS before the lvextend commans & use
extendfs -F vxfs /dev/vg_name/lv_name
to extend the FS - it will use the entire new larger size by default & then mount the FS again & check the size
As you can see it's much easier w/OnLine JFS.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:17 AM
12-15-2003 01:17 AM
Re: How do I add space to a file system?
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2003 01:20 AM
12-15-2003 01:20 AM
Re: How do I add space to a file system?
Is there room left in the VG?
# vgdisplay /dev/vgXX
Check "Free PE"
If no - then you need to add more disk.
If yes, then what is your "PE Size (Mbytes)"
Multiply that by the "Free PE"
Next, lvdisplay /dev/vgXX/lvolXX
If "Allocation" is "strict/contiguous" - then you can only add to it if there are extents immediatley following that lvol...
If it's just "strict" - you are in business....
Do you have Online JFS?
If yes:
lvextend -L
fsadm -b
If no, un mount the file system, then:
lvextend -L
extendfs -L
Rgds...Geoff