Recently I was trying out a boot disk I had made, and basically, I switched it off several times due to it booting the completely wrong kernel. Now, I'm getting to the stage "Checking File systems" and then comes up [Failed]. I then get a message saying Reboot required, and that it will reboot in 15 seconds, just a few seconds before it reboots I get "/dev/shm not mounted, /dev busy" or something similar.
I've booted up my sysresccd, ran "fsck.ext4 -fcv /dev/sda2" to force a check and scan for any bad blocks, it came up clean, then I rebooted and got the same error, so I copied the kernel and system.map over to /boot to make sure there's no corruption and reinstalled initscripts and util-linux-ng, rebooted, same error.Tried different kernels, I've checked fstab and menu.lst, no problems there, so I still don't get why I still get the same problem.
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/ umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a mount: /dev/mapper/gegevens-Data already mounted or /data busy
How do I find out "why" the mounted virtual drive is busy? All windowed programs are closed out. I assume a background program is using the resource? All was fine until about a week ago.
I was careless and deleted the Kernel using synaptic package manager. I was trying to delete the older entries but did not realize that I also selected the current one. Thus, I do not get an option to boot to Karmic at GRUB. It only shows the memtest entry and Windows XP. So I booted using the Ubuntu 9.10 LiveCD and tried the following:
1. sudo su 2. mkdir /mnt/os 3. mount /dev/sdb /mnt/os
At this point, I keep getting the following error: PHP Code: mount: /dev/sdb already mounted or /mnt/os busy I tried rebooting, making a different directory to mount my sdb to but it keeps repeating the same message again and again.
I have a little problem with my RHEL5.5 IA64. I mounted a Windows directory with 'mount -t cifs'. After a little while someone else mounted the same windows directory in the same mountpoint. The output from 'mount -v' shows me that the same directory is mounted twice in the same mountpoints. I cannot unmount it, not even with the force option. The error is "Device or resource busy". There are no open files in the shared directory and no one using the directory or subdirectories.
Just moved to Ubuntu from XP. Whole process has gone very smoothly, but left with a small problem (i.e. it isn't actually affecting usability) that I don't seem to be able to fix and can't find on forums/internet. I also have a problem with the Floppy drive, but I've seen that problem elsewhere in the forums.
It's a dual boot system with both NTFS and Ext4 drives. All are visible and fully accessible. I decided to convert one of the NTFS drive to Ext4. That appeared to be successful and was successfully remounted as an Ext4 drive. The drive label is "Data". I did have a bit of a problem getting it remounted so that I could see/use it under my log-in as opposed to just under root. It's at this point I think that I did something to create the problem.
I now have two entries for "Data" in drop down menu for Places. The true one is shown as a standard hard drive icon, but the false one is shown as a different icon - possibly an external drive icon (note that the floppy drive is also showing as the same icon and I can't access that, but I've seen that's a problem elsewhere in the forums).
I can write and read to the true "Data" hard drive. If I click on the other false "Data" icon, I get the message "mount: /dev/sdd1 already mounted or /media/Data busy mount: according to mtab, /dev/sdd1 is already mounted on /media/Data". If unmount the true drive and try to mount the false drive, the system mounts the true drive instead. If I log into nautilus as root, neither the false data drive or the floppy appear in the left hand panel.
I have a log file which is continously being accessed. Now I want to delete the first line without disturbing the file.Is it possible? The Issue is the log file is being provisioned with ^@^@^@ characters in the first line occupying huge space.So I need to get rid of that. I dont have time to work with root cause but just a script to reduce this space.
I need to tune the mysql and apache server for the comparatively busy webserver. My scenario is like this.
1. The Web request is around 2000 request at a time or more. 2. Each web request will generate one mysql query. 3. The query to database is all read. 4. This server load will be at peak for around 3-4 hours after that the load will subside. As the task will be published, around 300,000 will be viewing the page.
5 quad servers are deployed, load is balanced via DNS but performance is not as expected. Centos 5.5 is used as OS. Top command shows The mysql process is around 185%!
Named has been working fine for months on Fedora core 14 with updates current.a few days ago it stopped working. I tried a service named restart and received the error message: stopping named: umount:/var/named/ chroot/var/named: device is busy.I tried using kill process, which did not work. However if I use kill 9 <named process>, followed by service named stop, I can then restart the service and it works for a number of hours (less than a day), then stops again and produces the error message above when I try to restart it.I can get it working again using the procedure above, but only temporarily.
This may be to specific of a scenario, but it is real.- I use an NFS mounted FS as a destination for my backups from multiple clients. - If the FS is mounted with 'noac' which in effect disables write caching, backup performance is horrible 40kb/sec.- If I remove this mount option, backup performance is fine 12mb/sec. However, because of write caching, my cpu io wait time increases (up to 40%) and performancen the entire host suffers unacceptably.My initial impression/solution is to find a way to enabling write caching e.g. do not specify 'noac' and limit OS write cache size
I have an NFS server running an older version of AIX that exports two disk partitions. Let's say /1 and /2I also have an NFS client running Fedora 9.I am able to NFS mount /1 and /2 from NFS server under /mnt/1 and /mnt/2 on the client.If I do a df command on the aix server,I see that /1 is 2Gb total and 1.7Gb is usedand /2 is 2Gb total and 1.4Gb is usedI see the same if I do a df command on the NFS client (Linux)Now, the confusing part is here: in the GUI of Fedora, if I go under /mnt and right click on /1 and check folder properties, it tells me that there is ~ 54 000 files (which i assume is the correct number) for a total of 5.3Gb! And for /2, properties indicate 1.2Gb. Where do these extra 3.6 Gb come from on /1...? and even the smaller difference for /2 confuses me (but this might be just the way different systems round off large numbers)?
I recently formatted my hard drive and installed Ubuntu and I have the following problem: My laptop has to inbuilt hard drives, one which I use for the operating system and one which I use for storage. Up until 3 days ago, I had Windows XP and Ubuntu 8.04 installed on one of the hard drives, but decided to switch fully to Ubuntu 9 because Windows was giving me far too many issues. So I downloaded the ISO, burned it on CD and then installed. I formatted (as far as I could tell) only one drive but the other one has disappeared from view ever since. I asked a more Linux savvy friend of mine for help and he only got as far as determining that the 2nd HDD is still detected but not mounted. And then he referred me here.
Code: apt-get install kubuntu-desktop and I love it. However, in GNOME, it shows all the usb drives and cds you have in on the desktop. The kde desktop doesn't do this, and I'm wondering if there's a way to make it so. I googled around, but couldn't find anything.
I'm using LVM-based partitioning. I can not mount one partition. Here is some information I can provide.
Untitled-1.png snapshot7.png snapshot8.png
This incident happened after I try to encrypt this partition and then an error message appears. If not mistaken, it contains an error number (I forget) and a warning which reads that can not remove the LABEL on the devices.
Created partitions, some of them LVM, in a server, say A. Did the same for another server, B, but created one more LVM partition.
Installed RHEL in A, and some other applications. Made dump files for each partition of A and restored all of them them in B. No error in that process, except B wouldn't boot. Did chroot /mnt/sysimage and grub-install /dev/sda--still no good. B came to a halt with GRUB> dispalyed. <tried many things many times.. searching Googles..but w/o luck) Gave up, and restored the bootloader part using OS CD -- I say restored because now B boots ok and I can see application that I had installed in A. So far so good.
Problem: that extra LVM partition is missing! I did not knowingly overwrite it, so where did it go? Somebody is keeping it from being displayed!
Is it the grub.conf that tells the OS what to mount and what not to? If yes, problem is , grub.conf is missing in B. In A, it is in /boot/grub/. df -kh shows other partions (some of them LVM) just fine.. what is going on?
I tracked a file called menu.lst in a strange place, in /usr/share/doc/grub-0.97.. but I didn't see any entry that loads partitions.
Am wondering if looking at the CPU process queues, vs CPU% busy, are a better indication of whether an upgrade is needed.
Afterall, processes can still queue up to be processed even if "top" doesn't shown CPU 100%. Say if it's indicating 50% busy within the top output, it's only saying that 5 out of 10 times sampled, the CPU was busy. But a process may arrive to be processed at any time, and if it arrives just when the CPU is processing something it needs to wait in the queue. Am I making senses?
How many processes queued up would suggest an upgrade is required of the CPU? I've read online (believe it's Microsoft) that 2 is the figure.
I run Windows Vista and Ubuntu 9.10 dual boot. Today while booting windows, it informed me that there was something wrong with my hard disk and it would perform a check, and made some fixes.
Only when I wanted to boot into ubuntu again did I realise that the disk check had corrupted my linux partition. Ubuntu's load screen shows up, but just before the login screen it says that the filesystem could not be mounted.
Is there a way I can fix this? And how do I prevent windows from doing the same in the future?
How can I see all the physical hard drives on my Ubuntu system — regardless of whether they're mounted — as well as their partition info, sizes, &c.? I have three physical drives, but only one seems to be mounted. I'd like to mount the other ones too, as I have some data on them.
I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.
But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.
I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition
Code: /dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02 and I use the tune2fs to set the maximum mount count to 32. Code: tune2fs -c 32 /dev/sdb
now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.
Every time I mount one partition manually as read write it works fine for a couple of minutes before reverting to read only. It still appears as read-write when I list the mounted directories but won't let me write to it. I have tried unmounting and remounting it, but after a few minutes it always ends up as read-only again.
$ mount /dev/sda3 on /scratch type ext3 (rw) $ mkdir /scratch/file
I am sharing directories using NFS.so one machine mounted those locations (Server). so i need to get what are the machine which successfully mounted (IP address of mounted locations). At the boot time server mount the remote location.but i want to get what are the successfully mounted location into text file.