1753934 Members
9443 Online
108810 Solutions
New Discussion юеВ

/opt 100% ful

 
nany123
New Member

/opt 100% ful

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 147541 49834 82952 38% /
/dev/vg00/lvol1 47829 16714 26332 39% /stand
/dev/vg00/lvol7 480341 270700 161606 63% /var
/dev/vg02/lvol1 8142898 5506378 1822230 75% /var/opt/imap
/dev/vg00/lvol6 498645 314904 133876
70% /usr
/dev/vg00/lvol5 95973 44690 41685 52% /tmp
/dev/vg00/lvol4 498645 453188 0 100% /opt
/dev/vg01/lvol8 4099465 289688 3399830 8% /opt/cbc

so i need to extend the FS,How it would be done .Thanks for all
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: /opt 100% ful

hi,

at first you should find out why the file system is filled up to 100%, and them if its possible to extend this FS.

mikap
subodhbagade
Regular Advisor

Re: /opt 100% ful

Hi,


(A)

if online JFS install then no need to umount the FS, use cmd as
fsadm -F vxfs -b M f/s name

(B) I believe to extend the /opt you have to go into single user mode ..( Interrupt the boot sequence )

(C) If online JFS are not install then :--
stepas are

(1) Make sure no SAP or any other appliction running on the server which make device busy.
(2) fuser -cu /mount point
(3)fuser -ku /mount point
(3) if still device is busy then
kill the pid
(4)umount /dev/vgname/lvol
(5)lvextend -L final size in mb /dev/vgname/lvol

(6)extendfs -F vxfs /dev/vg/rlvol

(7)mount /dev/vg/lvol /mount point

(8) check with bdf.

Regards,
Subodh.
Sunny123_1
Esteemed Contributor

Re: /opt 100% ful

Hi

First look out for the unwanted data is there or not.If it is there remove it.

find /opt/* -xdev -size +10000 -exec ll {} \; > /tmp/bigfiles
will give you a list of all big files ( >10000)

find / -name core

Delete all core files.


Still you want to extend the filesystem then you have to boot the system in single user mode.

Boot the system.
Intrupt it in ISL promt
hpux -is
lvextend -L lvname
extendfs -F vxfs /opt
mount /opt
Check new size.
Reboot it in normal mode.

Regards
Sunny