The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Add hard drive to SCO 6.0.0 uxlunatick SCO 13 04-18-2008 10:17 AM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 03:19 PM
Trying to copy old hard drive to new hard drive. shorty UNIX for Dummies Questions & Answers 4 01-30-2006 05:47 PM
Removing hard drive pujathakral UNIX for Dummies Questions & Answers 2 05-13-2005 11:58 AM
I Want To Automount My Hard Drive!!! mynameiskyle UNIX for Dummies Questions & Answers 5 11-05-2002 02:56 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-01-2004
byblyk byblyk is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 92
hard drive specs?

Does anybody know what command will bring up my harddrive and how much room is left on it?
  #2 (permalink)  
Old 04-01-2004
HOUSCOUS HOUSCOUS is offline
Registered User
  
 

Join Date: Feb 2002
Location: Houston TX
Posts: 123
use command "df".

For more information, man df or df --help
  #3 (permalink)  
Old 04-01-2004
TioTony's Avatar
TioTony TioTony is offline Forum Advisor  
Bit Pusher
  
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
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 (permalink)  
Old 04-02-2004
byblyk byblyk is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 92
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 (permalink)  
Old 04-02-2004
byblyk byblyk is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 92
shucks haha just as i though, i set the wrong HD ... is there any way to write to my second hard drive...like 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 hdb1...is 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 (permalink)  
Old 04-02-2004
HOUSCOUS HOUSCOUS is offline
Registered User
  
 

Join Date: Feb 2002
Location: Houston TX
Posts: 123
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 (permalink)  
Old 04-02-2004
byblyk byblyk is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 92
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.
Closed Thread

Bookmarks

Tags
linux, linux commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0