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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-26-2009, 07:39 PM
#1
LQ Newbie
Registered: May 2009
Posts: 2
Rep:
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
05-26-2009, 10:22 PM
#2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,640
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.
05-26-2009, 10:28 PM
#3
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136
Rep:
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?
05-26-2009, 10:44 PM
#4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,640
Quote:
Originally Posted by
Quakeboy02
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.
Thread Tools
Search 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
HTML code is Off
All times are GMT -5. The time now is 09:44 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News