Mount Point Sorting?


 
Thread Tools Search this Thread
Operating Systems Solaris Mount Point Sorting?
# 1  
Old 06-05-2009
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  
Old 06-05-2009
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 05:55 AM.. Reason: version added
# 3  
Old 06-08-2009
Hi,
Could it be done by re-positioning the mountpoints at /etc/mnttab for permanent fix?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mount Point is locked

Hi there, I have a mount point that is locked. How do I unlocked it? (1 Reply)
Discussion started by: alvinoo
1 Replies

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

3. Red Hat

NFS mount point

Hi, Can you tell me something about NFS mount point ? Regards, Maddy (3 Replies)
Discussion started by: Maddy123
3 Replies

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

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

6. Solaris

Size of Mount Point

Hi, On Solaris 5.10, I have a following mount point: /dev/dsk/emcpower0a 492G 369G 118G 76% /u02 In /u02, from the du -h command, I can see that only 110G is used by couple of directories. I am wondering where the rest of 259G has gone? Any ideas please? How can I check... (17 Replies)
Discussion started by: fahdmirza
17 Replies

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

8. UNIX for Dummies Questions & Answers

concept of mount point

Hi All I Know it is a really basic and stupid question perhaps...But I am going bonkers.. I have following valid paths in my unix system: 1. /opt/cdedev/informatica/InfSrv/app/bin 2. /vikas/cdedev/app Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Discussion started by: Vikas Sood
3 Replies

9. UNIX for Dummies Questions & Answers

auto mount point

hi can i know what is the command to create auto mount point in my unix server? is there any directory which i have to go? (1 Reply)
Discussion started by: legato
1 Replies

10. 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
Login or Register to Ask a Question