07-16-2002
Tools to test hdd
Unix itself is a toolbox and you can use the dd command.
Example:
Suppose you want to check disk: /dev/hdisk1
you can try this:
dd if=/dev/hdisk1 of=/dev/null bs=1k
Meaning read disk /dev/hdisk1 (block device) and write to /dev/null
To physically test the hard disk you can use the raw device name:
/dev/rhdisk1 or /dev/rdsk/c0t5d0 whatever special file you have.
So this would look like: dd if=/dev/rdsk/c0t5d0 of=/dev/null
The block size (bs) is optional.
There might be a SCSI test from your vendor.
Some SCSI controllers have built in tools.
-----
fsck checks filesystems this is a different story.
vxfs (Veritas Filesystems) can do a replay using a intent log.
(fsck -o full in hp-ux forces a full check)
ufs checks the whole filesystem, all inodes.
check your man page for options.
Good luck with your SCS disk.
10 More Discussions You Might Find Interesting
1. Ubuntu
Umm How can I get the Knoppix can be booted off my hard drive instead of the CD. I dont like using the CD. :confused: (4 Replies)
Discussion started by: shade11
4 Replies
2. Solaris
Hi theres
I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies
3. UNIX for Dummies Questions & Answers
I am adding a new HDD to a Unix Sco Release 5 webserver.
I consider myself a windows pro. However, growing up in the late 90's means I have little Unix knowledge. I know the HDD has to be mounted and formatted correctly. Can anyone give me any advice on this?
A dummy's guide to installing a... (5 Replies)
Discussion started by: jeffreydavisjr
5 Replies
4. Shell Programming and Scripting
Can anybody help me. How can I retreive a data from my old unix SCSI hdd. My server is having a new SCSI Hdd. What should I do. Somebody was telling to mount the old hdd and take. What should I do to mount this
old hdd and copy the data.
Rajesh,
Tata Coffee Ltd (2 Replies)
Discussion started by: tatacoffee
2 Replies
5. UNIX for Dummies Questions & Answers
i read the reply at this link
https://www.unix.com/unix-dummies-que...d-backups.html
and i really surprised and i want to know if it must the mirrored HDD be on the secondary SCSI port and the operated HDD on Primary SCSI port?
thanks (3 Replies)
Discussion started by: hatemeid
3 Replies
6. HP-UX
Hello
How to access to a second hard disk on a HP-UX system?
Thanks (3 Replies)
Discussion started by: ouniss
3 Replies
7. UNIX for Dummies Questions & Answers
Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D
I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4.
The current HDD is an IBM DGHS COMP IEC -950
FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies
8. Solaris
All,
I am a complete grasshopper when it comes to Unix, so here goes. I have a Solaris 9 server, running two 36GB HDD in a mirrored configuration. I am running low on disk space, and have purchased an additional 145GB HDD. Can anyone point me in the direction to some documentation on how to... (1 Reply)
Discussion started by: ptvenom427
1 Replies
9. Solaris
Hi All
Please can I have some help/advice.
I am fairly new to unix so any help will be useful.
I need to perform HDD Mirroring on a Sun Fire V245 Server running Solaris 10 OS.
The system is already up and running and has the partitions and slices already.
Is it possible to perform the... (6 Replies)
Discussion started by: pluto.flame
6 Replies
10. AIX
Hi Folks,
I am facing an issue with the performance.
P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes
P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies
LEARN ABOUT DEBIAN
mhddfs
mhddfs(1) General Commands Manual mhddfs(1)
NAME
mhddfs - The driver combines a several mount points into the single one.
SYNOPSIS
mhddfs /dir1,/dir2[,/path/to/dir3] /path/to/mount [-o options]
mhddfs /dir1 dir2,dir3 /mount/point [-o options]
...
fusermount -u /path/to/mount
fstab record example:
mhddfs#/path/to/dir1,/path/to/dir2 /mnt/point fuse defaults 0 0
mhddfs#/dir1,/dir2,/dir3 /mnt fuse logfile=/var/log/mhddfs.log 0 0
OPTIONS
with an -o option1,option2... you can specify some additional options:
logfile=/path/to/file.log
specify a file that will contain debug information.
loglevel=x
0 - debug messages
1 - info messages
2 - standard (default) messages
mlimit=size[m|k|g]
a free space size threshold If a drive has the free space less than the threshold specifed then another drive will be choosen while creat-
ing a new file. If all the drives have free space less than the threshold specified then a drive containing most free space will be
choosen.
Default value is 4G, minimum value is 100M.
This option accepts suffixes:
[mM] - megabytes
[gG] - gigabytes
[kK] - kilobytes
For an information about the additional options see output of:
mhddfs -h
DESCRIPTION
The file system allows to unite a several mount points (or directories) to the single one. So a one big filesystem is simulated and this
makes it possible to combine a several hard drives or network file systems. This system is like unionfs but it can choose a drive with the
most of free space, and move the data between drives transparently for the applications.
While writing files they are written to a 1st hdd until the hdd has the free space (see mlimit option), then they are written on a 2nd hdd,
then to 3rd etc.
df will show a total statistics of all filesystems like there is a big one hdd.
If an overflow arises while writing to the hdd1 then a file content already written will be transferred to a hdd containing enough of free
space for a file. The transferring is processed on-the-fly, fully transparent for the application that is writing. So this behaviour simu-
lates a big file system.
WARNINGS
The filesystems are combined must provide a possibility to get their parameters correctly (e.g. size of free space). Otherwise the writing
failure can occur (but data consistency will be ok anyway). For example it is a bad idea to combine a several sshfs systems together.
Please read FUSE documentation for a further conception.
COPYRIGHT
Distributed under GPLv3
Copyright (C) 2008 Dmitry E. Oboukhov <dimka@avanto.org>
February 2008 mhddfs(1)