08-21-2008
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
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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. (1 Reply)
Discussion started by: chris_carmo
1 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. Debian
Hi,
I first wanted to install my NIC drivers but it said:
Makefile:62: *** Linux kernel source not found. Stop.
So I installed the kernel source: linux-source-2.6.18_2.6.18.dfsg.1-13etch5_all.deb
1) cd /usr/src
2) -xjvf linux-source.2.6.18.extension (forget what it was)
3) ln -s... (12 Replies)
Discussion started by: Virtuality
12 Replies
4. 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
5. Solaris
Hi, guys
I am a super newbie in solaris admin....
Now I got a problem.
Due to the broken of one of Raid system, some user home directory is missing.
Someone advises me to relocate the home directory on the new drive.
I have googled and have tried " usermode -d " command.
But I found a... (3 Replies)
Discussion started by: dr_dw
3 Replies
6. Solaris
Dear All,
Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames.
If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed :
opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 Replies)
Discussion started by: mjoshi87
20 Replies
7. 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
8. Solaris
I have installed Solaris 11 Express on my machine. I have made a script which would take snapshots of all the rpool filesystems every day and send them to a (local) hard drive. There is a zpool on that drive called backup.
Now in case of a system failure, I will act according to a manual on the... (1 Reply)
Discussion started by: RychnD
1 Replies
9. Filesystems, Disks and Memory
Hi
I am new on your forum, because I need some help.
I have a server with debian and proxmox 2.
The HardDisk is broken.
I am in rescue mode, and I can't mount LVM partition to recover my backups.
What I've already done :
# fdisk -l
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255... (0 Replies)
Discussion started by: pppplu
0 Replies
10. Solaris
Hi,
I have a Sun Fire V440 server that fails to boot up correctly. A lot of services are not started and the sytems acts really slow to commands. During boot I can see the following Error:
WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1):
SCSI transport failed: reason 'reset': retrying... (15 Replies)
Discussion started by: oliwei
15 Replies
LEARN ABOUT HPUX
vxreattach
vxreattach(1M) vxreattach(1M)
NAME
vxreattach - reattach disk drives that have once again become accessible
SYNOPSIS
/etc/vx/bin/vxreattach [-br ] [accessname...]
/etc/vx/bin/vxreattach -c accessname
DESCRIPTION
The vxreattach utility reattaches disks to the disk group they were in and retains the same media name.
This operation may be necessary if a disk has a transient failure, or if Veritas Volume Manager (VxVM) starts with some disk drivers
unloaded and unloadable. Disks then enter the failed state. If the problem is fixed, vxreattach may be able to reattach the disks without
plexes being flagged as stale, as long as the reattach happens before any volumes on the disk are started.
vxreattach tries to find a disk in the same disk group with the same disk ID for the disk(s) to be reattached. The reattach operation may
fail even after finding the disk with the matching disk ID if the original cause (or some other cause) for the disk failure still exists.
vxreattach is usually invoked by vxdiskadm when performing disk recovery. It is not intended to be run directly by an administrator.
OPTIONS
-b Performs the reattach operation in the background.
-c Checks if 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.
-r Tries to recover stale plexes of any volumes on the failed disk. It does this by calling vxrecover.
EXIT CODES
A zero exit status is returned if the reattach is performed; non-zero is returned otherwise.
See vxintro(1M) for a list of standard exit codes.
EXAMPLES
Check if reattachment of disk c1t2d0 is possible:
/etc/vx/bin/vxreattach -c c1t2d0
If reattachment is possible, vxreattach returns with an exit status of 0 and displays the disk group name and disk media name. If reat-
tachment is not possible, vxreattach returns an exit status of 2 and displays an error.
Attempt to reattach the disk in the foreground and try to recover stale plexes of any volumes on the disk:
/etc/vx/bin/vxreattach -r c1t2d0
If the reattachment is successful, vxreattach returns an exit status of 0. Otherwise, if an error occurs, vxreattach returns a non-zero
exit code as defined on vxintro(1M).
FILES
/etc/default/vxplex Standard defaults file that can be used to determine whether FastResync is used when attaching plexes. See vxplex(1M)
for details.
SEE ALSO
vxdiskadm(1M), vxintro(1M), vxplex(1M), vxrecover(1M)
VxVM 5.0.31.1 24 Mar 2008 vxreattach(1M)