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
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 OSF1
volreattach
volreattach(8) System Manager's Manual volreattach(8)
NAME
volreattach - Reattaches disk drives that have once again become accessible
SYNOPSIS
/usr/sbin/volreattach [-rb] [accessname...]
/usr/sbin/volreattach -c accessname
OPTIONS
The volreattach utility has the following options: Calls the volrecover utility to attempt to recover stale plexes of any volumes on the
failed disk. Performs the reattach operation in the background. Checks whether a reattach is possible. No operation is performed, but the
name of the disk group and disk media name at which the disk can be reattached is displayed.
DESCRIPTION
The volreattach utility attempts to reattach disks using the same disk group and media names they had before detachment.
This operation may be necessary if a disk has a transient failure, or if some disk drivers are unloaded or unloadable when the Logical
Storage Manager is started, causing disks to enter the failed state.
If the problem is fixed, the volreattach command can be used to reattach the disks without plexes being flagged as stale, as long as the
reattach happens before any volumes on the disk are started.
The volreattach command is called from the voldiskadm menus as part of disk recovery.
The volreattach utility tries to find a disk with a disk group and disk ID matching that of the disk(s) being reattached. If the matching
disk is found, the reattach operation may still fail if the original cause (or some other cause) for the disk failure still exists.
EXIT CODES
A zero exit status is returned if it is possible to perform a reattach. Otherwise, non-zero is returned.
SEE ALSO
volintro(8), voldiskadm(8), volrecover(8)
volreattach(8)