Ubuntu 10.04 Desktop: safely removing ext hdd
Cannot safely remove Western Digital 2TB ext hdd. When I right click on drive to unmount, it says: "Unable to stop drive, This file cannot be stopped" Anyone know how to unmount, maybe using the terminal??
Thanks. -gustav521 |
Is it the drive containing OS?
|
If the 2TB drive does not contain the OS, there may be some program that is accessing files on the drive. You may need to stop that program first so you can then unmount the drive.
Have you tried unmounting the drive with the umount command? You may need to use sudo for this depending on the permissions for the drive. If you still have problems, post the output of Code:
sudo fdisk -l |
Hello everyone! I now remember that I was coping files to this ext hdd, when I inadvertently turned off the main pc! The ext hdd was still working at that time. How do I find the process accessing the hdd and turn it off?? Thank you! -gustav521
|
Here is the output using mount:
~$ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type devtmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/william/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=william) /dev/sdb1 on /media/Elements type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) and using sudo fdisk -l : Disk /dev/sda: 251.0 GB, 251000193024 bytes 255 heads, 63 sectors/track, 30515 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000357c0 Device Boot Start End Blocks Id System /dev/sda1 * 1 30166 242304000 83 Linux /dev/sda2 30166 30516 2810881 5 Extended /dev/sda5 30166 30516 2810880 82 Linux swap / Solaris Disk /dev/sdb: 2000.4 GB, 2000396746752 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00020fc3 Device Boot Start End Blocks Id System /dev/sdb1 1 243202 1953511424 7 HPFS/NTFS What can I do?? Thank you! -gustav521 |
I have now used: sudo umount /dev/sdb1 ,but does that properly umount the drive?? Thank you -gustav521
|
I believe that should do it.
|
Thank you "EDDY1", "tommcd", and "widget" for all your help! That
solves the problem! Next, I will try to compile audacity 1.2.6 for Ubuntu 10.04 via a new tread. Hope you can help there! Thank you. -gustav521 |
All times are GMT -5. The time now is 10:01 PM. |