LinuxQuestions.org
Register a domain and help support LQ
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, 08: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, 11:22 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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, 11:28 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
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, 11:44 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:03 PM
Formatting and Partitioning JonnyBlazed Mandriva 5 09-03-2004 08:03 AM
Formatting and Partitioning?!?!? JonnyBlazed Linux - Newbie 4 07-21-2004 02:05 PM
partitioning ok, but formatting no go..... beginnerx Linux - Newbie 6 09-29-2003 12:00 PM
partitioning and formatting eculbert Linux - Newbie 3 09-10-2003 07:32 PM


All times are GMT -5. The time now is 01:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration