je viens d’acheter un barracuda green de 2To. j’efface les partitions, j’en crée une seule, je monte le disque et df me dit qu’il y a 28GB d’utilisé, je ne comprends pas ou je fais une erreur.
[code]lotso@bigbenn ~ $ sudo fdisk /dev/sdb
WARNING: GPT (GUID Partition Table) detected on ‘/dev/sdb’! The util fdisk doesn’t support GPT. Use GNU Parted.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
Command (m for help): d
Selected partition 1
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-3907029167, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-3907029167, default 3907029167):
Using default value 3907029167
Command (m for help): p
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
16 heads, 63 sectors/track, 3876021 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3907029167 1953513560 83 Linux
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): FD
Changed system type of partition 1 to fd (Linux raid autodetect)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
lotso@bigbenn ~ $ sudo mount/dev/sdb1 /media/sdb1
sudo: mount/dev/sdb1: command not found
lotso@bigbenn ~ $ sudo mount /dev/sdb1 /media/sdb1
lotso@bigbenn ~ $ sudo df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 75G 12G 60G 17% /
udev 10M 0 10M 0% /dev
tmpfs 1.2G 724K 1.2G 1% /run
/dev/disk/by-uuid/f0e6eea4-264d-42f2-97c1-0ad6d60e9e76 75G 12G 60G 17% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.0G 0 3.0G 0% /run/shm
/dev/sdb1 1.9T 28G 1.7T 2% /media/sdb1
[/code]
