Mount Point Sorting?


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Mount Point Sorting?
# 1  
Mount Point Sorting?

Dear Gurus,

Could it be possible to have the output of df -k sorted? The df -k output messed up after recent power trip.

Also, is there any folders that I should look into to reduce the root size (other than /var/adm and /var/crash) after server crash?

Many thanks in advance.

Warmest regards,
HM
# 2  
Quote:
Originally Posted by honmin
Could it be possible to have the output of df -k sorted?
Ad hoc:


Code:
[root@leonov] df -k -h -x tmpfs | sort -r
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda4             375G  211G  165G  57% /home
/dev/sda3              10G  3.9G  6.2G  39% /
                      233G   12G  221G   6% /media/100_ftp
//172.16.1.100/c$/SFTP
//10.0.0.205/work      72G   56G   17G  78% /media/205_nas

[root@leonov] df -k -h | head -n 1 ; df -k -h | grep -v "Filesystem" | sort -r
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M   84K   10M   1% /dev
tmpfs                 2.0G     0  2.0G   0% /lib/init/rw
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/sda4             375G  211G  165G  57% /home
/dev/sda3              10G  3.9G  6.2G  39% /
                      233G   12G  221G   6% /media/100_ftp
//172.16.1.100/c$/SFTP
//10.0.0.205/work      72G   56G   17G  78% /media/205_nas


Last edited by dr.house; 06-05-2009 at 06:55 AM.. Reason: version added
# 3  
Hi,
Could it be done by re-positioning the mountpoints at /etc/mnttab for permanent fix?
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #393
Difficulty: Easy
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies

2. UNIX for Beginners Questions & Answers

Can we have 2 mount point under the same name but at different directory?

guys i would like to know can we have 2 mount point which is same name but on different directory? (3 Replies)
Discussion started by: leecopper
3 Replies

3. Shell Programming and Scripting

Mount point usage

Hi Guys, I have Solaris 9 and RHEL 5 boxes I implemented script to send me an email when my mount point is > 90. Now the ouput id like these: /dev/dsk/emcpower20a 1589461168 1509087840 64478720 96% /data1 /dev/dsk/emcpower21a 474982909 451894234 18338846 97% /data2... (2 Replies)
Discussion started by: Phuti
2 Replies

4. Solaris

Mount point in a server

Hi , How to find out mount point in a server ? OS -- SunOS 5.6 Generic sun4u sparc SUNW Thanks (4 Replies)
Discussion started by: Maddy123
4 Replies

5. AIX

Change Mount point

Deart All, can any one help to do this, i need to change mount point in AIX 6 /opt/OM should be /usr/lpp/OM, how do i do.... Please help me Urgent issue (2 Replies)
Discussion started by: gulamibrahim
2 Replies

6. UNIX for Advanced & Expert Users

mount point lists

is there any command to know the list of mount points in a server.i need only the mount point lists.i tried using df but it was not helpful.i am using Solaris (1 Reply)
Discussion started by: dr46014
1 Replies

7. UNIX for Advanced & Expert Users

Mount point options

Hello all, I'm sharing 1 volume from a Sun Storage array (6130), out to 2 servers. Created a slice on one server and mounted a filesystem. On the other server the disk already sees the created slice from the other server (shared throught the storage array, so mounted this filesystem as well. ... (1 Reply)
Discussion started by: Sunguy222
1 Replies

8. UNIX for Dummies Questions & Answers

mount point

hi people, I'm trying to create a mount point, but am having no sucess at all, with the following: mount -F ufs /dev/dsk/diskname /newdirectory but i keep getting - mount-point /newdirectory doesn't exist. What am i doing wrong/missing? Thanks Rc (1 Reply)
Discussion started by: colesy
1 Replies

9. UNIX for Dummies Questions & Answers

Recover mount point

A disk was sliced into 6 slices with m01 being the mount point for one of the slices. This mount point was deleted with rmdir (ie. rmdir m01). What is the easiest way to recover this mount point? (1 Reply)
Discussion started by: here2learn
1 Replies

10. UNIX for Advanced & Expert Users

mount point lost

hi , I was applying patches after that when i reboot i get these message. I did not do anything other thatn this. Now i am unable to start my oracle . Tell me how to solve this These are the error messages forceload of /drv/rdriver failed /drv/rdmexus failed ... (7 Replies)
Discussion started by: sathiya
7 Replies

Featured Tech Videos