I have an external hard drive (1TB MyBook) mounted via fstab by UUID to a directory. When copying/writing/reading a lot of files from it, it randomly unmounts and remounts as a different device.
It'll start as /dev/sdb1, I'll set a lot of files to copy to it and then it'll unmount and re-acknowledge itself as /dev/sdc1, the file copying process will crash and the current directory in terminal will display an I/O error. Running mount -a remounts it back to the directory specified in fstab as /dev/sdc1 and the loop continues. If it's just idling, there's no issue, only does this under load.
Sometimes I get a problem with the basic "umount" command. I get an error message telling me that for one reason or another, the device couldn't be unmounted. Usually, it says the device is busy, when I can't see how it possibly can be. When this happens I'll use "umount -l" or "umount -f" or sometimes "eject" but I'm still not happy, because at the back of my mind I'm worried about damaging the integrity of the device's filesystem. What's the CORRECT way to deal with this problem?
I bought an external hard drive a couple of months ago and in the last few days it is having some problems.
Step 1, I turn it on and plug in the USB /var/log/syslog: Jul 28 13:52:39 bc1982 kernel: [61683.130027] usb 1-5: new high speed USB device using ehci_hcd and address 22
[Code].....
I turn off the drive, wait a while, then turn it on again in which sometimes it works fine, sometimes it doesn't. These errors have occured frequently in the past two days, but never before that
I don't know what these system logs mean, does anyone else?
I have an external DVD burner hooked up to an EEE PC 701SD. The disk has worked on a dell desktop computer, and a 701 (the first eee pc which I built the install on) without a problem, however when I boot up the install disk on the 701SD, I get a message telling me it's unable to download the kickstart file. It's being set to cdrom:/ks.cfg, which should work, but it isn't.... This exact same disk just did a full install on the 701 15 minutes before I ran it on this computer.
after some hard times, I finally managed to have my Orange Huawei E1752 HSPA modem running (a USB modem enabling you to surf the net) the only thing is that I have 2 "problems" with this: I cannot find a clean way to eject the stick when I am done using it. when I want to run it, I plug it, it asks me for the PIN code, which I give, then I do the following manipulations: I first run:
usb_modeswitch it "creates" 2 files /dev/ttyUSB0 and /dev/ttyUSB1, what I check with: ls -l /dev/ttyUSB*
then I use the usbserial module to handle the stick: modprobe usbserial vendor=0x12d1 product=0x141b then I check that the stick is working with: dmesg|grep GSM that outputs something like: USB Serial support registered for GSM modem (1-port) option 1-5:1.0: GSM modem (1-port) converter detected usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0 option 1-5:1.1: GSM modem (1-port) converter detected usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1 option: v0.7.2:USB Driver for GSM modems finally I choose the "Orange Default" in the list of available connections in the network manager icon on the panel and I am finally connected The thing is, that when I am done, I just go to the same list and then click "disconnect" I go on "Computer" and left click on the SD 4Gb storage (the SD card also in the stick) safely remote drive or something like this. Then I thought that unmounting the device would work,
[Code]...
As a newbie (and especially regarding the use of those modems) I am running out of ideas to "eject" it cleanly, I also checked in the /dev/ file to see that the ttyUSB0 and ttyUSB1 files are present
I'm using Debian 6.0 on an Optiplex 960. My system constantly freezes. When I move the mouse (or press a key on the keyboard), my system resumes execution for approximately 2 seconds, and then freezes again. This problem is not restricted to Debian,'ve ncountered similar problems with other linux distributions on my hardware. I was wondering if anyone else had encountered this problem before, or had any ideas about how imight be resolved. I'm copying my hardware information below.CPU INFORMATION
processor: 0 vendor_id: GenuineIntel cpu family: 6
I am running a minimal debian "Squeeze" system with xfce and recently noticed a marked slowdown in my samsung nc10 netbook performance; with all other applications closed htop revealed the following process eating up cpu which explains the slowdown. Previously cpu idled at about 10%. The user is root unlike all the other processes:user:rootpu:70% command:/usr/bin/x :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
So I'm having troublesome issues with Debian 8.2, one of them being really costly to my productivity. This issue started maybe a month or so back, and has been continuing since. Laptop is a Toshiba C50-B-14D
During every freeze all those happen:
Screen freezes (The whole display becomes frozen, with only cursor movement - Time displayed stays frozen too)No keyboard input (even Cap & Num Lock leds will not dim once pressed)Power button (pressing once will do nothing - I have to hold for an unhealthy shutdown and reboot)Touchpad Input Works (Cursor responses to movement only, clicks/change on-hover do not.) Fans become quiet
Today at 11:46, it happened while just running Chromium. At the time:
*XFCE4 Power Management Plugin Presentation Mode [on] Charger was connected
Here is the syslog (I know this isn't useful as it doesn't show what's causing the issue) the freeze happened at 11:46 and 11:57 is when I rebooted back into debian.
Code: Select all----------------------CUT------------------ Oct 30 08:31:01 Badook rtkit-daemon[1315]: Supervising 4 threads of 2 processes of 1 users. Oct 30 08:31:01 Badook pulseaudio[1364]: [pulseaudio] pid.c: Daemon already running. Oct 30 08:41:09 Badook kernel: [Â 727.002897] perf interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 Oct 30 08:42:02 Badook pulseaudio[1312]: [alsa-sink-ALC233 Analog] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
[Code] ....
I also started noticing an INFO rcu message during startup:
Code: Select allroot@Badook:/# cat /var/log/syslog.1 | grep -i "rcu" Oct 29 14:39:33 Badook kernel: [Â Â 0.000000] Hierarchical RCU implementation. Oct 29 14:39:33 Badook kernel: [Â Â 0.000000] Â Â RCU dyntick-idle grace-period acceleration is enabled. Oct 29 14:39:33 Badook kernel: [Â Â 0.000000] Â Â RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=2. Oct 29 14:39:33 Badook kernel: [Â Â 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
Im currently installing debian on my old server, its a 64bit computer, so i've downloaded the amd64 for this project. But under the Basis Installation, of this cd image, im getting a debootstrap warning every time i want to continue the installation, the last warning i remember was something coreutils_6.10-6_amd64.deb (Something like that, not totaly sure), and im lost, can't find anything closely related to the subject.
I use WLM (And yes, I realise odds are this is a problem on microsofts side) and almost every time claws mail connects WLM returns a new certificate. Valid, but I have to constantly accept or deny the certificate. Why is WLM pumping out fresh certs all the time and how can I fix this?
Whenever this pops up whatever I have at the moment shows "Signature status: No certificate issuer found" and the other shows "Signature status: Correct".
I setup Debian a few days ago and everything was working fine. On a routine reboot to test a start-up script I turned the monitor on and realized that I could not logon to the machine locally. None of my keyboard input was making it to the username field but random things were happening. Every now and then it would say stuff like incorrect username or spontaneously jump to the password input field and then say incorrect password. I've rebooted a couple times, even without a keyboard attatched and still am seeing this. In /var/log/auth.log I show gdm going nuts trying to validate usernames.
Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username Oct 18 12:15:16 Eva gdm[3287]: pam_nologin(gdm:auth): cannot determine username
I have a perl script which runs a mini webserver allowing me to do various things. I'd like to have this script run when the machine starts up, and constantly run in the background.How should I achieve this? I want the script to regardless of whether anyone is logged in or not, so I can't put it in any bash-related files.
Using Wicd and it keeps dropping out or telling me "bad password" when the password is in fact correct. I even know it works because the first couple of times it worked, but the connection wasn't sustained for more than a few seconds each time. My reasoning is my wireless is functional in Ubuntu, there's no reason it shouldn't be in Debian. Wireless network card is ASUS PCE-N13. Ralink driver is installed. WPA-supplicant is installed. Gnome Network Manager is also present, though I've heard that it doesn't support my particular situation.
Im running a Debian 2.6.26-2-amd64 webserver with apache2 only on a Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz that has 2GB of ram in it. I installed htop a few days ago and have been looking on it for a few days now. the server idles on about 80~ish tasks constantly with arond 20 apache tasks/connections to it all the time and the cpu usages of the 2 cores at about 1% each. but asoon as more apache2 connections/task get started and the servers tasks reach 120-140~ Apache2 timesout if you try to go to the webpage i host on the server. when it's back down to around 80~tasks you can reach the webpage once again. why is this ? what's causing this to happen ?
I have 2 computers on the same network that i need to link together to transfer files 1 is a web server the other is a minecraft server. the problem is that the file transfer will be constant as the minecraft server will constantly updates files on the web server and I dont want it to go to the router then to come back to the web server. I want to add a second network card to each computer and link them together and use this second connection to transfer the files is it possible?
- Nautilus open in browser mode (the default)?- I click the eject symbol to unmount a usb stick in the side pane.- The annoying red exclamation police light looking thing pops up telling me that nautilus crashed.- Not only is the usb stick unmounted, but the device file also disapears (e.g. no longer listed by fdisk).- This problem does NOT occur when I use other methods to unmount (e.g. umount on command line, or right-click on desktop icon and select eject action), only when I click the eject symbol in the nautilus side pane
been puzzling over this for a while, searched forums and net but no issues/solutions found. I have the above device plugged in and working fine. However when un-mounting - either through dolphin or device notifier, I get the report that the item is unmounted but then when removing USB cable from the Zen, it closes down and then rebuilds the entire 16GB collection - this takes quiet a bit of time and I worry that I may end up frying the Zen. Is there a fix for this in Suse or is it the zen. it doesn't happen on my work machine running windows though.
I have just installed 10.04 as an upgrade from 9.10.
I am having difficulty because none of the USB drives I am using are unmounting as they should be. normally speaking when erasing data from my USB key when you come to unmounting it it will ask if you would like to send this data to the recycle bin thus giving you back the extra storage space on the device. 10.04 isnt allowing me to send these items to the recycle bin ad doesn't give the option to do this.
10.10 MMeerkat - When I use a USB-stick or external hard drive, I don't get the "unmount" option but instead it says "safely remove drive".When I click this, Nautilus immediately crashes and is gone.Is this a known bug in 10.10?
I've spent the better part of an afternoon looking for a solution to a problem: backing up my installation of 10.10 as an image file to an external hard drive. My research has yielded a lot of suggestions for clonezilla, dd, and partimage/particlone, but those don't seem very appealing, due to a number of issues (can't backup live, copies free space as well, doesn't handle ext4, etc). Also why is clonezilla 150mb?
I'd like a simple solution that can clone an entire disk (used space only) to an explorable image file on a separate hard drive and be able to do it while the operating system is running on the disk. I used to use apricorn ez gig to do this on windows and it worked like a charm, but I can't seem to find a similar solution that creates and explorable .iso image file with linux. I've used superduer on osx, which is awesome and i wish there was something like that for ubuntu/linux.
Very frustrated. I have used Unix for ages so I understood the SysV startup stuff. But I have not had a lot of luck with Upstart. The other day I noticed that on every reboot my disks are getting fsck'd. I just recently put an ext2 on /tmp so this takes a while (the ext4 drives just rip through their journals).
The problem is no one is unmounting them on a KDE restart (4.X). I started out looking at /etc/init.d/umountfs and putting some logging in there. It never runs. This is despite that /etc/init has an upstart job that is supposed to run all the runlevel stuff.
I also tried to log some info in /etc/init/mountall-shell.conf which looks like it tries to do a umount -a on shutdown (which is probably not a good idea; you need to unmount in a particular order). That doesn't seem to happen either. I am not even sure how to troubleshoot this further. I suppose I need to see if the reboot( command has the same problem. Or if I shut down kdm first if it goes away.
I have a volume that shows as the following when I do a df -h. How would I go about unmounting it so I can run an e2fsck on it, then remounting it? normally it mounts when the server starts, so i'm not sure how to manually do it.
I get the following error each time I try to safely remove the USB stick (by right-clicking on the USB stick icon on the desktop and choosing "Remove safely") code...
It used to work without errors when unmounting the USB from Nautilus window, but now, I get the same error when unmounting from there as well. Is it safe to assume that the stick can be removed even though the error message is displayed? What might be the cause? Also, I do not have any Nautilus-windows opened nor any applications that are locking any files on the USB stick while removing it.
I want to move my / partition to the end of my drive (sda). To do this with gparted, I have to unmount it, but I'm not comfortable with the idea of unmounting root partition... Should I do it from a live cd? More important : is the operation safe?
A client is having a problem with a recently installed CentOS 5.5 x86_64 Virtual Machine (under VMware ESX 3.5). The problem is reported by the user as "Nautilus windows closing after a time when looking at data from the NFS server".
The folders the user is using are in a file system that is NFS mounted from a Solaris 10 file server cluster (VCS). These are mounted using autofs. These are direct mounts as in:
I have reproduced the problem by logging in and opening a number of folders using Nautilus under /opt/user-data. After a while, all Nautilus folder windows that are under /opt/user-data will close and when this occurs you can see from the command line that autofs has unmounted the area from the file server.
This should not occur because Nautilus having a window open should count as the folder being in use and should stop autofs from unmounting it. I don't know if this is an autofs or Nautilus bug but I suspect it's a Nautilus bug in it not keeping some kind of access open on the folder. System information:
The system was updated at install time. /boot/grub/grub.conf has "divider=10" appended to the kernel line.VMware Tools are installed. NTP is also configured and steps the time to UTC at boot if required (maybe this is overkill). autofs and Nautilus versions are:
uh, I screwed up. I mounted the wrong thing with ntfs-config. Now, this really isn't a big deal but... It'd be nice to have it organized and a 11 GB partition not mounted on boot
We are using Ubuntu 10.04LTS server on Vmware Vsphere estate. We are using LVM and have / and /var on separate partitions.
We have been experiencing an odd issue with sda1 always being fsck'd after every reboot. We seem to have traced this to the start/kill scripts in rc0.d and rc6.d. It appears that the reason the disk is not being unmounted is because some of the scripts are never being run because they are prefixed with S. We renamed and reordered the scripts to reflect what we thought should be the correct order - i.e. not halting the system before unmounting disks. System reboots cleanly now.
Before list of rc0.d and rc6.d respectively: lrwxrwxrwx 1 root root 17 2010-11-18 15:06 K01apache2 -> ../init.d/apache2 lrwxrwxrwx 1 root root 22 2010-11-16 17:03 K01zabbix-agent -> ../init.d/zabbix-agent lrwxrwxrwx 1 root root 22 2010-11-30 08:16 K03vmware-tools -> ../init.d/vmware-tools
[Code]....
basically are we expected to do these changes as part of building new servers for production use? Quite happy to do this but just surprised that this is the default.
Gnome version 2.28.1 with kernel 2.6.31-14 on an Ubuntu 9.10 Karmic box.I'm wondering how usb drives, etc get automounted in gnome now days. Thought it might be fusermount, but no.Gnome-mount is not installed. Perhaps it is via AL or udev, but what commands control it? I've found posts that talk about using gnome-mount, but these are outdated as this package isn't even installed by default anymore.I would like to unmount certain volumes via the command line, but without having root privileges as gnome is doing by clicking in nautilus. I would like to do the equivalent from the command line.
Are there any command lines commands that will allow me to do this (not talking about pmount which is not installed)?Also, is there a way to prevent automounting of just certain devices, but not all? I have a USB with 7 different things on it (a "built-in" CD for some reason for windoz users, the original NTFS, and 5 linux partitions). I really only want one of the linux partitions (an XFS for DVD isos) to automount but not all the others. I would like not to have to disable ALL automounting as in: Code: