LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-26-2009, 07:39 PM   #1
jtmcgee
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
Arrow Problem with Partitioning/Formatting/Mounting, not sure which.


This morning I installed a second hard drive. It is an 80 GB. FDISK -l recognizes it like so:


Disk /dev/sdb: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 9726 78124063+ 83 Linux

When I go to mount it as my /www, it mounts successfully yea! Or so you think!

Using, sudo mount /dev/sdb1 /www I mount it with no errors! Cool!

But df -H outputs:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 1.1G 18G 6% /
tmpfs 62M 0 62M 0% /lib/init/rw
varrun 62M 87k 62M 1% /var/run
varlock 62M 0 62M 0% /var/lock
udev 62M 160k 62M 1% /dev
tmpfs 62M 0 62M 0% /dev/shm
lrm 62M 2.5M 60M 4% /lib/modules/2.6.28-11-server/volatile
/dev/sdb1 40M 4.7M 34M 13% /www

And it is only 40m instead of 80g! I'm kind of getting ripped here
 
Old 05-26-2009, 10:22 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
There must be a simple explanation, but it's not coming to me.

Did you put the 4.7M of files on there?

Please post a complete description of your system--especially the size of all drives and partitions, including any CD, DVD, or USB devices.
 
Old 05-26-2009, 10:28 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
You didn't actually say how you had made the new filesystem on the drive. Did you leave that part out and so picked up some leftover filesystem?
 
Old 05-26-2009, 10:44 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Quakeboy02 View Post
You didn't actually say how you had made the new filesystem on the drive. Did you leave that part out and so picked up some leftover filesystem?
BINGGGGG---GO!!!

"mount" will tell you what the filesystem is but, if you don't yet have any data, just create a new filesystem and re-mount.
 
  


Reply

Tags
format, mount, partition



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem formatting/mounting an OLD Iomega external hard drive. akuthia Linux - Newbie 6 03-05-2009 07:03 PM
Formatting and Partitioning JonnyBlazed Mandriva 5 09-03-2004 07:03 AM
Formatting and Partitioning?!?!? JonnyBlazed Linux - Newbie 4 07-21-2004 01:05 PM
partitioning ok, but formatting no go..... beginnerx Linux - Newbie 6 09-29-2003 11:00 AM
partitioning and formatting eculbert Linux - Newbie 3 09-10-2003 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration