- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend / (root) in HPUX 10.20
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-22-2010 06:46 AM
12-22-2010 06:46 AM
Extend / (root) in HPUX 10.20
I was trying to install gcc compiler on a HP-UX 10.20 Server when I encountered the following problem:
ERROR: The used disk space on filesystem "/" is estimated to increase
by 192468 Kbytes.
This operation will exceed the absolute limit on this volume
by 129717 Kbytes. You should free up at least 137254 Kbytes
to avoid installing beyond the minimum free threshold of
available user disk space.
My root seems to be too small and the only thing to do is expand it, I guess. There are alternative solutions?
Now, here are a list of information about my system:
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 83733 18873 56486 25% /
/dev/vg00/lvol1 63765 10235 47153 18% /stand
/dev/vg00/lvol7 480341 193750 238556 45% /var
/dev/vg00/lvol6 382933 326835 17804 95% /usr
/dev/vg00/lvol4 30597 1652 25885 6% /tmp
/dev/vg01/lv01 17391900 1674700 13978010 11% /home2
/dev/vg00/lvol8 15039607 4494669 9040977 33% /home
/dev/vg00/lvol5 259157 150473 82768 65% /home/opt
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t6d0
/dev/vg01
/dev/dsk/c3t5d0
# more /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / hfs defaults 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp hfs defaults 0 2
/dev/vg00/lvol6 /usr hfs defaults 0 2
/dev/vg00/lvol7 /var hfs defaults 0 2
/dev/vg00/lvol8 /home hfs defaults 0 2
/dev/vg01/lv01 /home2 hfs rw,suid 0 2
/dev/vg00/lvol5 /home/opt hfs defaults 0 2
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-6502B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 10/0/15/1.5.0 sdisk CLAIMED DEVICE QUANTUM ATLAS10KII-18LVD
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 2 10/0/15/1.6.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
I thought to move all LVs preceding to the lvol3 (lvol4, 5, 6, 7 and 8). However the c3t5d0 belongs to another VG, so I tried to create a spare disk but that failed:
# pvcreate -f /dev/rdsk/c6t8d0
Couldn't stat physical volume "/dev/rdsk/c6t8d0":
pvcreate: Couldn't open physical volume "/dev/rdsk/c6t8d0":
No such file or directory
What can I do to solve this?
Any suggestion will be really appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 06:54 AM
12-22-2010 06:54 AM
Re: Extend / (root) in HPUX 10.20
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 07:07 AM
12-22-2010 07:07 AM
Re: Extend / (root) in HPUX 10.20
It looks like you have two 18.2GB hard disks. The boot disk is probably used up completely, I counted 16.3GB in use and you probably are using some for SWAP.
The second disk is used exclusively by /home2 and may have some unallocated space. /home2 has a lot of free space, if you don't need that exclusively for user space you could install gcc there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 07:55 AM
12-22-2010 07:55 AM
Re: Extend / (root) in HPUX 10.20
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4340
Free PE 0
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 64
Current LE 16
Allocated PE 16
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 84
Current LE 21
Allocated PE 21
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 32
Current LE 8
Allocated PE 8
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 260
Current LE 65
Allocated PE 65
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 384
Current LE 96
Allocated PE 96
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 15012
Current LE 3753
Allocated PE 3753
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4340
Free PE 0
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 2
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4342
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4340
Free PE 0
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg01/VGID
LV Status available/syncd
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 4340
Used PV 1
LV Name /dev/vg01/lv01
LV Status available/syncd
LV Size (Mbytes) 17360
Current LE 4340
Allocated PE 4340
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 4340
Free PE 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 08:09 AM
12-22-2010 08:09 AM
Re: Extend / (root) in HPUX 10.20
What do you exactly mean with "Check the install, find out exactly where it is installing to and change it to some place with enough free space"?
I have a depot file and I'm trying to install with "swinstall" command. I don't know how to change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 10:47 AM
12-22-2010 10:47 AM
Re: Extend / (root) in HPUX 10.20
From where? Is it trying to install in /opt/?
You might be able to create a symlink under /opt/ to use space elsewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2010 01:23 AM
12-23-2010 01:23 AM
Re: Extend / (root) in HPUX 10.20
This is the installation log file:
======= 10/23/10 08:45:34 METDST BEGIN install AGENT SESSION
(pid=3601) (jobid=hpmps4-0058)
* Agent session started for user "root@hpmps4". (pid=3601)
* Beginning Analysis Phase.
* Source: hpmps4:/home2/tmp/TWWgcc402.depot
* Target: hpmps4:/
* Target logfile: hpmps4:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The fileset "TWWgcc402.TWWgcc402-HELP,r=T.4.0.2.2" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "TWWgcc402.TWWgcc402-LIBR,r=T.4.0.2.2" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "TWWgcc402.TWWgcc402-MAN,r=T.4.0.2.2" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
* Reading source for file information.
* Executing preDSA command.
ERROR: The used disk space on filesystem "/" is estimated to increase
by 192468 Kbytes.
This operation will exceed the absolute limit on this volume
by 128397 Kbytes. You should free up at least 135934 Kbytes
to avoid installing beyond the minimum free threshold of
available user disk space.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 114 Kbytes.
This will leave 238256 Kbytes of available user disk space
after the installation.
* The "enforce_dsa" option may be set to "false" to override
disk space analysis failures. However, proceeding in this case
could result in an unusable system if you exceed available
space.
NOTE: All products will be skipped because there was a global error.
* Summary of Analysis Phase:
* 3 of 4 filesets will be Skipped.
* 1 of 4 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.
======= 10/23/10 08:45:37 METDST END install AGENT SESSION
(Cancelled) (pid=3601) (jobid=hpmps4-0058)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2010 03:32 AM
12-23-2010 03:32 AM
Re: Extend / (root) in HPUX 10.20
You'll need symlinks for each /opt/ tree. In fact you may want to move some existing trees there before you start.
Unfortunately the DSA will not realize that you have symlinks in place for your new software, so you may have to use "-x enforce_dsa=false", provided you have all the symlinks in place for each new tree.
You can see your new files by:
swlist -l file -s /path-to-depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2010 06:22 AM
12-27-2010 06:22 AM
Re: Extend / (root) in HPUX 10.20
Thank you everybody.