- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I add a new disk on my HP-UX server
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
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
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
тАО08-01-2009 08:26 AM
тАО08-01-2009 08:26 AM
How can I add a new disk on my HP-UX server
Can you please guide me how can I add a new disk to my HP-UX server if it has not contained the root file system / if it contains the root file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 08:46 AM
тАО08-01-2009 08:46 AM
Re: How can I add a new disk on my HP-UX server
=>Connect the disk
=>Check it with ioscan command whether is is recognised(Claimed) and device file created,
#ioscan -funC disk
=>If device file is not created, create with following command,
#insf -H
Now Disk addidtion is over.
Provide some more infos like,
1) Why do you want to add disk ?
2) Are you using LVM or VxVM ?
Reagrds,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 08:51 AM
тАО08-01-2009 08:51 AM
Re: How can I add a new disk on my HP-UX server
I am using LVM and there is not enough space available for my root file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 09:07 AM
тАО08-01-2009 09:07 AM
Re: How can I add a new disk on my HP-UX server
So you need to extend the root file system
You cannot extend root file system like others,
Its required Contiguous PE's.
The recommended way is to extend root file system is,
Boot with ignite backup and modify the file system.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 09:39 AM
тАО08-01-2009 09:39 AM
Re: How can I add a new disk on my HP-UX server
As Lijeesh told, the better way is taking the latest Ignite and restore the same. There you will get an option to modify the VG configuration.
The other option is
Take the backup of /dev/vg00/lvol4 remove /dev/vg00/lvol4 and extend the root there. and recreate the lvol4 and restore the back up of the same.
Normally it will be /tmp.
The process is not easy as ignite, still if there is no way, we can do it.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 09:43 AM
тАО08-01-2009 09:43 AM
Re: How can I add a new disk on my HP-UX server
Forgot to ask you onething.
Why root is full?? You may check the usage if it is used by some other files you may create a mount point and mount those directories separately.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 05:33 PM
тАО08-01-2009 05:33 PM
Re: How can I add a new disk on my HP-UX server
Before extending the root file sys try finding files that are occupying huge space. Use below command to find 20 largest files in root:
# du -kx / | sort -rn -k1 | head -n 20
May be there are some files like core files that you do not need or can safely move them some where else, thus creating space.
If you do not find any such file, then obviously you have to extend it and as mentioned Ignite would be an easier choice.
Also you need to monitor if the size of root is continuously increasing.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2009 06:46 PM
тАО08-02-2009 06:46 PM
Re: How can I add a new disk on my HP-UX server
check is thre any core or large log files in root file system
using
find / -xdev -name core -print
find / -xdev -name *.log -print
find / -xdev -size +1000000 -exec ls -l {} \;
and free up some space in / file system rather going to extend it.
boot from ignite is the easy way to resize root file system. As root dump and boot should be contiguous.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2009 06:58 PM
тАО08-02-2009 06:58 PM
Re: How can I add a new disk on my HP-UX server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2009 07:14 PM
тАО08-02-2009 07:14 PM
Re: How can I add a new disk on my HP-UX server
Adding to HP-UX is the same as I mentioned above for a new disk or a used disk;
I mean disk with file system (earlier used one) or without file syetm.
Integrating to LVM,
If it used earlier we have to use -f switch with pvcreate command,
#pvcreate -f
Regards,
LIJEESH N G