System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
Ganesan R
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

>>>But my problem is I excluded some FS in my ignite backup. How can I restore those without it being included in my Ignite backup?<<<

You cannot restore the excluded FS from ignite tape. You need to restore from other backup tools like fbackup, tar, cpio, netbackup, dp, if you have already taken those FS.
Best wishes,

Ganesh.
Michal Kapalka (mikap)
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

the best and recommended way how to extend a root file system is to use Ignite.



mikap



sysad_boy
Frequent Advisor

Re: Need help extending my / root filesystem

I am now running fbackup.

Thanks!

In your point of view, which of the two backup utilities should be easier to be used for restoration. Is it tar or fbackup?
Sunny123_1
Esteemed Contributor

Re: Need help extending my / root filesystem

Hi sysad_boy

Fbackup is good for the backup.Tar is also preferable.

Regards
Sunny
Suraj K Sankari
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

>>In your point of view, which of the two backup utilities should be easier to be used for restoration. Is it tar or fbackup?

For OS point of view you should take Ignite backup, between tar and fbackup i will preferred fbackup.

Suraj
Kenan Erdey
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

also look at here for choosing backup utulity:

http://docs.hp.com/en/5992-4616/ch03s04.html#chooseutil


Computers have lots of memory but no imagination
Ganesan R
Honored Contributor

Re: Need help extending my / root filesystem

Hi,

>>>In your point of view, which of the two backup utilities should be easier to be used for restoration. Is it tar or fbackup?<<

Every backup tool has it's own capablities and drawbacks.

Since fbackup is hp's own tool, it will give better performance than others.
Best wishes,

Ganesh.