- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need extend root lvm using expert recovery she...
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-17-2010 02:49 AM
05-17-2010 02:49 AM
Can anyone help me about extending the root LVM using the expert recovery shell after boot the system using internal OS DVD?
Currently I dont have any ignite backup.
Aungshu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 03:23 AM
05-17-2010 03:23 AM
SolutionLook at this LVM recovery document:
http://www13.itrc.hp.com/service/cki/docDisplay.do?admit=109447627+1274095375111+28353475&docId=emr_na-c01037913-4&docLocale=en
And go to "Increasing root lv`s size, unofficial procedure"
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 03:51 AM
05-17-2010 03:51 AM
Re: Need extend root lvm using expert recovery shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 03:58 AM
05-17-2010 03:58 AM
Re: Need extend root lvm using expert recovery shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:28 AM
05-17-2010 04:28 AM
Re: Need extend root lvm using expert recovery shell
1. Misspelling a backup device, thus filling /dev with a massive file.
2. Using / for general storage or worse, application storage.
3. Defective scripts that create thousands of small junk in /.
So, analyze the root directory and find out why / needs to be larger than 300-500 MB. Use this command:
du -kx / | sort -rn | head -20
The largest directories are at the top of the list. The two largest directories are /sbin and /etc. Here are examples of 4 versions of HP-UX simple installs:
11.00
/etc = 23 MB
/sbin = 11 MB
11.11
/etc = 63 MB
/sbin = 37 MB
11.23
/etc = 190 MB
/sbin = 98 MB
11.31 (PARISC)
/etc = 213 MB
/sbin = 113 MB
11.31 (Itanium)
/etc = 56 MB
/sbin = 170 MB
/dev is always less than 100 KB. IF larger, use this to find the mistakes:
find /dev -type f
No ordinary files are ever to be stored in /dev. If there are large files stored in /, they typically are there because root's HOME directory is /, the worst possible location. The HOME directory for root needs to be moved, along with all the "root-droppings" that are filling the / directory.
>> Currently I dont have any ignite backup.
Don't even think about resizing the root volume without an Ignite backup. All of the procedures to resize the root volume can seriously damage your system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:38 AM
05-17-2010 04:38 AM
Re: Need extend root lvm using expert recovery shell
Most probably we will go reinstall the OS then restore all other VG configuration from backup.
But, Thanks all of you for nice post.
Aungshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:40 AM
05-17-2010 04:40 AM
Re: Need extend root lvm using expert recovery shell
IF your VG00 is mirrored u can do it online. Procedure attached.
But take the ignite backup before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:45 AM
05-17-2010 04:45 AM
Re: Need extend root lvm using expert recovery shell
You should ask him why he wants to increase root FS in 9Gb. He must have its application in dedicated FS other than root.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:51 AM
05-17-2010 04:51 AM
Re: Need extend root lvm using expert recovery shell
IMHO a totally wrong decision.
All data should be in another VG, not vg00.
Create a new VG on a new disk!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 05:06 AM
05-17-2010 05:06 AM
Re: Need extend root lvm using expert recovery shell
If you are the system administrator, remember that you will be blamed for the future problems, long after the SAP consultant is gone and forgotten.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 04:40 PM
05-17-2010 04:40 PM
Re: Need extend root lvm using expert recovery shell
Do not waste your time on doing this.
Plus, you are breaking the best practices
for HP-UX. Root file system is not meant to
be a "dump wasteland" for every application
on tyhe planet (SAP included).
You are trying to help a person
who does not know what they are talking
about.
Get a better SAP consultant or ask
them for justification. Believe me,
there is NONE!
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 12:00 AM
05-18-2010 12:00 AM
Re: Need extend root lvm using expert recovery shell
Probably a sap consultant who is used to working on a solaris system, were giving the root "slice" "everything" that is not needed for the other "slices", of the rootdisk, is a common practice..
Greetz,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 12:27 AM
05-18-2010 12:27 AM
Re: Need extend root lvm using expert recovery shell
Making the / mountpoint = 10 GB is simply insane, probably because the consultant is used to running tiny workstations where everything is stored in one big directory.
- with all respect, yes of course you have to 99% right with the large or single /, but in my opinion, its depend on the Customer requrements, if you build for example some development system with SAP, and you have for example rx4640 with two disks, of course mirrored with LVM, because of SPOF, and actually nobody is able to define some FS size such a /, /opt, /usr ......, and them you need to make some standard SAP mount point structure, of course /oracle/....SAPID/.... dedicated in VG00s lvols, you don't have much choices.
its better to make a single FS / for the system, and of course separated FS ofor the SAP data and them after installation of SAP you can easy make Ignite and recover the system with dedicated system FS.
that's my personal opinion, saw it serveral times in the customers enviroments.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 08:28 AM
05-18-2010 08:28 AM
Re: Need extend root lvm using expert recovery shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 12:21 PM
05-18-2010 12:21 PM
Re: Need extend root lvm using expert recovery shell
The SAP consulting is cracked. I'd like to know what he's been smoking.
The root file system is not supposed to include any data files, not even from SAP. All files installed by SAP should be in mounted file systems, not root.
Please ignore the SAP consultant and tell him what Bill Hassell said.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com