Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Partitions are confusing me...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sun Dec 26, 2004 3:27 am    Post subject: Partitions are confusing me... Reply with quote

I've been having some partition trouble. I've got a 200GB hard drive and according to cfdisk it looks like this:
hde1 - primary - 10 GB (ext3)
hde2 - primary - 120 GB (ext3)
hde5 - logical 50 GB (3xt3)
hde6 - logical 500 MB (swap)
Hde4 - primary - 10 GB (ext3)

I've cleared most of my data, deleted and repartitioned most of the drive. But I still get various problems when I go to install or move files. And I want in to be stable before I go through with another installation
I ran e2fsck and got something like this:

Code:
e2fsck -v -y hde1'
the size of the filesystem (according to the superblock) is 4899817.  The physical size of the filesystem is 2455613.
Either the superblock or the partition table is corrupt


I would just wipe it and start over but I've got about 30 GB of data left that I really can't loose. help.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Sun Dec 26, 2004 4:10 am    Post subject: Reply with quote

A 200GB disk normally give you less than 200Gb of available space.

Disk manufacturers give the raw size and not the size that is usable.

check the capacity with:
cat /proc/ide/hde/capacity

The number given is in 512-byte blocks.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
hoochiepapa
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2002
Posts: 105

PostPosted: Sun Dec 26, 2004 4:21 am    Post subject: Reply with quote

how do you plan on laying out your filesystem?

I'm now building off a 200G disk.
my (incomplete) layout is:
/dev/a1 /boot 100M
/dev/hda2 swap 2G
/dev/hda3 / 4G
/dev/hda4 extended (rest of disk)
/dev/hda5 /usr 6
/dev//hda6 /var 6G
/dev/hda7 /opt 2G
/dev/hda8 /tmp 2G (that large for vmware)
/dev/hda9 /usr/local 20G
/dev/hda10 /home 10G

that leaves me with a lot of yet to be allocated space.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Sun Dec 26, 2004 4:37 am    Post subject: Reply with quote

Be careful when sizing partitions, you may soon run out of space unless you are well versed into sizing them.

I personally prefer to partition my disks as little as possible in order to avoid running out of space.

I normally partition the main disk in 3 parts, /boot, swap and /
If I have more than 1 disk, I normally make a single partition on the second disk as /home

It all depends on what you are going to use the disks for.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Sun Dec 26, 2004 4:45 am    Post subject: Reply with quote

i agree. you may concider lvm2, or sylinks. making stuff like:
ln -s /opt/.usr/local /usr/local

this way all files put in /usr/local are put in the opt partition.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Sun Dec 26, 2004 7:40 am    Post subject: Reply with quote

Cool, but how do I fix the superblock. :? The main problem I'm having is that the size according to the superblock is not the same as what is actually on the drive, how do I fix this so that I don't loose any more data.... :cry:

peace
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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