/dev/sdc doesn't contain a valid partition tableAnalisando o resultado, podemos ver que os 2 HDs foram reconhecidos com sucesso. O hd1 foi reconhecido como /dev/sdb e o hd2 como /dev/sdc. Outra informacao que pode ser vista e que ainda nao foram particionados. Criando a particaoA criacao da particao tambem e feita pelo fdisk, repare que o fdisk e uma ferramenta interativa, dentro dele sera utilizado os comando n e w.1234567891011121314151617181920212223242526272829[root@mytracelog ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabelBuilding a new DOS disklabel. Changes will remain in memory only,until you decide to write them. After that, of course, the previouscontent won't be recoverable.The number of cylinders for this disk is set to 16709.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-16709, default 1): 1Last cylinder or +size or +sizeM or +sizeK (1-16709, default 16709): 16709Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.Syncing disks.Para verificar se realmente a particao foi criada:12345678910111213141516171819202122[root@mytracelog ~]# fdisk -lDisk /dev/sda: 107.3 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 13 104391 83 Linux/dev/sda2 14 13054 104751832+ 8e Linux LVMDisk /dev/sdb: 137.4 GB, 137438953472 bytes255 heads, 63 sectors/track, 16709 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdb1 1 16709 134215011 83 LinuxDisk /dev/sdc: 137.4 GB, 137438953472 bytes255 heads, 63 sectors/track, 16709 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdc doesn't contain a valid partition tableFormatando a particao em ext3 Com a particao criada, e hora de formatar.Para formatar utilize o mkfs.ext3:1234567891011121314151617181920212223[root@mytracelog ~]# mkfs.ext3 /dev/sdb1 mke2fs 1.39 (29-May-2006)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)16777216 inodes, 33553752 blocks1677687 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=42949672961024 block groups32768 blocks per group, 32768 fragments per group16384 inodes per groupSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872Writing inode tables: done Creating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 25 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.Criando o ponto de montagem Para criar o ponto de montagem:Montando a particaoPara montar a particao:1[root@mytracelog ~]# mount -t ext3 /dev/sdb1 /hd1Verificando se a particao foi montada com sucesso:123456789[root@mytracelog ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00 92G 14G 73G 17% //dev/sda1 99M 26M 68M 28% /boottmpfs 2.0G 640M 1.4G 33% /dev/shmD_DRIVE 800G 618G 183G 78% /media/sf_D_DRIVE/dev/hdc 43M 43M 0 100% /media/VBOXADDITIONS_4.1.6_74713/dev/sdb1 126G 188M 120G 1% /hd1Veja nossa nova particao /dev/sdb1 montada em /hd1.Configurando a montagem automaticaAgora vamos automatizar a montagem,