| | |
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 |
amazon amd applications asus atom audio babbage blackberry blind bluray broadband camera canon cellphone censorship ces china chips chipset computers data dell development digitalcamera dvd ebook eeepc environment epson europe fashion flexibleworking free freedom fsc gadget gaming gps gpu graphics handset hardware hddvd history homeworking hp ibm intel japan ladies laptop law linux markets memory mobile motoring museum netbook news nintendo nokia notebook nvidia nvidiago7600 opensource overclocking patents pc peripherals photography politics printer processor ps4 quadcore recycle replication report reviews robot satnav screenflicker sgi simpsons smartphone sony speed spot startrek stephenfry supercomputing technology top10 toshiba tv ubuntu usb workstation xbox





