Operating System - HP-UX
1753575 Members
6200 Online
108796 Solutions
New Discussion юеВ

Re: how to umount /tmp, /var, /usr etc...

 
SOLVED
Go to solution
Kuntal Gupta
Frequent Advisor

how to umount /tmp, /var, /usr etc...

HP-UX Ver: 11.31
vxfs type: Base

Purpose for unmounting: Defragmentation

Since I am using base JFS for defragmentation I need to umount the FS which I want to defrag.
Pls suggest.....

Kuntal
5 REPLIES 5
Suraj K Sankari
Honored Contributor
Solution

Re: how to umount /tmp, /var, /usr etc...

Hi,

When the server is up and running in multi user mode you can't unmount these file systems because these are related to OS.

Start your server in single user mode then you can do whatever you want to do.

Suraj
Patrick Wallek
Honored Contributor

Re: how to umount /tmp, /var, /usr etc...

I would not worry about defragging those file systems. There generally should not be that much I/O going to those particular filesystems.

I don't think defragmentation of those will gain you much in the way of performance.
Emil Velez
Honored Contributor

Re: how to umount /tmp, /var, /usr etc...

remember alot of files and libraries are used over and over. This means that the files will get loaded into buffer cache once and usually stay there so the next time executibles and libraries are needed they are read from buffer cache with no performance penalty.

Most of the files would be written once when installed or during patch upgrades you need to focus on defragging other filesystems where the files change alot.
Kapil Jha
Honored Contributor

Re: how to umount /tmp, /var, /usr etc...

Well as suggested above you should not worry much about fragmentation.

but you can do it online nothing needs to be mounted, you can run
#fsadm -DE mount_point

to get the report if fragmentation is really required.

#fsadm -de mount_point
to start fragmentation, better if you run in low traffic and in background or on console as it takes some time.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kuntal Gupta
Frequent Advisor

Re: how to umount /tmp, /var, /usr etc...

Thanks to all of you for clearing my concept.

Regards...

Kuntal