Help a newbie with an iostat/disk space question.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help a newbie with an iostat/disk space question.
# 1  
Old 10-29-2009
Help a newbie with an iostat/disk space question.

Hello,

On Solaris 10, iostat -E gives me the following results:

sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0708S08M2L
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd2 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: MATSHITA Product: DVD-RAM UJ-845S Revision: D100 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
sd3 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0708S08MM1
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd4 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0708S08N9B
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd5 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0620S02VP7
Size: 73.41GB <73407865856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0

#######

1. I know there is only one hard disk, so why are there different serial numbers?

2. I think this might be what is giving me confusing results for df -h. I get a lot of Filesystem entries listed (with capacity and free space, etc).
Is there a command that will give the sum total capacity and space? That would be much easier for me to understand at the moment.

Many thanks in advance!

LieselR
# 2  
Old 10-29-2009
Quote:
Originally Posted by lieselr
1. I know there is only one hard disk, so why are there different serial numbers?
I would double check there is really only one.
If true, it might be there was three more hard disks but they were removed. You can run
Code:
devfsadm -v

or
Code:
cfgadm -C
cfgadm -al

to clarify.
Quote:
2. I think this might be what is giving me confusing results for df -h. I get a lot of Filesystem entries listed (with capacity and free space, etc).
Is there a command that will give the sum total capacity and space? That would be much easier for me to understand at the moment.
Some filesystems aren't backed by disk so the size the reports might confuse you. Some filesystems might be mounted more than once and their size shouldn't be summed more than once.
If you use zfs, df output might be even more complex to understand ...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Problem in getting total Disk space using iostat -En command

Hi Everyone, I try to calculate the total hard disk space of a solaris machine using iostat -En command. Iterating the output and summing up all the number present near the Size: will give the exact size of the harddisk. But it is not working for a machine. This command works in many flavors... (2 Replies)
Discussion started by: prasankn
2 Replies

2. Solaris

iostat command question

Iostat inquiry;# iostat -e ---- errors --- device s/w h/w trn tot fd0 0 0 0 0 md0 0 0 0 0 md1 0 0 0 0 md2 0 0 0 0 md10 0 0 0 0 md11 0 0 0 0 md12 0 0 0 0 md30 0 0 0 0 md31 0 0 0 0 md32 0 0 0 0 md40 0 0 0 0 md41 0 0 0 0 md42 0 0 0 0 md50 0 0 0 0 md51 0 0 0 0 md52 0 0 0 0 md60 0 0 0... (2 Replies)
Discussion started by: pepi
2 Replies

3. Solaris

iostat as a tool for generating disk IO

Hi All Currently i had a server directly connect to the EMC box. The EMC storage is a FC Direct Attached Storage to the server without going through SAN switches And i had download the Daily data file in /var/adm/sa/sardd But i not sure which one in /var/adm/sa/sardd is the correct... (14 Replies)
Discussion started by: SmartAntz
14 Replies

4. Filesystems, Disks and Memory

internal disk and external disk question

Hello, We are running sun solaris and it is connected to SAN storage. How do I find what are the disks are internal and what are the disks are connected to SAN? (0 Replies)
Discussion started by: mokkan
0 Replies

5. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

6. UNIX for Dummies Questions & Answers

backup disk to disk to tape question

Hi all I had started to learn how to backup disk to disk to tape method Firstly I had backup to my NAS tar czvf /MyNetworkStorge/backup.tar /home Secondly I using dd command to copy the tar to tape dd if=/MyNetworkStorge/backup.tar of=/dev/tape0 But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies

7. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

8. Shell Programming and Scripting

newbie question

hey all, I have repeatedly seen scripts containing the following syntax, grep "hello" $myfile >> $log 2>&1 can anyone explain exactly what "2>&1" mean? THANK YOU (4 Replies)
Discussion started by: mpang_
4 Replies

9. UNIX for Dummies Questions & Answers

Newbie: Sun Ultra 5 Disk Replacement

I have just started getting into unix and aquired a Sun Ultra 5 however the disk failed and I want to replace it with a spare maxtor 40Gb i have lying around. I need to partition and format the disk from its old windows format. I have looked up info on the format command in solaris 9 and I think i... (2 Replies)
Discussion started by: kalm
2 Replies

10. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies
Login or Register to Ask a Question