File system mounting: Thunar can, mount can't
Hello :-)
A file system can be mounted by Thunar (Xfce's file system browser) but mount fails with "wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error". How can that be? What can Thunar (hald) be doing differently from the mount command? Some more details:
Code:
root@CW8:~# df /dev/sdc1 Best Charles |
What does /proc/mounts show while the filesystem is mounted through thunar?
You could try a '-t auto' on the mount, but I don't know why '-t jfs' wouldn't work. |
Thanks GazL :)
Code:
root@CW8:~# cat /proc/mounts | grep sdc1 The script that was being run from a udev rule has been working for a while, using mount /dev/sdc1 /media/hd0 so the command does work except that two or three times it has resulted in the current error message. When that happened before I assumed file system corruption and re-ran /sbin/jfs_mkfs. This time the error came after reviewing the file system contents using Thunar. |
Hi,
I'm curious! Try 'mount -t auto /dev/sdc1 /mnt/hd' since your root. :hattip: |
Thanks onebuck :)
Code:
root@CW8:~# ls -ld /mnt/hd |
I would make sure there are no bad blocks or that the drive is not failing.
|
Quote:
Quote:
|
Thanks H_TeXMeX_H :)
Code:
root@CW8:~# smartctl -i /dev/sdc If badblocks does find bad blocks, the original question (of how Thunar is able to mount it and mount is not) remains. |
There are no badblocks (FYI it took ~18 hours!):
Code:
root@CW8:~# badblocks -n -s /dev/sdc1 |
Alright, well, since SMART is not available, we can assume the disk is good.
Maybe see dmesg for any clues. |
Already checked dmesg and found nothing. Mysterious.
Ah, well -- I'll create a new file system, ext3 this time, and see how it goes ... |
All times are GMT -5. The time now is 07:06 PM. |