Operating System - HP-UX
1832877 Members
2420 Online
110048 Solutions
New Discussion

Re: Exptend my ROOT File System

 
HP UNIX Professionals
Frequent Advisor

Exptend my ROOT File System

Hi Experts i want to exptend my " / File System" ,
Online JFS is available.

1.So how to extend anybody know the procedure help me

2.How to identify the next logical volume of /


Please help me in this issue.

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvroot 692224 667255 23442 97% /
/dev/vg00/lvstand 75733 19178 48981 28% /stand
/dev/vg00/lvvar 409600 49159 339373 13% /var
/dev/vg00/lvtmp 524288 60972 434468 12% /tmp
/dev/vg00/lvsoft 4096000 1644911 2421178 40% /soft
/dev/vg00/lvdata 2056192 1761424 276800 86% /data


Thanks & Regards,

VINAY
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Exptend my ROOT File System

Hi Vinay:

The safest way to do this is to take an Ignite backup of your server; boot from the Ignite tape and reinstall using Ignite's Advanced Installation menu(s). You can resize any or all vg00 logical volumes this way quite easily and safely.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Exptend my ROOT File System

Shalom,

1) You can not extend root, it must be contiguous.

2) You can back up your vg00 with Ignite, restore Ignite backup and then intervene and set / larger in the restore.

3) I think if you look around in / you will find something that does not belong there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: Exptend my ROOT File System

I agree with Steve - there must be something in there that doesn't belong. The most famous problem comes from a regular file in the /dev directory, caused when someone mistypes a tape device name during a backup. Check with "find /dev -type f" - you should not see any regular files.

Other than that one common error, you will need to do some careful checking. Run "du -sk /* |sort -n" to see where the most space is used up. Use "find / -name core" to look for coredumps.

The root file system should be relatively static and yours is plenty big enough - you just need to remove some junk that doesn't belong.


Pete

Pete
SoorajCleris
Honored Contributor

Re: Exptend my ROOT File System

Hi ,

Which is your OS version?

As everybody told, the safest method is

1. Check if there any files which can be removed.
2. Taking an restring the ignite backup.

Still there are menthods to extend the root volume.

1. As it should be contigeous, only thing you can do is reduce the size of next volume ( probably /tmp) and increase the /

1. boot in lvmmaitenance.
2. remove /tmp
3. extend /
extend the filesystem
4. recreate /tmp
do lvlnboot
and copy back the backup /tmp if required

Other method is using DRD ( 11.23 onwards)

Regards,
Sooraj

Regards

rememv
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie