HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

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

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.....

Suraj K Sankari
Honored Contributor

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


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.

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.

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.