Visit Our UNIX and Linux User Community

hard drive specs?

Thread Tools Search this Thread
Operating Systems Linux hard drive specs?
# 1  
Old 04-01-2004
hard drive specs?

Does anybody know what command will bring up my harddrive and how much room is left on it?
# 2  
Old 04-01-2004
use command "df".

For more information, man df or df --help
# 3  
Old 04-01-2004
Type the following:

dmesg |grep hd
dmesg |grep sd
dmesg |grep id

This should give you a list of all your hard drives. hd? (? is a letter of the alphabet) will be IDE drives, sd? will be SCSI, and id? may show up if you are on a Proliant box. You may get some other junk as well but you can probably figure it out.

Now, run 'fdisk /dev/hda' or what ever disks you ended up finding. You may want to run a man on fdisk first. It's not the most strait forward tool.
# 4  
Old 04-02-2004
perfect, thanks haha this is actuily alot better than windows. I can see great things in teh future .... lol. This is my first attempt at RH on my own so it's nice to have the help...thnx
# 5  
Old 04-02-2004
shucks haha just as i though, i set the wrong HD ... is there any way to write to my second hard in windows you have c: d: e: etc... can i do that here? I've only got about 2 gigs left free and i've got another 20 gig sitting doing nothing haha.

When i run the dmesg |grep hd command i get hda and hdb so i'm assuming that it picks up my 2 hard drives.

ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:DMA, hdd:DMA
hda: FUJITSU MPD3084AT, ATA DISK drive
hdb: WDC WD200BB-00CXA0, ATA DISK drive
hdc: LG CD-RW CED-8120B, ATAPI CDROM drive
hdd: LTN483, ATAPI CDROM drive
hda: FUJITSU MPD3084AT, 8063MB w/512kB Cache, CHS=1027/255/63
hdb: WDC WD200BB-00CXA0, 19092MB w/2048kB Cache, CHS=38792/16/63
hda: hda1
hdb: hdb1

But i've got it writing files to the wrong one...i want it to write all my big files that i transfer to there any way i can do this?

[root@linksys /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 8119744 5895872 1811408 77% /

Last edited by Perderabo; 04-23-2004 at 01:50 PM..
# 6  
Old 04-02-2004
hda means the master or primary or first harddrive. hda1 means the first partition on this harddrive. Secondary or slave is hdb, etc.

I don't know what you want. you want to copy or cut files to other partition / drive ?
# 7  
Old 04-02-2004
Yes i want to beable to copy and just for the future store all my files on the big hard drive haha. Thank you for explaining that to me though, i get it a bit better now.

Previous Thread | Next Thread
Test Your Knowledge in Computers #502
Difficulty: Medium
If a function uses a particular process or algorithm such as a Fast Fourier Transform to perform an operation, it would not be appropriate to document it in a series of comments in the source code.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies

2. Red Hat

Hard drive formating

Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and... (7 Replies)
Discussion started by: Fingerz
7 Replies

3. Red Hat

Corrupted Hard Drive

I am running FC-7 which I realize is an older distro. But my question would apply to any distro. I ran fsck on my mounted file system (I know, I shouldn't have). Now it won't boot. I get a kernel panic message. I booted to a Knoppix Live Cd. The desktop icon shows /dev/sda2 mounted at... (4 Replies)
Discussion started by: 2buck56
4 Replies

4. Filesystems, Disks and Memory

Hard Drive Temperature?

Hi, I just set up a raid Z array in solaris xpress and I notice that the drives feel pretty damn hot. I use speedfan to monitor the temperatures of the hard drives in XP. Is there a similar program for solrais? I assume there would be since the drives all have temp sensors in them, but I... (2 Replies)
Discussion started by: ciscocbee
2 Replies

5. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

6. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

7. SCO

Processor and Hard Drive

I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have: 1) Can someone tell me what command I can use to find out the system processor speed. 2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box. 3) Can... (1 Reply)
Discussion started by: etaup02
1 Replies

8. UNIX for Dummies Questions & Answers

currupted my hard drive

Hello, earlier tonight I was installing BETA version of Mandrake Linux 9.0 and I realised I needed to partition my drive. I tried making the partition within mandrake but ther wasnt an option within the mandrake setup. So i go into my WindowsXP and do the disk management option but there want a... (5 Replies)
Discussion started by: xcaliber
5 Replies

9. UNIX for Advanced & Expert Users

reading the hard drive

I have suns machine that holds two hard drives. I only used one. I tryed to make a lan network with my windows xp. When I tryed to restart the machine it wanted to a password. when before I just typed root to log in. So i edited the etc dir. big mistake. So now the machine will not read the hard... (2 Replies)
Discussion started by: victbla
2 Replies

Featured Tech Videos