Sponsored Content
Full Discussion: check disk
Top Forums UNIX for Advanced & Expert Users check disk Post 51053 by Optimus_P on Monday 10th of May 2004 09:28:06 AM
Old 05-10-2004
Re: check disk

Quote:
Originally posted by chris_carmo
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.
do you mean checking a remote machines disks?
if so then you can use soltice or smc.

do you mean check a disk on your localhost and fsck?
then umount the fs and you cna use the fsck utility.

if you dont know which disk is installed you can use the format utility.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hard Disk Check

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

need help with disk check script

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

How to check disk broken

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

check disk info

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

Disk space check

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

check disk utility

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

how to check disk space

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

How to check disk io

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

Fail to check disk

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

Looking to check disk space

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
KFS(4)							     Kernel Interfaces Manual							    KFS(4)

NAME
kfs - disk file system SYNOPSIS
disk/kfs [ -rc ] [ -b n ] [ -f file ] [ -n name ] [ -s ] DESCRIPTION
Kfs is a local user-level file server for a Plan 9 terminal with a disk. It maintains a hierarchical Plan 9 file system on the disk and offers 9P (see intro(5)) access to it. Kfs begins by checking the file system for consistency, rebuilding the free list, and placing a file descriptor in /srv/name, where name is the service name (default kfs). If the file system is inconsistent, the user is asked for per- mission to ream (q.v.) the disk. The file system is not checked if it is reamed. The options are b n If the file system is reamed, use n byte blocks. Larger blocks make the file system faster and less space efficient. 1024 and 4096 are good choices. N must be a multiple of 512. c Do not check the file system. f file Use file as the disk. The default is /dev/sd0fs. n name Use kfs.name as the name of the service. r Ream the file system, erasing all of the old data and adding all blocks to the free list. s Post file descriptor zero in /srv/service and read and write protocol messages on file descriptor one. EXAMPLES
Create a file system with service name kfs.local and mount it on /n/kfs. % kfs -rb4096 -nlocal % mount -c /srv/kfs.local /n/kfs FILES
/dev/sd0fs Default file holding blocks. SOURCE
/sys/src/cmd/disk/kfs SEE ALSO
kfscmd(8), mkfs(8), prep(8), wren(3) KFS(4)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy