General :: Mounted Loop Device Prevents Proper Shutdown

May 4, 2011

I've recently started using Linux Mint (version 10) on a Dell Mini 1012 netbook. I'm using a loop device to mount a file on a NAS but whenever this loop device is mounted and has been accessed, my machine fails to shutdown.

Firstly I mount a share on the NAS using cifs (the NAS is aimed at Windows machines so doesn't support NFS). I have a sparse file on the share (which I created using Cygwin in Windows, using the dd command).

I used losetup to create a loop device and formatted it as reiserfs.This works and I can successfully use the mount point. I'm using it with Backintime.If I try to shutdown my machine without unmounting the loop device, shutdown hangs.

These messages just keep repeating and the system never shuts down.So I assume the problem is something to do with unmounting the CIFS/loop device.If I unmount the loop device all is fine. I don't need to unmount the cifs share.Any ideas on how to resolve? Should I add a script to run during shutdown (i.e linked from /etc/rc0.d and /etc/rc6.d) to sync and unmount the loop device? Or is there a better solution?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Loop Device Error When Shutdown Since Upgrade To 9.10

Apr 6, 2010

When I shutdown, I have a black screen with a message of I/O error, loop device... And the computer doesn't complete to shut down. This problem appear since I upgrade to ubuntu 9.10.

View 1 Replies View Related

Ubuntu :: OpenOffice.org Quickstarter Prevents Shutdown?

Jun 18, 2010

Since installing Lucid, I find that the shutdown button doesn't work (does nothing) if the OpenOffice.org quickstarter is running. To shutdown I either have to kill the quickstarter or run shutdown manually from a terminal window. Hibernation doesn't work either, although suspension does.

View 7 Replies View Related

Slackware :: Telinit 4 - Kdm - Open Console Session Prevents Shutdown - 64 13.37

Jun 4, 2011

I have a question regarding runlevels, shutdown procedure and KDM. I am on a freshly installed Slackware64 13.37 multilib system. The default runlevel in /etc/inittab is set to 3: multiuser w/o X.

Now, I log in as root and issue the command:

Code:

As expected, KDM starts up, and I log in to KDE (or another WM/DE) as a normal users. When I am finished, I either issues

Code:

In Konsole or click on Shutdown in the KDE menu. The shutdown process is initiated, as expected, but then it stops, and a window alerts me, that there is a session open by user 'root'. If I click OK, the machine is finally shut down.

Now, if I interpret this correctly, the behaviour of Slackware64 13.37 has changed here, compared to 13.1. In previous versions, the root seesion was closed, when I changed the runlevel to 4 with the telinit command. Now, the session remains open, obviously.

My question is: Is this the correct behaviour, and isn't this a security whole? An unnoticed (!) open root session while I am surfing the web as an unprivileged user in KDE could be dangerous, I think...

Is it misconfiguration in my system, or is this the way it should be?

View 2 Replies View Related

Ubuntu :: Bug: Ndiswrapper Prevents Mounting Of New USB Device Types?

Aug 24, 2010

I recently noticed a bug with ndiswrapper in Ubuntu 10.4 which would prevent the mounting of new USB device classes. This bug has been noticed somewhere else, in particular in at least one older Ubuntu version, but has been carried over. This doesn't seem to be widely discussed, or the solution worked anecdotally, but the problem is actually more general in nature. At the moment I found a workaround that always works, but I don't have a permanent fix.

The problem kicks in only after ndiswrapper module is loaded into the kernel. Devices of the same USB *types* that were recognized *before* ndiswrapper is loaded will continue to work. For example, an USB memory stick will be mounted fine if an USB hard disk had already been used at some point before ndiswrapper was loaded. However, if one plugs in any other new type of device, for example, an USB mouse, after ndiswrapper is loaded, the new USB device will not be mounted. The workaround solution is to disable ndiswrapper before introducing a new type of USB device by doing:sudo modprobe -r ndiswrapper

Then, plug in the USB device. After it is successfully mounted, do: sudo modprobe ndiswrapper

The corollary is that if ndiswrapper is loaded into the kernel upon boot-up, only USB devices which were present at the boot stage will be recognized. But performing the above kludge will allow new devices to be recognized.It'd be nice if someone can come up with a more elegant fix.

View 3 Replies View Related

General :: Ubuntu - Find The Device Associated With A Mounted USB Drive?

Jun 23, 2010

How do you find the device (e.g. /dev/*) for a mounted USB drive in Linux (Ubuntu 10.04)? I'm trying to format a Cruzer USB flash drive, and when I plug it in, the icon for the mounted filesystem appears on my desktop. However, when I open GParted, it doesn't list the filesystem as an option to partition.

The recommendations I've found through Google include monitoring tail -f /var/log/messages, which they claim should list the device name when the drive is mounted, but this never happens for me. I've also read that the USB drive would usually be linked to /dev/sdb, but this appears as a broken link on my filesystem. How else would I find the device?

View 3 Replies View Related

CentOS 5 Server :: NFS Mount Of Loop Mounted ISO's Showing No Files

Jul 16, 2009

I'm having a problem accessing files via nfs where an iso has been mounted through the loop device on the nfs server. Basically what I am attempting to do is access the 6 CentOS 5.2 ISO's via NFS from one of my client machines. The client is able to mount the share and see its sub directories leading up to the mount point of the ISO, but the contents of the mounted ISO image are simply not visible (on the client, they are visible on the server).

Server config (CentOS 5):

/etc/fstab:
/home/user/iso/CentOS-5.2-x86_64-bin-1of7.iso /exportiso/centos/x64/5.2/disc1 iso9660 defaults,loop 0 0

[code].....

NFS is working correctly for other mounts between these two boxes, however.

View 1 Replies View Related

Ubuntu :: Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key

Apr 16, 2011

Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.

All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.

View 9 Replies View Related

Ubuntu Networking :: NFS Mounting With Fstab > Loop On Shutdown

May 20, 2010

I have this configuration on my Ubuntu server:

1. Physical HDD1, mounted in /media/MYDATA
2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES

This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!

But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.

View 1 Replies View Related

Ubuntu :: Mounted Drives (USB) At Shutdown

Mar 15, 2010

OK got a couple of external USB hard drives and my mp3 player that are fairly often connected to my laptop. When updating the files on my mp3 player the other day I noticed something that seemed weird.After deletion of files there is same amount on the disk. After ejecting and reinserting things are still the same. To have the files correctly updated I have to Unmount the drive, then I see it flushing the .Trashes folder and actually freeing space on the drive.

Now the same thing seems to happen at Shutdown of the PC, files are not being updated and are still being seen by the mp3 player/hard drive. Think new files are being seen but old one not removed but not 100% sure.Is there anything I can do to force Ubuntu to correctly Unmount all drive at Shutdown so I don't have to do each one manually first? Or is there something else I am missing?

View 2 Replies View Related

Fedora Installation :: Reboot And Select Proper Boot Device?

Apr 16, 2010

I tried to install F12 on my new IDE-HDD. The installation completed without any errors. But, when rebooting my PC I got a dark screen with error message: reboot and select proper boot device.

No BIOS boot up issue, since booting up using other hard disk running windows has no problem at all. I have set the hardisk jumper to master/primary, tried to re-install F12 a couples of time, but didn't make any difference.

View 2 Replies View Related

Ubuntu Installation :: Error - Reboot And Select Proper Device

Jun 14, 2011

I've been trying since ever to install the new ubuntu on my FakeRaid controller and I'm really starting to get frustrated. After restarting, i get the message "reboot and select proper device.." So my first tough was that my grub was not installed properly. So i ran the boot_info_script.sh that I found in the forum and here is my output. It says that the boot loader is not installed and my Raid is screwed up. I went look in the BIOS and everything looks fine. Ive put the result.TXT from the script.

Quote:

Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of
/dev/mapper/ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 000.
ddf1_00000000000000004b1ba2914b1ba291f5010000f5010 0001: ________________________

[code]....

View 2 Replies View Related

General :: For Loop Or While Loop To Read The Fields Of A File?

Sep 1, 2010

I have a mytext file with month and year as two separate fields. likemytext fil

08 2010
09 2010
10 2010
........
........
........

I want to read the values of each field i.e., month and year into an awk script.

View 10 Replies View Related

Fedora :: F13: Increase The Number Of Loop Device

Sep 17, 2010

In previous Fedora, we may add the following line to /etc/modprobe.conf

options loop max_loop=64

to increase the loop devices to 64.

However, this method no longer works in Fedora 13.

May I know how to increase loop devices in Fedora 13?

View 2 Replies View Related

SUSE / Novell :: Display Filename Rather Than Loop Device?

Mar 17, 2010

I have an iso image I'm mounting-

# mount -o loop /root/image.iso /media/cdrom in SLES10 (and SLES9), "mount" displays the name of the iso file:
# mount
...
/root/image.iso on /media/cdrom type iso9660 (rw,loop=/dev/loop0)

However, in SLES11, "mount" now displays the loop device rather than the filename:

# mount
...
/dev/loop0 on /media/cdrom type iso9660 (rw)

This is somewhat less than useful. Is there any way to display the filename rather than the loop device?

View 4 Replies View Related

Ubuntu :: Mounted Device Not Showing Up On Desktop

Feb 17, 2011

I have two external hard drives mounted to my computer. They both work and are accessible. The one shows up on my desktop when it is mounted just fine. The other one does not. I went in to Configuration editor-apps-nautilus-desktop and checked the volumes_visible. That makes the other one not visible/visible but not the one I am having problems with. I read somewhere that devices must be named for it to show up and both devices are named, I even changed the name and that didn't do anything. Again, this device shows up in my computer but not on my desktop like all my other devices do. If anyone has any ideas on how I can get this external hard drive to show up.

View 1 Replies View Related

Debian Configuration :: Safely Removing Mounted USB Device

Jan 7, 2011

I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.

View 2 Replies View Related

Ubuntu :: Mounted Device / Drive Icon On Desktop

Feb 8, 2011

I've some icons of mounted devices on my desktop. I want to display only some of them which I need. All drives are mounted automatically while booting or by scripts while logging in.For example: I've 4 mounted devices and 4 icons on my desktop and I want to have 4 mounted devices but only 2 icons.There is possibility of hiding all of icons in gconf, but I want to hide only some of them.Is it possible?

View 4 Replies View Related

Slackware :: Check If Device Is Mounted In A Bash Script?

Aug 1, 2010

Writing a bash script and I need to check if a known HD partition is mounted or not. I do not think /etc/mtab is the place to check. Would /proc/mounts always work? To make it simple like this : cat /proc/mounts | grep /dev/sdb2

View 5 Replies View Related

OpenSUSE Hardware :: USB Weirdness - Mounted External Drive Changes Device IDs

Jun 5, 2010

[openSUSE 11.1, kernel 2.6.27.45-0.1-Default, Gnome 2.26.3] I have a problem where I have an external USB drive which mounts at boot, with /home aboard it along with several data-only partitions, and if I try to add another USB drive *after* boot, the system changes the device IDs previously given to the original drive. The already running sdb now becomes sdc. If a user or processes are attached to /home when this occurs they are left in the twilight zone and stuff starts crashing. An added weirdness is the newly added drive isn't stealing the sdb ID, the added drive becomes sdd instead, and nothing at all is left at the sdb ID.

Note:

- System boots from sda, a non-USB drive with the system as well as /swap onboard, that should be uninvolved with the problem.

- Among the 4 partitions of the boot-mounted USB drive there are 2 lux-encrypted partitions (ext3). One is /home (originally encrypted under 10.3 and added back after machine upgraded to 11.1) and another being a data directory (later encrypted under 11.1).

- The problem _may_ occur only when the additional added drive is also lux-encrypted, but this may or may not be always true as I have limited other USB stuff to test with, most of it is also lux-encrypted.

View 1 Replies View Related

Networking :: Export A Raw Device Through NFS/CIFS To Be Mounted At Remote Location?

Nov 17, 2010

Can we export a raw device through NFS/CIFS to be mounted at remote location?

View 2 Replies View Related

Hardware :: Shutdown A USB Device (pen Drive) From A Console?

Sep 26, 2010

The umount command sync and release the USB device (pen drive or external HD) from the filesystem, but does not shutdown it, like Nautilus does with the safe remove. How can i properly shutdown it from the command line?

View 7 Replies View Related

General :: Busybox/Initramfs Prevents Launch Of Ubuntu Server 8.04.3?

Sep 27, 2009

Prior to posting this I entered search arguments, "Busybox," then "initramfs" to attempt to find another user who may have experienced the same thing; if the solution is imbedded in the message threads, I must have missed it. On hand is a Ubuntu Server 8.04.3 installer CD. What works: Installs to a Mac Pro under both Parallels, and then under Fusion both were successful first try.

Install to a newly purchased 2 gig Acer Aspire One seems to have succeeded, but upon launching from Grub, Busybox/initramfs intercepts and halts the launch with an error I don't understand:

Starting up ...
Loading, please wait ...
Check root = bootary cat /proc/cmdline

[code]....

The new Acer-PC Aspire One was partitioned into four 80 gig partitions using the Paragon software to do the partitioning. XP is on the first, and Ubuntu Server on the next 80 gig partition. Install was "successfully" done from a Lite-On external CD/DVD over USB.

During the install I changed the default name from Ubuntu to something else (probably a bad idea), and I naively entered "/" root to answer the mount question (finding nothing to tell me what to do). Ubuntu required a disk driver choice from a long list - finding no reference or guidance as to what to enter, I naively entered IDE Generic, and it took (I guess it "took").

FWIW the Ubuntu installer didn't require me to indentify the mount entry or the disk driver during installs on my Mac (Fusion/Parallels).I did connect the Internet during the install. I did checkoff/install LAMP during the install from CD. Goal: To use Joomla in a mock server environment.

View 3 Replies View Related

General :: Locate Shutdown Log For Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE)

Apr 22, 2010

I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.

I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.

I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.

That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.

View 2 Replies View Related

Ubuntu Installation :: Grub Rescue Mode - Error: Cannot Find A Device For /boot/grub (is /dev Mounted?)

Dec 16, 2010

I updated yesterday and now when I start my laptop it goes in to grub rescue mode. I have booted from a 'live cd' and thought I could repair grub from there. In gparted however the partition with ubuntu (sda1) is seen as unknown file system, in terminal when I list the partition table it shows up as FAT16 type. When I try a grub-install it gives this error message:

[Code]....

View 9 Replies View Related

Server :: CIFS Mounted Multiple Times / Error "Device Or Resource Busy"?

Feb 10, 2011

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.

View 6 Replies View Related

Slackware :: "Failed To Eject "VZAccess Manager Device To Unmount Is Not In /media/.hal-mtab So It Is Not Mounted By HAL"

Jul 12, 2010

I am running slackware-current and using the Novatel usb760 3G modem. before i use kppp to "dial out" I have to eject the device. It works fine except that i periodically get a popup window with:

"Failed to eject "VZAccess Manager Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL."

it happens every 30 minutes to every 10 seconds. anyone ever experience something like this?

View 1 Replies View Related

General :: Proper Procedure To Log Into Console?

Jul 25, 2011

Decided to try to use my console but it didn't work the way I thought it would. What is the proper procedure to log into my console? I've tried to enter data given to me at http://www.zaphu.com/2008/05/30/ubun...-m4a-playback/ It entered the first line of text but not the unwrapped second line. Another line appeared asking my 'neil' login. Tried to enter my password but typed letters wouldn't enter. What do I do?

View 14 Replies View Related

General :: Proper Procedure For Installing Into / Usr / Local?

Feb 14, 2010

I was under the impression that if I have any programs not installed by the package manager, they belong in /usr/local rather than /usr. But if I put the executable in /usr/local/bin, and the jar files into /usr/ local /lib, I get runtime errors about being unable to load the Java classes. So I resorted to putting things in /usr/bin and /usr/lib and it worked fine.Is this something that can only be corrected by compiling differently, or am I missing an installation step?

View 2 Replies View Related

General :: How To Find Proper Codec For Xubuntu

May 20, 2010

I have just installed the Xubuntu. And I feel that to use it play a mp3 is like kill myself twice.

I try to play it with Exaile, the boxed player with Xbuntu. But it says I need to install some mpeg codecs.

I found so many depends with sudo apt-cache depends.

How to install them? one by one?!

View 1 Replies View Related







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