LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   USB external enclosue fails to mount (http://www.linuxquestions.org/questions/linux-general-1/usb-external-enclosue-fails-to-mount-4175444762/)

satimis 01-08-2013 11:02 PM

USB external enclosue fails to mount
 
Hi all,

Ubuntu 12.04 desktop 64bit

For unknown reason the USB external enclosue fails to mount automatically.

Warning:
Code:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

$ dmesg | tail
Code:

[  79.774909] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  79.774915] sd 3:0:0:0: [sdc] Attached SCSI disk
[  80.255406] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  80.255415] EXT2-fs (sdc1): group descriptors corrupted
[  184.852511] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  184.852520] EXT2-fs (sdc1): group descriptors corrupted
[  532.463987] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  532.463997] EXT2-fs (sdc1): group descriptors corrupted
[  683.677289] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  683.677299] EXT2-fs (sdc1): group descriptors corrupted

$ sudo fdisk -l
Code:

....
....
Disk /dev/sdc: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00083ffc

  Device Boot      Start        End      Blocks  Id  System
/dev/sdc1            2048  1250263039  625130496  83  Linux


Tried to mount it manually without success. There is only one partition on the HD

$ sudo mount -t ext2 /dev/sdc1 /mnt
Code:

mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

$ dmesg | tail
Code:

[  532.463987] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  532.463997] EXT2-fs (sdc1): group descriptors corrupted
[  683.677289] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[  683.677299] EXT2-fs (sdc1): group descriptors corrupted
[ 1116.031557] EXT3-fs (sdc): error: can't find ext3 filesystem on dev sdc.
[ 1116.081689] EXT4-fs (sdc): VFS: Can't find ext4 filesystem
[ 1116.169356] EXT2-fs (sdc): error: can't find an ext2 filesystem on dev sdc.
[ 1133.983241] EXT2-fs (sdc): error: can't find an ext2 filesystem on dev sdc.
[ 1145.519512] EXT2-fs (sdc1): error: ext2_check_descriptors: Block bitmap for group 1794 not in group (block 59244544)!
[ 1145.519521] EXT2-fs (sdc1): group descriptors corrupted

Please help. TIA

satimis

RockDoctor 01-09-2013 08:37 PM

Allow me to ask the obvious question - has the usb drive's partition been formatted?

satimis 01-09-2013 09:17 PM

Quote:

Originally Posted by RockDoctor (Post 4866619)
Allow me to ask the obvious question - has the usb drive's partition been formatted?

Yes, ext2

After running;
Code:

# fsck /dev/sdc1
it fixed the problem but with some files deleted which I can't recover them on Trash.

Now the USB external enclosure can be mounted automatically. I didn't know the cause of problem which leads me losing confidence on its reliability.

jschiwal 01-09-2013 09:29 PM

Look in lost&found for your missing files.

satimis 01-09-2013 09:47 PM

Quote:

Originally Posted by jschiwal (Post 4866646)
Look in lost&found for your missing files.

I also checked it. It was empty there.

Thanks

Regards
satimis

TobiSGD 01-09-2013 09:52 PM

Usually something like this can happen when the device is unplugged or powered of before the filesystem is unmounted. This can easily happen accidentally, so it is a good idea to use a journaling filesystem, like ext3 or ext4 instead of ext2 on external harddisks.

satimis 01-09-2013 10:20 PM

Quote:

Originally Posted by TobiSGD (Post 4866667)
Usually something like this can happen when the device is unplugged or powered of before the filesystem is unmounted. This can easily happen accidentally, so it is a good idea to use a journaling filesystem, like ext3 or ext4 instead of ext2 on external harddisks.

Thanks for your advice.

I'll find a HD with sufficient space for temporarily storing the data on the external enclosure first. The capacity of the later is 640G about 85% its space used.


Edit
====

Actually the USB external enclosure is for temporary storage only. I have 2 PCs connected via router, not running at the same time.

- working on PC-1
I'll save the working files on PC-1 with copies to the USB external enclosure

- working on PC-2
Download the files on the USB external enclosure. After working save the files on PC-2 with copies to USB external enclosure.

and so on. In this arrangement I retain the complete data on both PC-1 and PC-2

I'm considering leaving out the USB external enclosure, saving the files direct PC to PC. I'll turn on another PC when saving files.

Any suggestion? TIA

satimis

TobiSGD 01-09-2013 10:49 PM

Some routers support connecting USB mass storage devices to them, if you have such a router you can use the capacity of the disk for both PCs. Other than that I would simply use rsync to copy the files over network.

satimis 01-09-2013 11:06 PM

Quote:

Originally Posted by TobiSGD (Post 4866687)
Some routers support connecting USB mass storage devices to them, if you have such a router you can use the capacity of the disk for both PCs. Other than that I would simply use rsync to copy the files over network.

The router is supplied by ISP. Where can I check?

I can't change the router otherwise no technical support will be provided by ISP in case of need. That is on the contract. If there is no such a function is there any solution? Thanks

TobiSGD 01-09-2013 11:10 PM

Just check the manual or look on the router if it has an USB port. If not, just use rsync to copy the data over the network or use your USB disk as usual.

satimis 01-10-2013 02:18 AM

Quote:

Originally Posted by TobiSGD (Post 4866696)
Just check the manual or look on the router if it has an USB port.

No USB port found on ISP's router

Quote:

If not, just use rsync to copy the data over the network or use your USB disk as usual.
Is there any device to be added behind ISP's server? Then it can do the job as advised previously

satimis

TobiSGD 01-10-2013 07:17 AM

Not that I am aware of, of course letting out the possibility of a dedicated file serving machine.

satimis 01-10-2013 08:23 AM

Quote:

Originally Posted by TobiSGD (Post 4866986)
Not that I am aware of, of course letting out the possibility of a dedicated file serving machine.

Thanks

The problem of the USB external enclosure reoccured while copying files to PC HD. I'm prepared to reformat it as ext.4. After working for about 20min it was automatically disconnected. I suppose it is the heat inside the enclosure making the HD not working properly.

Now I mount the HD in the PC tranferring files HD to HD. Up to now (about 30 min) the captioned HD is working without problem. The transfer rate is >100MB/sec. This is an AMD 8-core PC with 32GB RAM on board.

I may consider NAS because I only need data in a small amount frequently.

Edit:
====
While I was browsing the screen of the display darken a while and then returned normal again. It happened twice. What is the problem?

Regards
satimis

lleb 01-10-2013 05:47 PM

Quote:

Originally Posted by satimis (Post 4867040)
Thanks

The problem of the USB external enclosure reoccured while copying files to PC HD. I'm prepared to reformat it as ext.4. After working for about 20min it was automatically disconnected. I suppose it is the heat inside the enclosure making the HD not working properly.

This could be heat, or it could be the drive it self. IE if it is a sandisk with U3 tech, or if it is a WD with their power saver function you will have to deal with these under MS Windows or OSx only sadly. If the drive is overheating then it is prob. about to die unless your ambient temp in the room is over 90F, then it could just be running hot.
Quote:

Now I mount the HD in the PC tranferring files HD to HD. Up to now (about 30 min) the captioned HD is working without problem. The transfer rate is >100MB/sec. This is an AMD 8-core PC with 32GB RAM on board.

I may consider NAS because I only need data in a small amount frequently.

Edit:
====
While I was browsing the screen of the display darken a while and then returned normal again. It happened twice. What is the problem?

Regards
satimis
The NAS would be ideal for both small or large file moves as it will move the data via the LAN and will work great. I have had fantastic results with the Buffalo LinkStation line of NAS devices. Last time I checked, a few months ago, the 2TB 2drive NAS was running roughly $200 USD. very good price for a 2 disk backup solution. fyi the drives are replaceable as well making it easy to upgrade over time.

as for the screen darkening, what is the OS? I have noticed that the Ubuntu line tends to do this either when there is an error or when it is thinking.

If the HDD is large enough, you might be better just installing it into one of the PCs, if you can have them both online at the same time and using the rsync as mentioned above.

satimis 01-10-2013 08:35 PM

Quote:

Originally Posted by lleb (Post 4867353)
This could be heat, or it could be the drive it self. IE if it is a sandisk with U3 tech, or if it is a WD with their power saver function you will have to deal with these under MS Windows or OSx only sadly. If the drive is overheating then it is prob. about to die unless your ambient temp in the room is over 90F, then it could just be running hot.

It is an old Seagate 640G HD.

It is now mounted in a PC. After formating as ext4 and transferring all data back it is now working without problem. I suppose it was the heat accumulated inside the enclosure making the said HD not working properly. The enclosure is also an old stuff, having been run for several years.

Quote:

The NAS would be ideal for both small or large file moves as it will move the data via the LAN and will work great. I have had fantastic results with the Buffalo LinkStation line of NAS devices. Last time I checked, a few months ago, the 2TB 2drive NAS was running roughly $200 USD. very good price for a 2 disk backup solution. fyi the drives are replaceable as well making it easy to upgrade over time.
Thanks. I have been comparing before;

1)
Buffalo LS-X10TL 1TB NAS LinkStation Live
http://www.walmart.be/product/detail...x10tl/92133092

Data Transfer Rates 1000/100/10Mbps

and

2)
Buffalo LS-X20TL 2TB NAS LinkStation Live
http://www.compsource.com/pn/LSX20TL...Drive-LSX20TL/

Maximum External Data Transfer Rate 300 MBps (2.3 Gbps)

The price difference is not much. But 1TB with better transfer rate, 1000/100/10Mbps

Actually 1TB will be sufficient for my current use. Of course 2TB will be better if not much increase in price.


Also I have been looking at
Buffalo CS-X2.0 2TB NAS CloudStation
http://www.buffalo-technology.com/en...d-station.html

Data Transfer Ratess 1000/100/10Mbps

Its price is also quite interesting not much difference compared with "Buffalo LS-X20TL 2TB NAS LinkStation Live"

I can build a NAS with old stuffs, old AMD 2-core PC with 4G RAM onboard and old WD 1TB black label HD. However the device will be bulky taking up space. For such a reason I consider purchasing a NAS.


Quote:

as for the screen darkening, what is the OS? I have noticed that the Ubuntu line tends to do this either when there is an error or when it is thinking.
OS - Ubuntu 12.04 desktop 64bit, the screen darkening a while and then resuming normal. When the screen darkened I can neither key-in nor moving the mouse pointer.

Quote:

If the HDD is large enough, you might be better just installing it into one of the PCs, if you can have them both online at the same time and using the rsync as mentioned above.
It's an old Seagate SATA 640G HD. I'wlll connect it in a PC for storage purpose. After purchasing a NAS I'll use it for testing purpose.


All times are GMT -5. The time now is 05:45 PM.