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.
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?
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?
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.
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.
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?
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]
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?
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.
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?
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
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?
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
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
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.
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.
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:
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.
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
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?
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.
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.
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?
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?
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.
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.
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)