Debian :: Mounting External Drives - Unexpected Inconsistency

Jan 28, 2010

This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.

Code:
/dev/sdc1 unexpected inconsistency.
fsck died with exit status 4
failed (code 4)
Control-D to continue

I found the following on the net
Code:
If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?

Here is my fstab:
Code:
[sudo] password for siawacsh:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdd /home/siawacsh/cowon vfat defaults
/dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siawacsh@debian:~$
Remember sdc1 is the external drive, and sdd the music player.

I have attached the removable drives to directories mhyome and cowon.

View 7 Replies


ADVERTISEMENT

Fedora :: Prevent Mounting Of External Drives & CD / DVD Drives

Oct 18, 2010

I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?

View 2 Replies View Related

Ubuntu :: Mount Fails Because Of Unexpected Inconsistency?

Oct 15, 2010

We are testing Ubuntu as the base for our products, we create custom Karmic installations (debootstrap + some extra packages) and then deploy our software, these systems can start in two different modes: "normal" and "read-only". We must say the system works quite well, but after some time, several systems are showing a common error: they don't start or fail showing an unexpected inconsistency for one of the partitions (every system has one hard disk with four partitions), the message refers to an unexpected inconsistency. When this error appears, a recovery console is started and I can run fsck and answer "yes" to its recommendations, after this the system runs again without errors. The problem is that this error can appear again at a random time and we need to avoid this "manual fixing" process, I've searched the web and found some references to a bug? in an early Karmic version: [URL]

Besides ALSA 1.0.23, we use only standard Karmic tools (all from the official repositories), we are running the latest kernel update available for Karmic, and don't know whether this inconsistency is caused by our software or by the system itself, or maybe because of incorrect shutdown?

At the moment, I'm setting a new test system using Lucid. Does anybody know if this is a "common" error in Karmic?

View 3 Replies View Related

General :: Unexpected Inconsistency Run FSCK Manually

Jun 8, 2011

RHEL 5.4. I'm facing the following error after rebooting the server:
/dev/VolGroup01/u04: UNEXPECTED INCONSISTENCY Run fsck Manually"
*** An error occurred during the file system check.
*** Dropping you to a shell: the system wil reboot
*** when you leave the shell.
give the root password for maintenance:

-Previously I performed a lvreduce command on a LV, after the lvreduce, I reboot the server.
-After login as root I run:
e2fsck -f /dev/VolGroup01/u04

But, it shows:
The filesystem size (according to the superblock) is 5218304 blocks
The physical size of the device is 1310720 blocks ...
either the superblock or the partition table is likely to be corrupt
abort<y>? no
pass 1: cheking inodes, blocks, and sizes
error reading block 1310722 (invalid argument) while doing inode scan
inore error <y>? y

-Additionally, trying to lvdisplay, it shows:
Locking type -1 initialization failed
I have no important data on that LV, but I can not boot the server properly.

View 4 Replies View Related

Fedora :: Mounting External Drives Using Lshw Info?

Sep 7, 2009

After a bit of searching, I haven't found a discussion on how to mount an external device using hardware attributes, though I am almost certain I have seen discussions on this in the past. The objective is to consistently mount an external USB drive at the same mount point regardless of the order in which a user attaches other external USB drives. For instance, if I run lshw, I can find harware properties of the device:

Code:

*-usb:1
description: Mass storage device
...
physical id: 6

[code]...

I'd like to identify this device by the serial number and mount to a pre-defined mount point (e.g. /mnt/extUSB). I can write a script involving lshw,dmesg, and mount but I vaguely recall a more clean/ preferred method.

View 2 Replies View Related

Debian Hardware :: Mounting Drives As Normal User - GUI Apps

May 13, 2015

I have two internal partitions that I auto-mount at startup using fstab. This works fine & I can unmount/mount as a normal user no problem in the terminal (umount /dev/sdb1) but using thunar (or nautilus) I receive a message saying "not authorised to perform operation" (I use the DWM window manager, in gnome it pops up with a password prompt).

If I open thunar as root then I can mount/unmount.

The strange thing is I can mount/unmount usb sticks or mtp devices as a normal user no probs from thunar! So, I'm assuming it must be my fstab that's the problem?

Code:

Select allLABEL="DebianLive"             /                ext4    errors=remount-ro    0      1
/dev/sda6                      none             swap    sw                   0      0
/dev/disk/by-label/Vault       /media/Vault     ext4    users,auto,exec      0      0
/dev/disk/by-label/LiveJob     /media/LiveJob   ext4    users,auto,exec      0      0

This used to work fine on my wheezy install, only started having problems when I switched to Jessie ....

View 4 Replies View Related

Debian Installation :: External HDD Mounting Failing?

Apr 2, 2011

I just installed Debian Squeeze onto my desktop and when i try to access it I get a dialog displaying:Error mounting: mount exited with exit code 1: helper failed with:Error opening '/dev/sdb1': Permission deniedFailed to mount '/dev/sdb1': Permission deniedPlease check '/dev/sdb1' and the ntfs-3g binary permissions,and the mounting user ID. More explanation is provided at[URL]

View 3 Replies View Related

Debian :: To Mount External Drives On Startup?

Mar 14, 2010

I want all my external drives mounted when I start OS.I don't want to do it for a specific external drive. I want my external drives mounted by default.o you have an idea? Does linux have such a configuration I can change?

View 8 Replies View Related

Debian :: Mounting External HFS Firewire HDD From Command Line?

May 28, 2011

has anyone successfully mounted and external HFS firewire HDD from command line? I installed all the HFS tools but I haven't been able to mount it. It is not even recognized by fdisk. GNOME seems to mount it without an issue but in my case it is a server and I don't want to have GNOME eating up my scarce resources.

View 1 Replies View Related

Debian :: Mount Multiple External Hard Drives ?

Dec 20, 2010

How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).

My setup:
- Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running)
- Two external HDD's with one partition on each (250GB and 400GB)

What I'd like to accomplish:
1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba)
2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox.
3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.

Since I have the first one done, how would I accomplish 2 & 3?

View 1 Replies View Related

Debian Hardware :: External Hard Drive Not Registering / Mounting

May 22, 2014

My external hard drive (about 2 years old) won't mount. It wouldn't mount on Windows either. Other external hard drives (sdb1) mount perfectly.

I am wondering is there a Linux way of getting the hard drive to work again? The disc spins up so it's not a mechanical failure. I'm guessing here but is there a way of flashing firmware onto the external HD if that might be the problem?

(Seagate 2TB ST320005EXD101-RK)

Code: Select all# /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/sda2 during installation

[Code] .....

View 5 Replies View Related

Hardware :: Mounting External HD Under Gentoo (fails) - Works On Debian

Mar 18, 2011

I recently picked up an external HD which I partitioned, formatted and can mount just fine under Debian. When I plug in the device, I can see an appropriate sda1 entry for my partition in /dev. However, when I attempt to use the device in Gentoo (the system I bought the drive to back up) it seems to not be recognized. I still get some new entries under /dev when I plug it in, but no specific partition number is recognized. On Debian (where it works) here is the output of dmesg after plugging in the device:

Code:
[ 9179.847274] usb-storage: device found at 8
[ 9179.847277] usb-storage: waiting for device to settle before scanning
[ 9179.848514] usb 5-5: New USB device found, idVendor=059b, idProduct=0070
[ 9179.848520] usb 5-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9179.848523] usb 5-5: Product: eGo USB
[ 9179.848526] usb 5-5: Manufacturer: Iomega
[ 9179.848528] usb 5-5: SerialNumber: 090000000000D517
[ 9184.844890] usb-storage: device scan complete .....

I have to admit that I'm kind of baffled by what is going on here. It would seem that in Debian the drive is initially treated as a cdrom device and then my partition is seen, but the same is not occurring in Gentoo. How I can make the sr0 device work in Gentoo? Am I missing a module?

View 3 Replies View Related

Debian Installation :: Recognize Or Mount External Hard Drives

Feb 10, 2011

I just switched to Debian 6 from Mepis 8.5. When Debian loads, it doesn't recognize or mount my external hard drives.

View 4 Replies View Related

Ubuntu :: After Upgrade To Lynx None Of Of External Drives Cd Drive Or Flash Drives Are Pick?

May 9, 2010

upgraded from karmic through update managerANDnone of of my external drives cd drive or flash drives are picked upad to go back to karmic and will remain there for a whil

View 9 Replies View Related

Server :: 2 Separate External Hard Drives With ESata To Minimize An Electrical Failure To The Drives?

Mar 26, 2011

I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data

View 10 Replies View Related

Ubuntu :: External Drives / Flash Drives And Other Partitions Will Not Mount

Jun 21, 2010

I recently had issues with the latest version of the Linux Kernels and I got that fixed but ever since that has happened none of my Drives will mount and they aren't even recognized.

View 1 Replies View Related

Debian Multimedia :: Inconsistency In Switching Keyboard Layouts

Jan 7, 2016

I had debian 7 with GNOM,XFCE and LXDE woking fine. After I upgraded it to debian 8 (the DE mentioned also upgraded to e newer versions) I started having problems with switching between US and RU keyboard layouts. It now behaves as if I have two US layouts and one RU, so when I press CTRL+SHIFT several times the layout changes as follows: US-RU-US-US-RU-US-US-RU etc.

This happens in all the three DEs installed. If I exit a DE using CTRL+ALT+F1 to the command line the layout switches normally. So I guess something wrons is with DEs.

My /etc/default/keyboard file reads as follows:

Code: Select allXKBLAYOUT="us,ru"
XKBVARIANT=","
XKBOPTIONS="grp:ctrl_shift_toggle"
XKBMODEL="pc105"
BACKSPACE="guess"

View 4 Replies View Related

Server :: Perl Apache Session MySQL Inconsistency On Debian Lenny

Apr 11, 2011

I have been tearing my hair out with this. As part of a backend perl script i am holding the Epoch time as session data using apache session and mysql so i can delete sessions after an expiry period. When I retrieve the time it is about three months old even when i only just set it. The code example below best describes the problem:

View 5 Replies View Related

Ubuntu :: Drives Not Mounting?

Apr 28, 2010

I've been Ubuntu 8.10 along with Windows from abt 3-4 monthsFor automatically mounting of NTFS drives that I has which were created by WIndows, I uses NTFS Configuration tool Everything was working fine in both OS's.But how come of a sudden today I'm not able to open any drive that I have which were happening till now.Not only this,at least if we press F9 then we get sidebar,from where we could have opened the drive .even that is not happening.

View 4 Replies View Related

OpenSUSE :: Mounting Some Hard Drives?

Oct 24, 2010

I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.

Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice
Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14

[Code]...

View 4 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 1 Replies View Related

Ubuntu :: Automaticly Mounting Drives?

Apr 9, 2011

Is there anyway to make so of my hard drives I have which are being used to share over a network automaticly mount themselves when my pc boots up?

View 2 Replies View Related

SUSE :: Command For Mounting Other Drives (XP And USB)

Jan 10, 2009

I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.

View 3 Replies View Related

Hardware :: Mounting Hard Drives

Mar 21, 2009

I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.

View 7 Replies View Related

General :: Mounting 2 Usb Drives In To 2 Different Locations?

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 4 Replies View Related

General :: USB (Removable) Drives Not Mounting

Sep 29, 2009

I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:

org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).

It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?

View 14 Replies View Related

Fedora :: Auto Mounting Hard Drives?

Aug 10, 2009

I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?

View 3 Replies View Related

Fedora :: USB Drives No Longer Auto Mounting?

Sep 16, 2010

I know this problem was mentioned here before but because I could not find a straight forward solution anywhere I am reposting this here. So here goes.As of today, my Fedora 13 64-bit has ceased to auto-mount USB drives completely. I have made absolutely no changes to the system and I am completely baffled and frustrated by this sudden development. I desperately need this system to function properly as I use it for school and this really put a wrench in my works, especially since I have done nothing to cause this. I assume that one of the many recent updates that have been released must have done this, but I have absolutely no idea how to fix this. Why do Fedora developers release updates that cripple a perfectly functioning system is beyond me and crap like this really makes me consider switching back to Ubuntu.

View 9 Replies View Related

OpenSUSE :: Mounting Hard Drives As User?

Aug 4, 2010

OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.

View 4 Replies View Related

OpenSUSE :: How To Get Dolphin Mounting Partitions / Drives

Aug 10, 2010

Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.

Error Message:
An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved