Operating System - HP-UX
1748142 Members
3623 Online
108758 Solutions
New Discussion юеВ

Re: Need help extending my / root filesystem

 
SOLVED
Go to solution
sysad_boy
Frequent Advisor

Need help extending my / root filesystem

Hi,

I am having problems extending my root filesystem,
and I will need your suggestions on how to approach this problem.
First and foremost I would like to show you my server's bdf output:

root:/> bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 210216 2768 99% /
/dev/vg00/lvol1 298928 67232 201800 25% /stand
/dev/vg00/lvol8 17301504 5537320 11672360 32% /var
/dev/vg00/lvol7 2916352 1708568 1198384 59% /usr
/dev/vg00/lvol4 1032192 1009488 22704 98% /tmp
/dev/vg00/lvol6 4096000 1513816 2562104 37% /opt
/dev/vg00/lvol5 2048000 1123256 917848 55% /home
/dev/vg00/lvprd 5128192 2897654 2107142 58% /home/ccb/prd
/dev/vg00/lvappl 4096000 3060383 970905 76% /home/appl
/dev/vg00/lvgsm 1032192 1421 966420 0% /gsm
/dev/vg00/lvlife 1032192 420180 580449 42% /LIFE


I ran ignite which i will use as my tool to restore and extend my / filesystem.
Problem is can't perform a successful Ignite Backup without using the "exclusion" option of Ignite.
From the bdf output above, i excluded the following filesystems:

/home/ccb/prd
/home/appl
/gsm
/LIFE

With exclusions already I was able to complete my Ignite in 12 hours.
Ignite without exlusions takes forever and usually ends up crashing my
putty maybe due to out of free space in /.

Can you give me suggestions on how to extend / and also restore the exlcuded directories.




TIA!
16 REPLIES 16
Suraj K Sankari
Honored Contributor
Solution

Re: Need help extending my / root filesystem

Hi,
Before extending the root file system did you checked any huge file is there or not ?
sometimes due to some open file also / is getting full check with "lsof" command.

Please find the attache doc, step by step how to extend the root file system.

Suraj
Sajjad Sahir
Honored Contributor

Re: Need help extending my / root filesystem

Dear Friend

first u have to find what are the files consuming more space
find / -xdev -type f -size +10000000c
and if core files are there u should remove.

please Boot from the ignite tape and once you got the menu, you have an option there to change the lvol size from the menu.

thanks and regards

Sajjad Sahir
sysad_boy
Frequent Advisor

Re: Need help extending my / root filesystem

No large files can be found under / that can be deleted.
Kenan Erdey
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

before giving decision for extending root, you should look at what fills root partition. ├Д┬▒t's not expected to fill and it's supposed to be static. you can check big files here.

best way is as you said ignite. but it needs space so check what fills it.
other ways are present with mirror/ux. you can check forum.

Kenan.
Computers have lots of memory but no imagination
sysad_boy
Frequent Advisor

Re: Need help extending my / root filesystem

Is this file safe to be deleted?


root:/> find / -xdev -type f -size +10000000c
/etc/vx/static.d/build/vold.o
root:/> ls -l /etc/vx/static.d/build/vold.o
-r-xr-xr-x 1 bin bin 29362205 Oct 6 2004 /etc/vx/static.d/build/vold.o



Sajjad Sahir
Honored Contributor

Re: Need help extending my / root filesystem

Dear Sysad

please Boot from the ignite tape and once you got the menu, you have an option there to change the lvol size from the menu.

thanks and regards

Sajjad sahir
sysad_boy
Frequent Advisor

Re: Need help extending my / root filesystem

Hi Saijad Sahir,


Yes I am aware that the way to extend / is to restore from Ignite. But nmy problem is I excluded some FS in my ignite backup. How can I restore those without it being included in my Ignite backup?


Thanks!
Sajjad Sahir
Honored Contributor

Re: Need help extending my / root filesystem

Dear Sysad

please understand that Ignite is a disaster recovery tool only not a full backup/restore tool. so u should use other backup utilitiles for designed for this purpose: fbackup, dataprotector etc...
Ignite is designed to recover your root volume in a DR situation. You then can go on to use your regular backup methodology to restore the rest of your data.
from my understanding it is now not possible because u already exclued some files from u vg00 group in ignite tool.


thanks and regards

Sajjad Sahir

Kenan Erdey
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

first it's not a good thing to keep your data in vg00. after ignite you will lose it because you extracted. first take backup of your data. then restore from ignite. create mount points. and restore your data.
Computers have lots of memory but no imagination