how to check how much space left on different slice!

how to check how much space left on different slice!

Post by Yulong Zh » Sat, 24 Aug 1996 04:00:00



I am running the solaris 2.5 x86, I really want to know what
command can do the following,
check which mount point is on which slice!
check how many space left on each slice!

thanx for your help

I know when I use df in sol2.5 on sparc, and mount to do the check,
but look like my sol2.5 x86,didn't work this way, it didn't tell me
how many space left!

larry zhou

 
 
 

how to check how much space left on different slice!

Post by William Hanl » Sat, 24 Aug 1996 04:00:00


 >I am running the solaris 2.5 x86, I really want to know what
 >command can do the following,
 >check which mount point is on which slice!

Try reading /etc/vfstab.

 >check how many space left on each slice!

If df on solaris x86 doesn't tell you how much disk space is free then
something is seriously wrong. Make sure that you have read the man
page thoroughly to see it there's a switch to have it tell you. If all
else fails ftp the gnu version of df from somewhere and build it on
your system. Here's one location that has it:

        http://www.maths.lancs.ac.uk:2080/~maa036/GNU/GNUWeb/Fileutils.html

Bill

--
William Hanlon                          (908) 445-3761
Rutgers University                      http://www-srac.rutgers.edu/~whanlon
College of Engineering                  pgp fingerprint:B1 73 95 04 E6 C9 60 04
Supercomputer Remote Access Center                      51 92 DB 62 5B F3 C4 83

 
 
 

how to check how much space left on different slice!

Post by Andrew Gabri » Sun, 25 Aug 1996 04:00:00




Quote:>I am running the solaris 2.5 x86, I really want to know what
>command can do the following,
>check which mount point is on which slice!
>check how many space left on each slice!

>thanx for your help

>I know when I use df in sol2.5 on sparc, and mount to do the check,
>but look like my sol2.5 x86,didn't work this way, it didn't tell me
>how many space left!

Well, this is on Solaris x86 2.5:

cucumber% df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t2d0s0      19190   10596    6684    62%    /
/dev/dsk/c1t2d0s3     282104  217941   35953    86%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c1t2d0s4      57593   34380   17463    67%    /var
/dev/dsk/c1t2d0s6     252545  176026   51269    78%    /opt
/dev/dsk/c1t2d0s5     116013   87537   16876    84%    /home
/dev/dsk/c1t2d0s7      86918   68719   18199    80%    /var/spool/news
/dev/dsk/c1t2d0s10    115480  109414    6066    95%    /src
swap                   47004     152   46852     1%    /tmp
/dev/dsk/c0d0s0        19183   11793    5480    69%    /2.4
/dev/dsk/c0d0s3       199999  155181   24828    87%    /2.4/usr
/dev/dsk/c0d1s4        19183   14281    2992    83%    /2.4/var
/dev/dsk/c0d1s3        62119   60746    1373    98%    /2.4/export/home
/dev/dsk/c0d1s5       221215  120470   78625    61%    /2.4/opt
/dev/dsk/c0d0p0:1      61320   46640   14680    77%    /c
/dev/dsk/c0d1p0:1     122688  119090    3598    98%    /d
/dev/dsk/c0d1p0:2      62326   57444    4882    93%    /e
cucumber%

Seems to be what you're after?
--


 
 
 

1. moving a slice to another harddisk, and recovering the slice to space to another sice

Hi,

Is it possible/documented on how to move a slice to another disk and free up
the slice from the orginal disk to use on another partition.

Heres my example.

Currently I have /usr and /opt all on  the internal HD.I want to move /usr
to the external HD which has 9G free on it. Once /usr is on the 9G drive, I
want reallocate the space from the /usr to /opt.

Any pointers/tips greatly appreciated.

Regards,

Al Knip
--

2. Can't use mouse wheel to scroll up/down in Kdbg 1.2.4

3. What's the command to check how much space is left in AIX?

4. Help with FSEEK

5. How do you check how much space you have left on your CDR?

6. xdm login as root

7. How to check how much disk space is left?

8. java - SIGSEGV

9. No space left on device (although space exists)

10. How to make space (no space left on device)

11. Left vs. Ctl-Left vs. Alt-Left

12. How to let Slice 2 be a simple slice

13. Moving Slices out of / to Free-Up Space