Re: hd probleme on fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



priou wrote:
fdisk return : Disque /dev/hdb: 81.9 Go, 81964302336 octets
16 têtes, 63 secteurs/piste, 158816 cylindres
Unités = cylindres de 1008 * 512 = 516096 octets


Périphérique Boot Start End Blocks Id System

This is good. This is the empty partition table. You have no partitions defined.


i ve rebooted my system after
i run another time fdisk, like those :

Commande (m pour l'aide): n Action de commande
e étendue
p partition primaire (1-4)
p
Numéro de partition (1-4): 1
Premier cylindre (1-158816, default 1): Using default value 1
Dernier cylindre ou +taille or +tailleM ou +tailleK (1-158816, default 158816): Using default value 158816


Commande (m pour l'aide): p

Disque /dev/hdb: 81.9 Go, 81964302336 octets
16 têtes, 63 secteurs/piste, 158816 cylindres
Unités = cylindres de 1008 * 512 = 516096 octets

Périphérique Boot      Start         End      Blocks   Id  System
/dev/hdb1               1      158816    80043232+  83  Linux

Commande (m pour l'aide): w
La table de partitions a été altérée!

Appel de ioctl() pour relire la table de partitions.
Synchronisation des disques.

OK, you've created 1 new partition, 80GB in size.
Now you have to run mkfs on this partition. You've created it, but it contains no data yet, worse, you're probably reading the *old* 20GB data left over from the previous partitioning that you destroy.


You need to understand that partitioning only draws the lines on the disk where the files system will live. It does not re-write the superblocks, directories, or data between those lines. That is the job of mkfs. (Or in your case, mkfs.ext3 if you want an ext3 file system.)

After i mount this partition and i've that : mount /dev/hdb1 /mnt/tmp

Yeah, you mounted without making the new file system. Oops!

I hope this is clear now!   B^)

--
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux