| | |
Unmounting portable HDD
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 179
Reputation:
Solved Threads: 2
Hi all
I just bought an external 60GB HDD I cant say what brand name as it doesn't have one written on it.
I know there are problems unmounting HDD's and then they do not spin down and I am having the same problem.
It is in /dev/sdc and the ntfs partition is in sdc1
I mount it in /media/portablehdd
I have tried the following script to unmount and spindown the drive and the script runs but the drive remains on with lights and spinning.
But the drive still keeps spinning. Can someone please help me as I am getting worried about just pulling the drive out and possibly losing data.
Many thanks
HLA91
I just bought an external 60GB HDD I cant say what brand name as it doesn't have one written on it.
I know there are problems unmounting HDD's and then they do not spin down and I am having the same problem.
It is in /dev/sdc and the ntfs partition is in sdc1
I mount it in /media/portablehdd
I have tried the following script to unmount and spindown the drive and the script runs but the drive remains on with lights and spinning.
#!/bin/sh pumount /dev/sdc1 #wait for mtab to be updated sleep 3 #we search an occurency of our harddrive in mtab UMOUNT=`grep '/dev/sdc1' /etc/mtab | wc -c` if [ $UMOUNT -eq 0 ] then #we sync the harddrive sdparm --command=sync /dev/sdc1 #we can spindown the hardrive sdparm --command=stop /dev/sdc1 zenity --info --title="Info" --text="You can unplug your Hardrive !" else zenity --error --title="Info" --text="It seems your harddrive isn't unmounted , unmount it then try again" fi
Many thanks
HLA91
You know your a geek, if you introduce your wife as "mylady@home.wife"
assuming this is desktop edition, there should be an eject icon next to the device in the file explorer (can't remember what it is called). whenever i used my portable hdd with ubuntu 9.04 i used this, and it hasn't lost data.
hope that helps.
hope that helps.
![]() |
Similar Threads
- USB Device not recognized (Storage)
- Portable Harddrive running games Help (Storage)
- Cannot make a folder private (Windows NT / 2000 / XP)
- how do i reinstall win98 from XP without losing my data (Windows 95 / 98 / Me)
- Need driver for Toshiba MK8025GAS HDD (Storage)
- USB for HDD? (USB Devices and other Peripherals)
- .cab files? drivers? ('MOSMP028'- ministry of sound mp3 player) (Windows 95 / 98 / Me)
- windows wont detect 250gb external USB HDD (Storage)
Other Threads in the *nix Hardware Configuration Forum
- Previous Thread: linux partitioning
- Next Thread: Touchpad from Elantech not working on ubuntu 9
| Thread Tools | Search this Thread |
360 acer amd applications asus audio blind bluray canon cellphone censorship centrino china chips chipset computers console data dell development digitalcamera dvd eeepc environment europe fashion flexibleworking free freedom fsc gadget gaming gps gpu graphics handset hardware hd hddvd history homersimpson homeworking hp ibm intel japan keyboardpc kindle ladies laptop law linux markets microsoft mobile museum netbook news nintendo nokia notebook nvidia nvidiago7600 opensource overclocking patents pc peripherals photography playstation politics printer printing processor quadcore quake replication reviews rim robot satnav screenflicker sgi smartphone sony speed spot startrek stephenfry supercomputing technology tomtom top10 toshiba tv ubuntu usb wireless workstation x-rayspecs





