Selasa, 11 Maret 2014

masalah hardisk ubuntu

Error writing on HDD

Hello fellow Linux users, I am running Ubuntu 12.04 32-bit with Xubuntu DE and recently got a hold of Maxtor 6Y080M0 SATA HDD and I formatted it to ext4 filesystem using Gparted tool. But since then I have a problem, I cannot write anything on it nor can I format it. When I try to mount it from Disks tool this is what it says:
Code:
Error mounting system-managed device /dev/sdb1: Command-line `mount "/mnt/088464b0-321b-4690-bde7-9850831f22d4"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


 (udisks-error-quark, 0)
I have no idea anymore why is it not working, so please give me some advice.
My regards, stay brutal.
Last edited by LinuxUser666; October 3rd, 2013 at 06:47 PM.
Avoid the Gates of Hell. Use Linux.
#2
slickymaster's Avatar
slickymaster is offline Alea Jacta Est
Join Date
Nov 2012
Location
Halloween Town
Beans
Hidden!
Distro
Xubuntu Development Release

Re: Error writing on HDD

Quote Originally Posted by LinuxUser666 View Post
Hello fellow Linux users, I am running Ubuntu 12.04 32-bit with Xubuntu DE and recently got a hold of Maxtor 6Y080M0 SATA HDD and I formatted it to ext4 filesystem using Gparted tool. But since then I have a problem, I cannot write anything on it nor can I format it. When I try to mount it from Disks tool this is what it says:
Code:
Error mounting system-managed device /dev/sdb1: Command-line `mount "/mnt/088464b0-321b-4690-bde7-9850831f22d4"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdb1,       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


 (udisks-error-quark, 0)
I have no idea anymore why is it not working, so please give me some advice.
My regards, stay brutal.
Your error message indicates a filesystem failure, which can be caused by several reasons and it's causing it's refuse to mount. First you have to figure out what partition you're dealing with, by running
Code:
sudo fdisk -l
The above will list all the partitions on all the drives in your computer. Then make sure your superblock is the problem, by starting a filesystem check, replacing xxx with your partition name
Code:
sudo fsck.ext4 -v /dev/xxx
If your superblock is corrupt, the output will look something like this
The superblock could not be read or does not describe a correct ext4 filesystem. If the device is valid and it really contains an ext4 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>
You'll have to find where your superblock backups are kept
Code:
sudo mke2fs -n /dev/xxx
Down at the bottom of the output, you should see a list of the backups, something like this
Code:
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Restore the superblock from the backup, again replacing xxx with your partition name, and block_number with the first backup superblock
Code:
sudo e2fsck -b block_number /dev/xxx
Reboot, and the superblock should be fixed. If it’s not, repeat the steps, but restore a different backup superblock.

Tidak ada komentar: