Size of Disk


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Size of Disk
# 1  
Old 04-29-2004
Question Size of Disk

First of all, hello there!!!

Well, I' ve got one question:
How may I get the size of the HD, I mean, wich command do I have to type?

Thanks in advance,
# 2  
Old 04-29-2004
well you should list what os your useing because we all dont use the same os.

but you can try format.
# 3  
Old 04-29-2004
Format? Really? Thanks... I'll try....

But I think "df" is better, don't you think?

Thanks a lot.
# 4  
Old 04-29-2004
Quote:
Originally posted by saulolps
Format? Really? Thanks... I'll try....

But I think "df" is better, don't you think?

Thanks a lot.
no.

df only shows you mounted filesystems. not the number of disks installed or any geomitry settings.

and df also shows you virtual filesystems, so i dont know how you would count that since its not a disk at all, and what about network filesystems, those arent even installed on your machine but they could be mounted.
# 5  
Old 04-29-2004
df:

Display free disk space.
With no arguments, `df' reports the space used and available on all currently mounted filesystems (of all types). Otherwise, `df' reports on the filesystem containing each argument file.

That what I need... Thanks.

...but don't woory, I'll try your hint, maybe it works better.
# 6  
Old 04-29-2004
Quote:
Originally posted by saulolps
df:

Display free disk space.
With no arguments, `df' reports the space used and available on all currently mounted filesystems (of all types). Otherwise, `df' reports on the filesystem containing each argument file.

That what I need... Thanks.

...but don't woory, I'll try your hint, maybe it works better.
your original question was "How may I get the size of the HD, I mean, wich command do I have to type?"

df will not provide the answer you were asking for, but if you wanted to know how much space you have on _mounted_ filesystems then yes df would be the command your looking for.

mounted disks and complete disk geomitry (sp) are 2 differant things.

but as i said before df will showyou disk/virtual/networked filesystem space useage.

either way you got what you were looking for.
# 7  
Old 04-30-2004
If you ever want to get the size of hard disk on solaris try this

iostat -En
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question on disk size and usage

Hello All, this may be a simple question but I wasn't sure how to word it to search for the answer. Have a look at the following: /dev/mapper/vgdata-lvdata 626G 594G 0 100% /data01 As you can see the disk size 626GB of which 594G is used. There's 32GB difference there but the... (5 Replies)
Discussion started by: bbbngowc
5 Replies

2. Red Hat

Kdump disk size

We have a Oracle linux 6.4 servers and memory is around 256GB, we are planing to configure kdump and I am confused about disk size I should set. I need your suggestion what would be the best size I should define for kdump. (3 Replies)
Discussion started by: karthik9358
3 Replies

3. UNIX for Advanced & Expert Users

Physical disk IO size smaller than fragment block filesystem size ?

Hello, in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Discussion started by: rarino2
4 Replies

4. Solaris

Help Me! Get size on each directory on each disk

Hi, I want to know how to get size of each directory and each sub-directory on each disk, assume i have 20 disk. Could you help me to find out the solution, please? Thanks (1 Reply)
Discussion started by: edydsuranta
1 Replies

5. SCO

Help with disk size in sco unix

when i try to find the disk size in a sco unix machine i am not quite sure about the commands df and df -k is there any other command to see what hardware raid it is built in and the total disk size any command similar to fdisk (4 Replies)
Discussion started by: robo
4 Replies

6. Solaris

Different disk size on different controllers

Hi folks, I just recently build myself a NAS with Oracle Solaris 11 Express. MOBO: Asus M4N68T-M LE V2 nForce 630a AM3 PCI-e Controller: 2x Exsys EX-3503 with Sil3132 Chipset (latest FW) HDD: 7x 2000GB Samsung EcoGreen F4 HD204UI 32MB 3.5" (latest FW) OS: SunOS zaruba 5.11 snv_151a i86pc... (4 Replies)
Discussion started by: Garter
4 Replies

7. UNIX for Dummies Questions & Answers

Solaris cmd - size of disk

Hi, What is the command to find the complete size of the hard disk on Solaris 10. ~vino (1 Reply)
Discussion started by: vino_hymi
1 Replies

8. AIX

How to increase Virtual Disk size

Hello, I am working AIX VIO server and extended Virtual Disk of one of the Partition with 10GB. After starting partition, i am not able to see increased size of disk. Can you please help me what I need to do to increase the size of virtual disk from partition? Thanks Kishor ... (7 Replies)
Discussion started by: kishorbhede
7 Replies

9. UNIX for Dummies Questions & Answers

disk size help

Please could someone advise what disk size this would be ? Filesystem kbytes used avail capacity /dev/dsk/c0t1d0s2 282315967 65553 279427255 1% is it 280 meg ? regards venhart (2 Replies)
Discussion started by: venhart
2 Replies

10. UNIX for Dummies Questions & Answers

disk size

What is the easy way to see what size mydisk (total disk size) is ? similar to properties in windows ? Thanks. (7 Replies)
Discussion started by: xramm
7 Replies
Login or Register to Ask a Question