Hard Disk Check


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Hard Disk Check
# 1  
Old 08-29-2005
Hard Disk Check

How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number
# 2  
Old 08-29-2005
Quote:
Originally Posted by muneebr
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number
linux, ide disk
Code:
ls -al /dev/hd*

freebsd, ide disk
Code:
ls -al /dev/ad*

the space
Code:
df -h

or http://www.debian.org/releases/woody/i386/fdisk.txt
You can use smartmontools for detailed info
http://smartmontools.sourceforge.net/
# 3  
Old 08-29-2005
Quote:
Originally Posted by muneebr
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number
It's not really possible to answer this question without knowing what OS and hardware you are asking about. If you want to get a meaningful reply post the output of "uname -a"
# 4  
Old 08-30-2005
output uname -a

SunOS sys_441a 5.8 Generic_108528-22 sun4u sparc SUNW,Sun-Fire-V240
# 5  
Old 08-30-2005
iostat

Try: iostat -En
# 6  
Old 08-30-2005
Quote:
Originally Posted by polaris
iostat -En
this will give some of the information you are looking for, but it it is simpler to use the format command, if the harware is correctly configured then everything should show up, if you have external drives and you don't have the drivers and/or patches correctly installed it will not.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

How to check overall hard disk utilization in UNIX?

how to check overall hard disk utilization in unix? we use bdf command to find the utilized space for the particular path bdf filepath how can i find overall hard disk utilization? (4 Replies)
Discussion started by: ashwanthfrq
4 Replies

2. AIX

Command to check the busy % for a hard disk device like hdisk5

Please help with command to check the busy % for a hard disk device like hdisk5 Best regards, Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies

3. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

4. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

5. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

6. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

7. HP-UX

how can i get hard disk usage

I want to get hard disk usage hard disk usage= already allocated/total allocated first I use ioscan -kfnC disk get disk name c#t#d# then I use diskinfo /dev/rdsk/c#t#d# but this command can only get total disk size,not disk usage has any command can get that thanks:) (2 Replies)
Discussion started by: alert0919
2 Replies

8. Solaris

how to reformat a hard disk

hi i need help on how to reformat a hard disk. what should i do since i don't have any bootable disk. i'm using solaris 1 & 2 and also need to make a backup copy of the current hard disk. appreciate all the help i can get... (14 Replies)
Discussion started by: mr_balodoy
14 Replies

9. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

10. Shell Programming and Scripting

how to check my hard disk is below 10%, and then send mail to superuser

how to write bash to superuser, when the disk space dips below 10% of the total by automatically sending an email? It is have any sample for reference (3 Replies)
Discussion started by: foong
3 Replies
Login or Register to Ask a Question