[SOLVE]mke2fs: Input/output error

[SOLVE]mke2fs: Input/output error

Postby pando87 » Sun Jul 22, 2012 12:38 pm

hi,
i tried to install the fvdw firmware on my lacie NS1, but when i tried to format the partition 5 and 8 in ext3 format i receved this error: "mke2fs: Input/output error while trying to create journal"
who can help me? :please
thanks
Last edited by pando87 on Thu Jul 26, 2012 8:22 pm, edited 1 time in total.
pando87
 
Posts: 5
Joined: Tue Jul 17, 2012 9:54 pm

Re: mke2fs: Input/output error while trying to create journa

Postby fvdw » Sun Jul 22, 2012 3:49 pm

maybe you could run e2fsck to check the disk

Code: Select all
e2fsck –f  /dev/sda5
e2fsck –f  /dev/sda8
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: mke2fs: Input/output error while trying to create journa

Postby pando87 » Mon Jul 23, 2012 5:43 am

ubuntu@ubuntu:~$ sudo mke2fs -j -m 1 /dev/sdb5
mke2fs 1.42 (29-Nov-2011)
ext2fs_check_if_mount: Input/output error while determining whether /dev/sdb5 is mounted.
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
96256 inodes, 384536 blocks
3845 blocks (1.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
47 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): mke2fs: Input/output error
while trying to create journal
ubuntu@ubuntu:~$ sudo mke2fs -j -m 1 /dev/sdb5
mke2fs 1.42 (29-Nov-2011)
ext2fs_check_if_mount: Input/output error while determining whether /dev/sdb5 is mounted.
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
96256 inodes, 384536 blocks
3845 blocks (1.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
47 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): mke2fs: Input/output error
while trying to create journal

ubuntu@ubuntu:~$ sudo fsck -f /dev/sdb5
fsck from util-linux 2.20.1
e2fsck 1.42 (29-Nov-2011)
ext2fs_check_if_mount: Input/output error while determining whether /dev/sdb5 is mounted.
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb5

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
pando87
 
Posts: 5
Joined: Tue Jul 17, 2012 9:54 pm

Re: mke2fs: Input/output error while trying to create journa

Postby fvdw » Mon Jul 23, 2012 10:23 am

seems to me that your disk has a problem
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: mke2fs: Input/output error while trying to create journa

Postby pando87 » Mon Jul 23, 2012 7:06 pm

to you think i can resolve the problem?
pando87
 
Posts: 5
Joined: Tue Jul 17, 2012 9:54 pm

Re: mke2fs: Input/output error while trying to create journa

Postby fvdw » Mon Jul 23, 2012 8:01 pm

I think it is related to you linux setup, it is not a problem related to our firmware.

There can be many reasons
can you post your partition table of the disk you prepared ?

Code: Select all
fdisk -l


ps you could start over, delete the partition table and make a new one and be sure that it is not mounted by ubuntu when performing the mke2fs
Also look to the output of fdisk when you write the partition table with the w command in fdisk.
If it warns you that the kernel still uses the old one then disconnect the disk and reconnect it again before doing the formatting
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: [SOLVE]mke2fs: Input/output error

Postby pando87 » Thu Jul 26, 2012 8:24 pm

i don't know why, but if i try to format with a live ubuntu i receved the error...i instal ubuntu and now it works! :bananadance
pando87
 
Posts: 5
Joined: Tue Jul 17, 2012 9:54 pm


Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 5 guests