LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2010, 05:02 AM   #1
vagab0nd
LQ Newbie
 
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
About sda - something is missing?


Hi all!

I think some information is missing here.
If /dev/sda is ~5GB, then /dev/sda1 contains all of them according to fdisk?
Also df shows that sda1 has ~2G. Where are the missing 3G?
Result of fdisk and df is below.

******************************************************************
bugzilla:/dev# fdisk -l

Disk /dev/sda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 261 2096451 83 Linux
bugzilla:/dev# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 2063059 386144 1572093 20% /
tmpfs 518332 0 518332 0% /lib/init/rw
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
udev 10240 24 10216 1% /dev
tmpfs 518332 0 518332 0% /dev/shm
devpts 0 0 0 - /dev/pts
tmpfs 512000 0 512000 0% /tmp
******************************************************************

bugzilla:/dev# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.0G 378M 1.5G 20% /
tmpfs 507M 0 507M 0% /lib/init/rw
udev 10M 24K 10M 1% /dev
tmpfs 507M 0 507M 0% /dev/shm
tmpfs 500M 0 500M 0% /tmp
******************************************************************

Also:

bugzilla:/dev# cat /proc/partitions
major minor #blocks name

8 0 5242880 sda
8 1 2096451 sda1
 
Old 12-12-2010, 05:36 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Evidently you have some space on the disk that is not allocated to any partition.
 
Old 12-12-2010, 11:14 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,935

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Welcome to LinuxQuestions.
Quote:
Disk /dev/sda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 261 2096451 83 Linux
To elorabate on stress_junkie's post sda1 is only 262 out of a total 652 so the entire device is not being used. The missing space is unallocated. You can use gparted to resize the partition but make sure it is unmounted first.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing /dev/sda etc when booting custom kernels drmozes Slackware 5 07-04-2010 06:56 PM
missing /dev/sda from digital camera Valkyrie_of_valhalla Linux - Hardware 8 07-26-2007 05:17 AM
missing /dev/sda* device files monkeyman2000 Ubuntu 11 09-11-2006 08:32 PM
missing /dev/sda[6-8] files, use mknod? FC5 worzel68 Linux - Hardware 0 09-11-2006 06:13 AM
USB flash device (sda missing) TroelsSmit Linux - Newbie 13 02-06-2006 10:45 PM


All times are GMT -5. The time now is 10:42 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration