Error mounting: mount exited with exit code 1: helper failed with:
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
This happens when I try to mount a usb-stick, that did work before the update on wheezy.
After updating I typed as root after changing to /etc/apt
Code:
cat sources.list
getting this
Code:
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main
deb ftp://ftp.br.debian.org/debian/ wheezy main contrib non-free
# deb-src ftp://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
# deb-src ftp://ftp.br.debian.org/debian/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb ftp://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
deb ftp://ftp.br.debian.org/debian/ wheezy-proposed-updates contrib non-free main
# deb-src ftp://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
When typing the so called help
Code:
syslog - try dmesg | tail
(whith od without the blank before the "try") I am getting the notice, no such command. So may someone has a hint. The usb-stick used to work with ext4. What coud have happend?
Code:
mount /dev/sda1 /home/<my-user-name>/usb_stick -t vfat
does not help either. Glad for any help, thanks in advance.
going ahead trying this
Code:
tail -f /var/log/syslog
after that plugging in the usb-stick the terminal (using as root) tells me tons of tails
Code:
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.424057] usb 8-1: new high-speed USB device number 6 using ehci_hcd
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558038] usb 8-1: New USB device found, idVendor=1307, idProduct=0165
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558041] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558044] usb 8-1: Product: USB Mass Storage Device
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558046] usb 8-1: Manufacturer: USBest Technology
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558047] usb 8-1: SerialNumber: 09022453564397
Feb 2 17:10:10 rechenknecht2 kernel: [ 7115.558895] scsi9 : usb-storage 8-1:1.0
Feb 2 17:10:10 rechenknecht2 mtp-probe: checking bus 8, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-1"
Feb 2 17:10:10 rechenknecht2 mtp-probe: bus: 8, device: 6 was not an MTP device
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.556916] scsi 9:0:0:0: Direct-Access 0.00 PQ: 0 ANSI: 2
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.558686] sd 9:0:0:0: Attached scsi generic sg2 type 0
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.559288] sd 9:0:0:0: [sdb] 15794176 512-byte logical blocks: (8.08 GB/7.53 GiB)
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.559906] sd 9:0:0:0: [sdb] Write Protect is off
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.559909] sd 9:0:0:0: [sdb] Mode Sense: 00 00 00 00
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.560533] sd 9:0:0:0: [sdb] Asking for cache data failed
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.560537] sd 9:0:0:0: [sdb] Assuming drive cache: write through
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.564919] sd 9:0:0:0: [sdb] Asking for cache data failed
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.564923] sd 9:0:0:0: [sdb] Assuming drive cache: write through
Feb 2 17:10:11 rechenknecht2 kernel: [ 7116.697969] sdb: sdb1
Feb 2 17:10:12 rechenknecht2 kernel: [ 7117.397668] sd 9:0:0:0: [sdb] Asking for cache data failed
Feb 2 17:10:12 rechenknecht2 kernel: [ 7117.397673] sd 9:0:0:0: [sdb] Assuming drive cache: write through
Feb 2 17:10:12 rechenknecht2 kernel: [ 7117.397676] sd 9:0:0:0: [sdb] Attached SCSI removable disk
Feb 2 17:10:13 rechenknecht2 kernel: [ 7117.983909] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 0 not in group (block 16646647)!
Feb 2 17:10:13 rechenknecht2 kernel: [ 7117.999060] EXT3-fs (sdb1): error: group descriptors corrupted
So I see it is ext checking, and now I am looking for clues, because there it says that this is ext3 as fs.
And
Code:
udevinfo -a -p /sys/block/sdh
this command does not help at all :-(
Last edited by 1in10; 02-02-2015 at 03:10 PM..
Reason: typing error, new trial
I am sure that sda1 UUID="71d.." so on is my hdd on this laptop. That means sdb1 UUID="641..."
must be that usb-device.
So changing to /etc and typing
Code:
cat /fstab
brings me this,
Code:
root@rechenknecht2:/etc# cat fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=71d40357-4318-4e08-a4f3-ab3f019c194f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c95dabb2-85b9-4778-b9cb-8bd7727fd77a none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
what was not supposed to be, that there is "noauto" for /media/usb0.
Well now I'll try to fetch how to change the fstab file.
---------- Post updated at 09:32 PM ---------- Previous update was at 09:07 PM ----------
Trying to do so, it did not work out. But my fstab is read like this below:
Code:
# / was on /dev/sda1 during installation
UUID=71d40357-4318-4e08-a4f3-ab3f019c194f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c95dabb2-85b9-4778-b9cb-8bd7727fd77a none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,auto 0 0
So should I write it
Code:
/dev/sdb1 /media/usb0 auto rw,user,auto 0 0
UUID=641ea5c8-47d2-4473-ae01-6499d2f7ccba ext3
Well I did, but the error remains the same.
to be honest about wheezy and this change for the UUID of a device, that I still work on squeeze, although it is not state of the art, it makes me wonder how to remember any UUID for working with different mobile storages, any, would that mean to change for any machine the fstab for that very single UUID? Is that an enhancement?
Feb 2 17:10:13 rechenknecht2 kernel: [ 7117.983909] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 0 not in group (block 16646647)!
Feb 2 17:10:13 rechenknecht2 kernel: [ 7117.999060] EXT3-fs (sdb1): error: group descriptors corrupted
makes me suspicious. Does the stick work on other systems? What's the result of an fsck /dev/sdb1?
I used to plug this usb-storage on different machines, without any trouble, but after the last update of wheezy yesterday, this came up. And typing
Code:
fsck /dev/sdb1
brings me
Code:
root@rechenknecht2:/home/wurzel# fsck /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
fsck.ext3: Group descriptors look bad... trying backup blocks...
Superblock has an invalid journal (inode 8).
Clear<y>?
that means bad block for block bitmap, sorry, I don't understand why there is a hint to try to backup any blocks.
In case I agree to clear the journal, as the invalid journal (inode 8) means to be, does it erase the content, my content?
Thanks for your reply.
well played, well done, I don't know, really. this is the output after cleaning up, a downgrade to ext2, to set up a new fs?
Code:
root@rechenknecht2:/home/wurzel# fsck /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
fsck.ext3: Group descriptors look bad... trying backup blocks...
Superblock has an invalid journal (inode 8).
Clear<y>? yes
*** ext3 journal has been deleted - filesystem is now ext2 only ***
The filesystem size (according to the superblock) is 1974264 blocks
The physical size of the device is 1973979 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
btw, the LED still is constantly on, the file manager says there is an unknown type of device.
Last edited by 1in10; 02-03-2015 at 08:41 AM..
Reason: new results
Hello,
I am running ubuntu 16.04 .
Below script gives: "unknown command '\;'
counter=105
while read COL1 COL2 COL3
do
let counter++
url="http://localhost/test/$COL1.$COL2.$COL3";
mysql -uroot -D mydatabase -pmypasswd -e "SELECT video_id FROM video_series_files WHERE id IN \
(SELECT... (12 Replies)
Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Hi Guys,
I found on one of the server there are 2 VG's which I dont have any Idea of who created .. as below
bash-3.00$ lsvg
old_rootvg
rootvg
datavg
altinst_rootvg
altinst_rootvg under is meant for alternate disk installation.. But I'm not sure for which version of OS it was... (5 Replies)
Hi, I am facing an issue with HP-UX box.
-bash-4.0$ uname -a
HP-UX ctsintco B.11.31 U ia64 2795347624 unlimited-user license
When ever iam doing a su - root, it is showing the below error
-bash-4.0$ su - root
Password:
su: Unknown id: root
Can you pls. let me know how to over come... (2 Replies)
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Hello Experts,
I am facing a problem with ldap account, Some systems account running properly, but some systems it returns as "su: Unknown id: username". Please let me know how to start troubleshooting the same.
Thanks in Advance.
Reagrds,
Awadhesh (1 Reply)
Hi everyone,
I am a beginner in Linux and Shell scripting.I am migrating a couple of shell scripts from Solaris platform to Linux platform.In one script i saw a usage as :
/base/article/ocilib/lobfile $username/$password $filename $filepath
I didn't understand what this represents.The... (2 Replies)
Hello all
I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives.
I've been a UNIX programmer for a while now but new to administration.
I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)