Ubuntu :: Script For Unmount Devices?

Sep 8, 2010

basic script on unmounting devices, as that option was removed in Ubuntu Lucid?I'm aware I can possibly recompile the nautilus source and all that, but I think a much easier method would be to just add a script for such. Something basic, like this, but that includes ALL devices that can be unmounted (such as flash drives, external hard drive, and sd/xd cards), not just disc drives. Pretty much what the right click 'Unmount' option in nautilus used to be like:

Code:
#!/bin/bash
sudo umount /dev/sr0

View 9 Replies


ADVERTISEMENT

CentOS 5 Hardware :: SW RAID - Raid Devices Larger Than Total Devices

Dec 7, 2010

I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried

mdadm /dev/md2 -r failed
mdadm /dev/md2 -r detached

but neither work and since there is no block device listed I'm not quite sure how to get things back in sync so it's only seeing the three drives.

/dev/md2:
Version : 0.90
Creation Time : Tue May 25 11:07:04 2010
Raid Level : raid5

[code]....

View 8 Replies View Related

Ubuntu :: K3B Saying Cannot Unmount The CD?

Sep 5, 2010

I have gone senile but what happened to the Unmount option when I right click on a Desktop CD icon in 10.04? I only wanted to make an ISO image and K3B says it cannot unmount the CD. I don't want to Eject it. I have a clever idea! I will add Mount Manager to the panel. Mount Manager should be called Eject Manager because that is all it does!! Even Krusader seems to have lost its ability to unmount a device.

View 9 Replies View Related

Ubuntu :: Can't Eject Or Unmount DVD?

Feb 13, 2010

I am in the middle of copying a dvd with k9copy and it is asking me to insert a recordable dvd.so i try to eject and it won't let me, it says failed to eject media one or more volumes are in use. There is nothing else using the disc so I don't get it?

View 3 Replies View Related

Ubuntu :: Can't Unmount ISO File?

Feb 20, 2010

I mounted an ISO file with the default ISO mounter and when i tried browsing a certain directory, it froze so now I'm trying to unmount and i'm getting this error.

Code: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

View 2 Replies View Related

Ubuntu :: Unmount Creative Zen Via Terminal

Feb 15, 2010

I want to unmount my creative zen music player via the terminal so I don't have to right-click the symbol and click unmount.

It is not mounted under /media like my ipod so I don't know how.

When I select it in nautilus the path is listed as gphoto2://[usb:002,004]/

View 1 Replies View Related

Ubuntu :: Unable To Unmount Iphone

Jun 26, 2010

DBus error org.freedesktop.DBus.Error.UnknownMethod: Method "Unmount" with signature "sou" on interface "org.gtk.vfs.Mount" doesn't exist

View 1 Replies View Related

Ubuntu :: Cannot Unmount / Error Saying It's In Use By Another Application?

Aug 19, 2010

I installed KDE 4.4 through Ubuntu's repos and then upgraded to 4.5 via backport PPA. I am unable to unmount any USB device. It keeps saying it's in use by another application. Even if I plug it in and do nothing, but then try to unmount, it gives me this error?

View 6 Replies View Related

Ubuntu :: Can't Unmount Partition For Repair?

Jan 4, 2011

After reboot I saw this communication:Quote:Target filesystem doesn't have requested /sbin/init.No init found. Try passing init= bootarg.and I can't shutdown the system normally because it stops (live cd too).Then I can't repair this partition because it is always busy.

View 2 Replies View Related

Ubuntu :: Permanently Unmount A Drive?

Jul 7, 2011

I'm running both Ubuntu 11.04 and Windows XP Home Edition. I have my hard drive partitioned with 90 GB for Windows and 60 GB for Ubuntu. Here's the problem: When I booted up Ubuntu for the first time, the Windows file system appeared as a second HDD. My dad told me that I need to make it so that drive doesn't appear or be read only or else he will be uninstalling Ubuntu because of the risk that some program will write to the Windows file system. I personally am not worried about that happening, but he clearly is. Remember, I'm brand new to Linux so please make things simple for me to under stand!

View 9 Replies View Related

Ubuntu :: Cannot Unmount USB Flash Drive

Sep 5, 2009

I've recently purchased a 4gb "ultra speed" flash drive. It reads and writes just fine on both my laptop and desktop. Both of which are running Ubuntu 9.04. However, when I go to unmount the drive from my desktop system, the drive icon on the desktop disappears, but it remains in the "media - File Browser".

There is one change in the file browser though. When I unmount the drive, the "eject" symbol disappears from next to the drive in the "media - File Browser" but the drive icon itself remains. The light never extinguishes on the USB drive, and when I click on the icon that remains in the File Browser, the USB drive mounts itself again and reappears on my desktop and the eject symbol reappears in the File Browser.This drive unmounts just fine from my laptop.

Code:

Bus 002 Device 002: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive

[code]....

View 1 Replies View Related

Ubuntu Servers :: Mounted NFS Share Will Not Unmount?

Jan 8, 2010

We have a server running Hardy. I configured it as an NFS client and mounted a share. The NFS server is remote and accessed through TCP only (no UDP allowed through the firewall). Now I've mounted it, though, I can't unmount it!

Code:
david@scatha $ mount | grep nfs
example.com:/home/david on /mnt/tmp type nfs (rw,tcp,addr=123.123.123.123)
Now when I try to unmount it:

[Code]...

View 4 Replies View Related

Ubuntu :: Unable To Mount / Unmount Partition In 10.04

Mar 1, 2010

I am unable to mount partition in ubuntu 10.04. Icons for different partitions are not coming within "Places". Every time I have to manually mount the partition or CD or DVD and manually unmount it. Seldom it shows the partition icons within Places>Computer. Then the partitions are getting mounted upon double clicking its partition-icon. But I fail to unmount the partition as it throws the error "media/partition_name is not in the fstab (and you are not root)."

View 9 Replies View Related

Ubuntu Servers :: Automatic Unmount On Reboot?

Apr 1, 2010

I have a problem while rebooting my 9.10 server when I have SAN partition mounted. The message is something about the swap that can not be cleaned during the process. All works if I unmount the partitions before shutting down or rebooting.So I though to create a bash script that unmounts the parts during runlevel 0 and 6.I've created a simple script like this in /etc/init.d:

#!/bin/bash
umount /mnt/xxx
and the I've done:

[code]....

View 7 Replies View Related

Ubuntu :: Unmount/hide Unwanted Partitions?

Apr 20, 2010

I have a number of partitions in my Places menu that refer to either System Reserved or NTFS partitions which I have no interest in accessing and would just like to unmount/hide.

View 1 Replies View Related

Ubuntu :: Unable To Unmount Usb Drives When Not Root

May 2, 2010

After upgrading from 9.10 to 10.04 I am unable to unmount usb drives when I'm not root. Every time I have to type "sudo umount /media/... " and give my password. When I right click the drive and click unmount, I get the following message:
Unable to unmount disk1 unmount: /media/disk1 not is not in the fstab (and you are not root)

View 9 Replies View Related

Ubuntu :: Using BASH Script To Unmount A Volume?

Jun 3, 2010

As part of a script for imaging floppy disks on a Mac, I am trying to unmount the volume located at /dev/disk1

In my script I put--
#!/bin/sh
echo "This should unmount the external floppy drive."
sudo umount /dev/disk1

But I get an error--
umount: /dev/disk1
: not currently mounted

I also tried excluding the "sudo" with the same result. Any ideas where the " is coming from or what else might be the problem?

sudo umount /dev/disk1 works when I use it in the command line, but as a long term solution I need it in my script if possible.

View 4 Replies View Related

Ubuntu :: Can't Unmount External Hard Drive

Jun 17, 2010

I have an external hard drive which connects to a usb port. until recently i could unmount it by right clicking on the desktop icon and selecting unmount. now when i try that it tells me that i can't because the device is not in fstab and i am not the root. i checked mtab and it had this line '/dev/sdb1 /media/usb0 msdos rw,noexec,nodev,nosuid 0 0' i changed that to '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' thinking that would fix it, but it didn't. i unmounted using 'sudo umount /media/usb0' and restarted my computer and now the line in mtab reads '/dev/sdb1 /media/usb0 vfat rw,noexec,nodev,sync,noatime,nodiratime 0 0' and i still can't unmount without using the sudo umount command. i also tried adding '/dev/sdb1 /media/usb0 msdos user,rw,noexec,nodev,nosuid 0 0' to fstab and that didn't help

View 2 Replies View Related

Ubuntu Installation :: Unmount Drive To Upgrade HDD?

Aug 4, 2010

I have a 160GB drive installed as /dev/sdb. If I replace it with a 500GB drive, do I have to unmount/mount or will it work as is? This is on Ubuntu Server.

View 1 Replies View Related

Ubuntu Servers :: Unmount Of /dev/nbd0 Failed?

Oct 24, 2010

After in-place upgrade from 9.10 to 10.04, the message

Code:
Unmount of /dev/nbd0 failed
appears on the console at shutdown, with a warning that data may be lost, and followed by a 10 second countdown, after which shutdown continues normally.
Syslog shows this one line at each boot:

Code:
Oct 23 10:04:16 m2a74am kernel: [ 1.203334] nbd: registered device at major 43
Nothing gets mounted explicitly at /dev/nbd0, so I am puzzled about the error message on shutdown.

View 1 Replies View Related

Ubuntu :: Unmount And Hide Windows Partition

Jan 9, 2011

When running linux (Lubuntu 10.04) my windows partition mounts automatically and can be opened and edited in file manager. Is there any way I can prevent it mounting when linux launches, prevent it from being mounted in linux, and (ideally) prevent it from being displayed/opened/edited at all from linux?(In case it's relevant:

Code:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 1 Replies View Related

Ubuntu :: Lubuntu: How To Unmount External Drives

Jan 17, 2011

How do you unmount for safe removal external drives (such as USB sticks) in Lubuntu? In Nautilus (Ubuntu) under the File menu there are options Eject and Safely Remove Drive; but in Lubuntu I can't find anything like that.

I am using Lubuntu 10.10.

View 2 Replies View Related

Ubuntu :: How To Eject Ipod With Kubuntu (not Unmount)

Feb 9, 2011

I have an ipod shuffle that will only charge if I eject it. This is easy to do with Ubuntu as I only have to right click on the ipod icon and select "eject." If I select unmount instead, the ipod does not charge. I am now trying out kde 4.6 with Kubuntu, but cannot see a way to eject. There is an option to safely remove the ipod, but this does not correspond to the eject option in Ubuntu as the ipod does not subsequently charge.

View 6 Replies View Related

Ubuntu :: Fai To Unmount / Some Drives In System That Appear To Be Always Mounted?

Feb 18, 2011

there are some drives in my system that appear to be always mounted (were at some point) that I cannot get rid of - i checked fstab, and do not appear there - 2 are related with the use of truecrypt, and 1 is from an exernal HD

I use Maverick 10.10 x64

View 3 Replies View Related

Ubuntu :: Unmount Main HDD For FSArchiver Restore?

Mar 15, 2011

I need to unmount my primary partition /dev/sda1/ to perform a FSArchiver restore, however when I try to umount the partition it tells me I can't unmount a partition that is in use, how do I fix this?

Code:
fsarchiver restfs /mnt/backup/gentoo-rootfs.fsa id=0,dest=/dev/sda1

View 2 Replies View Related

Ubuntu :: Usb Hard Drive Is Unmount After Few Minutes?

May 24, 2011

I am having this problem. I use an external usb hard drive with my pc running on ubuntu 11.04, If I keep the hard drive idle for a few minutes, ubuntu unmounts it. I suspect there are some options for this, so I looked into the Power Management section, but found nothing that can solve the problem.

View 1 Replies View Related

Ubuntu :: Unable To Unmount The Ntfs Disk

Jun 27, 2011

I have just bought a WD USB disk and (of course) it is formatted in NTFS and I want to reformat it to ext3. But Gparted can't unmount it, I get the info:

Unable to find mount point
Unable to read the contents of this file system!

Because of this some operations may be unavailable. The following list of software packages is required for ntfs file system support:

ntfsprogrs. But ntfsprogrs is already installed on my Ubuntu (Natty) system! How can I reformat that disk?

View 7 Replies View Related

Ubuntu :: Unmount & Mount Drives Using Ntfs 3g?

Sep 20, 2009

i use Ntfs 3g for auto mounting my windows partition. but for some reason i want to get it unmounted on boot.but when i get into the NTFS config tool i cant figure that out.

View 2 Replies View Related

Ubuntu :: OpenOffice Locks Pendrive - Can't Unmount

Apr 21, 2010

When I have several documents open in OpenOffice.org and save one of them to my Pen/Flash drive, and then try to unmount, it won't let me. It says an OpenOffice document is using the drive. Here is the problem: The document refers to isn't the one I just saved to the Pendrive. It's a document saved on my Hard Drive! I close it (which should not be necessary) and try unmounting again. Now it tells me to close the document saved on the Pendrive.

I don't understand why I need to close ALL Openoffice documents to unmount the drive. Not sure if this is a bug in OpenOffice or in Ubuntu. Either way it's annoying and is a complete waste of time to be messing around with closing and opening documents every time I want to unmount an external drive.I have tested this on various computers all running Ubuntu 9.10, with both Gnome and LXDE. Same results. Ubuntu, I hate you!

View 3 Replies View Related

Ubuntu Installation :: Unmount Part Error In 11.04 Install

Mar 15, 2010

I ran the ubuntu 11.04 live CD on my laptop that had an earlier version of ubuntu (9 maybe??). I really liked what I saw so I used the Install ubuntu 11.04 wizard and chose the option to override the earlier version. During the 'Importing document and settings' step a pop-up entitled Failed to unmount partitions. the body stated: migration-assistant needs to mount a partition, but cannot do so because the following mount partition could not be unmounted:

/dev/sda1

The only app showing on the taskbar is the Install. this is running from the live CD.

View 9 Replies View Related







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