Fazendo um df -h
:
alvas@mt:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.5T 2.7T 597G 83% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 63G 12K 63G 1% /dev
tmpfs 13G 1.8M 13G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 63G 72K 63G 1% /run/shm
none 100M 20K 100M 1% /run/user
/dev/sdd5 1.8T 1005G 718G 59% /media/2tb
/dev/sdd1 1.9T 1.2T 531G 70% /media/2moretb
/dev/sde1 1.9T 214G 1.7T 12% /media/shiny
E, em seguida, um sudo fdisk -l
:
alvas@mt:~$ sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Disk /dev/sdd: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003bd79
Device Boot Start End Blocks Id System
/dev/sdd1 3865466880 7812939775 1973736448 83 Linux
/dev/sdd2 501758 3865466879 1932482561 5 Extended
/dev/sdd5 503808 3865466879 1932481536 83 Linux
Partition table entries are not in disk order
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Disk /dev/sde: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders, total 3906963456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2ae33383
Device Boot Start End Blocks Id System
/dev/sde1 2048 3906963455 1953480704 7 HPFS/NTFS/exFAT
alvas@mt:~$
alvas@mt:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.5T 2.7T 597G 83% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 63G 12K 63G 1% /dev
tmpfs 13G 1.8M 13G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 63G 72K 63G 1% /run/shm
none 100M 20K 100M 1% /run/user
/dev/sdd5 1.8T 1005G 718G 59% /media/2tb
/dev/sdd1 1.9T 1.2T 531G 70% /media/2moretb
/dev/sde1 1.9T 214G 1.7T 12% /media/shiny
alvas@mt:~$ sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Disk /dev/sdd: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003bd79
Device Boot Start End Blocks Id System
/dev/sdd1 3865466880 7812939775 1973736448 83 Linux
/dev/sdd2 501758 3865466879 1932482561 5 Extended
/dev/sdd5 503808 3865466879 1932481536 83 Linux
Partition table entries are not in disk order
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 4000.2 GB, 4000225165312 bytes
255 heads, 63 sectors/track, 486333 cylinders, total 7812939776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Disk /dev/sde: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders, total 3906963456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2ae33383
Device Boot Start End Blocks Id System
/dev/sde1 2048 3906963455 1953480704 7 HPFS/NTFS/exFAT
Como posso verificar se minhas unidades sdb
e sdc
estão montadas? E se eles são, onde eles estão montados?
** O que é GPT (GUID Partition Table)
? **
Como faço para verificar qual disco é usado e qual disco ainda está limpo?
Como posso montar todas as unidades sobressalentes não utilizadas em um único diretório?
Se não houver um único diretório em diretórios separados em /media/
?
É estranho porque fdisk
mostrou 5 discos físicos, mas mount
só consegue encontrar 2:
gillin@mt:~$ mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
gillin@mt:~$ mount /dev/sdb1
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
gillin@mt:~$ mount /dev/sdc1
mount: can't find /dev/sdc1 in /etc/fstab or /etc/mtab
gillin@mt:~$ mount /dev/sdd1
mount: according to mtab, /dev/sdd1 is already mounted on /media/2moretb
mount failed
gillin@mt:~$ mount /dev/sde1
mount: according to mtab, /dev/sde1 is already mounted on /media/shiny
mount failed
Usando o gparted, eu encontrei sdb
e sdc ', mas eles não são formatados e pareciam não usados, mas é realmente seguro usá-lo? Minha máquina tinha um sistema RAID 1/0, mas não sei quais são as configurações específicas.
Como se certificar de que é seguro formatar sdb e sdc? O espaço disponível no gparted garante isso?