LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index -> Operating Systems » OS - Linux
Author Message
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Mon Oct 16, 2006 11:37 am   Post subject: ubuntu disk size issue.. Reply with quote Back to top  

I just noticed this:

fdisk wrote:
Disk /dev/hdh: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdh1 1 9732 78172258+ 83 Linux


df wrote:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdh1 20999028 13524532 6407784 68% /fshare/driveH


now...

lets look at the important parts here:
Quote:
Disk /dev/hdh: 80.0 GB, 80054059008 bytes

and
Quote:
1K-blocks: 20999028


I can do my math...

20999028 K blocks... = 21503004672 bytes

21503004672 bytes != 80054059008 bytes

not even close!!!

Thats something like 1/4 of the space I'm supposed to have...

(ok, so its 27% instead of 25%, but who's counting)

ok.. problem.. Smile

anyone have any ideas?

here's the advanced partition look from fdisk

Quote:
Disk /dev/hdh: 255 heads, 63 sectors, 9732 cylinders

Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 1 1 0 254 63 1023 63 156344517 83
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00


I'm flumuxed and will end up breaking that 1 big 80gb partition into 4 20's if that will get me the space back.. but...

oh yeah.. its an ext3 filesystem

thank ya vewy much

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
hummer010
Moderator
Moderator


Joined: 02 Nov 2000
Age: 33
Posts: 4663
Location: Right here!

Post Posted: Mon Oct 16, 2006 12:32 pm   Post subject: Reply with quote Back to top  

Looks to me like hdh1 is already a 20GB partition. Check out what hdh looks like in GParted (or something similar). It might show that you have 75% of your drive unpartitioned.

_________________
---------------------------
Where are you?



...remember second place is really only first loser!
View user's profile Send private message Send e-mail Visit poster's website
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Mon Oct 16, 2006 1:11 pm   Post subject: Reply with quote Back to top  

hummer010 wrote:
Looks to me like hdh1 is already a 20GB partition. Check out what hdh looks like in GParted (or something similar). It might show that you have 75% of your drive unpartitioned.


I don't have X installed

gparted is a kde or gnome app, correct?!?!

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Mon Oct 16, 2006 1:15 pm   Post subject: Reply with quote Back to top  

parted wrote:
(parted) print
Disk geometry for /dev/hdh: 0kB - 80GB
Disk label type: msdos
Number Start End Size Type File system Flags
1 32kB 80GB 80GB primary ext3


broken down for easy reading
parted wrote:
(parted) print
Disk Geometry for /dev/hdh: 0kb - 80GB
Disk label type: msdos
Number: 1
Start: 32kb
End: 80 GB
Type: Primary
File System: ext3
Flags:


here's an interesting note:

parted wrote:
(parted) check 1
Warning: Partition 1 is 80GB, but the file system is 22GB.

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
CMTG
Leg Humper
Leg Humper


Joined: 23 Feb 2002
Posts: 4955
Location: On average, Cheltenham.

Post Posted: Mon Oct 16, 2006 1:30 pm   Post subject: Reply with quote Back to top  

fathertyme wrote:
hummer010 wrote:
Looks to me like hdh1 is already a 20GB partition. Check out what hdh looks like in GParted (or something similar). It might show that you have 75% of your drive unpartitioned.


I don't have X installed

gparted is a kde or gnome app, correct?!?!


Then use parted instead.

_________________
Pie. I wish I could
constrain my hungry greed but...
Sadly, defeated.


Charlene's Law: There's no such thing as can't.
Charlene's Corollary: Unless it's followed by be arsed.

If only 20% of your staff is programmers, and you can save 50% on salary by outsourcing programmers to India, well, how much of a competitive advantage are you really going to get out of that 10% savings?
View user's profile Send private message Send e-mail Visit poster's website
hummer010
Moderator
Moderator


Joined: 02 Nov 2000
Age: 33
Posts: 4663
Location: Right here!

Post Posted: Tue Oct 17, 2006 5:55 am   Post subject: Reply with quote Back to top  

fathertyme wrote:
(parted) check 1
Warning: Partition 1 is 80GB, but the file system is 22GB.


Wierd. Never seen anything like that before.

_________________
---------------------------
Where are you?



...remember second place is really only first loser!
View user's profile Send private message Send e-mail Visit poster's website
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Tue Oct 17, 2006 1:11 pm   Post subject: Reply with quote Back to top  

ahh

fixed it

problem was that the disk originally was divided into 20 gb segments
I repartitioned it into one large partition

I ended up needing to do a mkfs and reformat the disk

and that solved the issue

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!