Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

1. Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Rogerio Ribeiro
rogerioes

(usa BackTrack)

Enviado em 31/05/2012 - 10:39h

Agora, ta osso, to tentando formatar um hd externo de 1T em Ext3 e so da erro

fdisk -l

Device Boot Start End Blocks Id System
/dev/sda1 * 1 30024 241165312 83 Linux
/dev/sda2 30024 30395 2972673 5 Extended
/dev/sda5 30024 30395 2972672 82 Linux swap / Solaris
Note: sector size is 4096 (not 512)

Disk /dev/sdb: 999.5 GB, 999460397056 bytes
255 heads, 63 sectors/track, 15188 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x5dd86037

Device Boot Start End Blocks Id System
/dev/sdb1 1 15189 976032768 7 HPFS/NTFS


O hd que quero formata em EXT3 e esse /dev/sdb1 ai

Tem site que fala que tenho que montar o hd, tem site que fala que nao pode estar montado, eu fiz montado e nao montado e nao da do mesmo jeito =/

root@bt:/# mkfs -t ext3 /dev/sdb1
mke2fs 1.41.11 (14-Mar-2010)
/dev/sdb1 is mounted; will not make a filesystem here!

***************************************************************

root@bt:/# mkfs.ext3 /dev/hdb1
mke2fs 1.41.11 (14-Mar-2010)
Could not stat /dev/hdb1 --- No such file or directory

The device apparently does not exist; did you specify it correctly?

***************************************************************

Alguem pode me ajudar a formatar este hd em EXT3 ?????



  


2. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 31/05/2012 - 10:50h

tu usou o comando fdisk
#fdisk /dev/sdb



3. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Rogerio Ribeiro
rogerioes

(usa BackTrack)

Enviado em 31/05/2012 - 10:56h

root@bt:/# fdisk /dev/sdb
Note: sector size is 4096 (not 512)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help):



4. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 31/05/2012 - 11:03h

rogerioes escreveu:

root@bt:/# fdisk /dev/sdb
Note: sector size is 4096 (not 512)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

Command (m for help):




use a opção "n"

pra criar um partição do disco
e depois use a opção "w"

ai sim tu pode formatar em ext3



5. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Rogerio Ribeiro
rogerioes

(usa BackTrack)

Enviado em 31/05/2012 - 13:33h

olha a ultima linha ..... parece que deu erro

root@bt:/# mkfs.ext3 /dev/sdc
mke2fs 1.41.11 (14-Mar-2010)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=1 blocks, Stripe width=0 blocks
61005824 inodes, 244008886 blocks
12200444 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
7447 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@bt:/# fdisk -l

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c8ede

Device Boot Start End Blocks Id System
/dev/sda1 * 1 30024 241165312 83 Linux
/dev/sda2 30024 30395 2972673 5 Extended
/dev/sda5 30024 30395 2972672 82 Linux swap / Solaris
Note: sector size is 4096 (not 512)

Disk /dev/sdc: 999.5 GB, 999460397056 bytes
255 heads, 63 sectors/track, 15188 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table



Parece que nao foi bom nao ne =/


6. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 31/05/2012 - 14:13h

tu criou a partição com fdisk ?
tem que criar a partição com fdisk e depois
formata ele em ext3

de uma lida

http://www.vivaolinux.com.br/artigo/Gerenciando-o-HD-com-o-fdisk?pagina=1

espero que ajude


7. Re: Formatar HD Externo em EXT3 da sempre erro [RESOLVIDO]

Rogerio Ribeiro
rogerioes

(usa BackTrack)

Enviado em 01/06/2012 - 10:51h

Danniel-lara

Obrigado ai irmao, porem nao conseguir pelo linux nao, ai eu fui no windows e copiei o programa EaseUS Partition Master 9.1.1 Home Edition e formatei o hd em EXT3 coç dois cliques

Coloquei o hd no servidor, montei, copiei um arquivo pra tester e desmontei ... funcionou

Valeu :D






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts