- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to increase(EXTEND) Filesystem ONLINE ?
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
10-25-2012 02:28 PM
10-25-2012 02:28 PM
How to increase(EXTEND) Filesystem ONLINE ?
Hi,
How to increase the file system if it has got full 100% ?
I want to increase root filesystem, as their is no option of house keeping on it and the filesystem has to be increased .
Can it be done ONLINE ?
How to check the vgs ?
Please can anybody let me know the steps to increase the filesystem on HP-UX server ?
I need steps along with the commands....Please...........
In AIX we use : chfs command
In Linux we suse : lvextend command
In HP-UX : ?
Regards,
Aparna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2012 03:12 PM
10-25-2012 03:12 PM
Re: How to increase(EXTEND) Filesystem ONLINE ?
1) have storage present the new LUN
2) run ioscan to see the new disk perhaps use insf -C disk
3) use vgextend to extend the volume group to include the new disk.
4) use lvextend just like linux to extend the logical volume.
5) If you have a license for onlineJFS use fsadm -b command to extend the filesystem hot with no umount. extendfs after umount if you don't have onlineJFS.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Tags:
- fsadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2012 07:01 PM
10-25-2012 07:01 PM
Re: How to increase(EXTEND) Filesystem ONLINE ?
The root filesystem (/) cannot be extended in HP-UX as it must be contiguous. There are three ways to handle a full root filesystem:
- Cleanup the junk in the root filesystem. Thre are a lot of mistakes that cause / to fill up. The first task to is to locate the bad directories (note: not big files, big directories). Use this command:
du -kx / | sort -rn | head -20
/etc and /sbin are the largest directories. If you see anything else, that directory is incorrect and must be fixed. If /dev is visible in the top 20, someone has misspelled the name of a tape drive or other device. If a bad install package uses / rather than /opt or /usr/contrib, you'll need to move that directory to the correct location. You may find a directory (including /) that has a large core file.
In HP-UX, the / directory is virtually static with only config files in /etc growing slightly. - Make an Ignite backup of your system, then restore from the tape or network server and change the size of the root directory.
- Go into single user mode and move the lvol following the root filesystem. Then grow the size of root. There are many steps required and a mistake can destroy the filesystems.
The first choice is the least risky and the correct step since something needs fixing. Managing the root filesystem (and /var, etc) is a mandatory sysadmin function. Increasing root may be needed for an OS upgrade or a massive increase in the number of LUNs, but otherwise, keeping / clean is the best choice.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2012 01:19 AM
10-26-2012 01:19 AM
Re: How to increase(EXTEND) Filesystem ONLINE ?
As Bill stated, the root file system needs to be contiguous.. HP supported and recommended way to increase root (/) filesystem is to extend the root filesystem using Ignite-UX network or tape recovery..
Pradeep
I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2012 10:52 AM
10-26-2012 10:52 AM
Re: How to increase(EXTEND) Filesystem ONLINE ?
find / -type f -size +10000000
double check the syntax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2012 01:54 PM
10-26-2012 01:54 PM
Re: How to increase(EXTEND) Filesystem ONLINE ?
>double check the syntax
You probably want:
find / -xdev -type f -size +10000000c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2012 04:22 PM
10-26-2012 04:22 PM
Re: How to increase(EXTEND) Filesystem ONLINE ?
>> find / -xdev -type f -size +10000000c
Very important to use -xdev. Otherwise you will find large files like /stand/vmunix -- a file you definitely do NOT want to remove.
But looking for big files is the wrong approach. You first find the big directories. If you have a bad directory with 5000 files that are 100KB each, you'll never see the problem.
When you find a big directory, then use:
ls -al | sort -rnk5 | head -20
Now you can see the largest file in the large directory.
Bill Hassell, sysadmin