05-10-2004
check disk
How I do to check disk not use in my server.
Sun Solaris 2.8
df -k
du |sort -rn
But I want check disk and analyse a file system not used.
Thanks for reply.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number (5 Replies)
Discussion started by: muneebr
5 Replies
2. Shell Programming and Scripting
I wrote a script that checks particular device path directory which is full or more than 90% used, and will search older file inside and delete it. My code looks like this:
#!/usr/bin/ksh
ref=90
df -k | grep /cbmdata/00/gdd | tr -d '%' | \
while read a b c d e other
do
if (( $e >= $ref... (4 Replies)
Discussion started by: xramm
4 Replies
3. Solaris
Dear all,
I have system that have 2 disk, and 1 off disk is broken, how can I check if the disk is broken or other problem.
I'm using Solaris 10 x86.
Thank you,
Best Regards,
Heru (4 Replies)
Discussion started by: heru_90
4 Replies
4. Solaris
hi friends,
- how may i check the list of disk
partitions created till date specifying their physical path, size and date ?
-i know only "df -k" "df -h" "du"
-anyother command?
-kindly advise friends..thanks alot (4 Replies)
Discussion started by: cromohawk
4 Replies
5. Solaris
Hi,
I have a question regarding finding free space on the disk of a solaris machine.
Many mount points are available in my machine. Right now i am using
df -b option to get the free disk space available.
I have an assignment to check free space on the disk.
I pass the directory as a... (6 Replies)
Discussion started by: raghu.amilineni
6 Replies
6. UNIX for Dummies Questions & Answers
Is there a UNIX check hard disk utility similar to the DOS utility chkdsk ?
If there is one can it fix hard disk problems like checkdsk /f can with a DOS system?
Where can I find these commands? (1 Reply)
Discussion started by: hatcity
1 Replies
7. Shell Programming and Scripting
Hi All,
pls go thru the below code and help me.
when i check "df -k" in my solaris system .. it will show like below..
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s3 20171281 2319266 17650303 12% /var
/dev/dsk/c0t0d0s4 10085260 443854... (15 Replies)
Discussion started by: steve2216
15 Replies
8. Solaris
Hi,
How to check disk io mount pointwise? I am working as Oracle DBA and want to check disk io as per mount point for adding new datafiles in tablesapce or change my redolog files to lowest disk I/O mount point. My all mount points are like /data1, /data2, /data3 ,,,,,. Can somebody tell me how... (1 Reply)
Discussion started by: rahul_switch
1 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
I can't find any way to check the file system on a partition.
The two following command fail with the same result:
e2fsck /dev/sdc10
e2fsck -b 8193 /dev/sdc10Output:
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sdc10
The... (0 Replies)
Discussion started by: chebarbudo
0 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Need to check the disk space and if any portion disk space usage high then write to one file, later will... (5 Replies)
Discussion started by: Jasminshakoor
5 Replies
LEARN ABOUT OPENSOLARIS
quotacheck
quotacheck(1M) System Administration Commands quotacheck(1M)
NAME
quotacheck - ufs file system quota consistency checker
SYNOPSIS
quotacheck [-fp] [-v] filesystem...
quotacheck -a [-fpv]
DESCRIPTION
quotacheck examines each mounted ufs file system, builds a table of current disk usage, and compares this table against the information
stored in the file system's disk quota file. If any inconsistencies are detected, both the quota file and the current system copy of the
incorrect quotas are updated.
filesystem is either a file system mount point or the block device on which the file system resides.
quotacheck expects each file system to be checked to have a quota file named quotas in the root directory. If none is present, quotacheck
will not check the file system.
quotacheck accesses the character special device in calculating the actual disk usage for each user. Thus, the file systems that are
checked should be quiescent while quotacheck is running.
OPTIONS
The following options are supported:
-a Check the file systems which /etc/mnttab indicates are ufs file systems. These file systems must be read-write mounted with disk
quotas enabled, and have an rq entry in the mntopts field in /etc/vfstab.
-f Force check on file systems with logging enabled. Use in combination with the -p option.
-p Check quotas of file systems in parallel. For file systems with logging enabled, no check is performed unless the -f option is also
specified.
-v Indicate the calculated disk quotas for each user on a particular file system. quotacheck normally reports only those quotas modi-
fied.
USAGE
See largefile(5) for the description of the behavior of quotacheck when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
FILES
/etc/mnttab Mounted file systems
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
edquota(1M), quota(1M), quotaon(1M), repquota(1M), attributes(5), largefile(5), quotactl(7I), mount_ufs(1M)
SunOS 5.11 31 Jul 1998 quotacheck(1M)