← Back to team overview

kernel-packages team mailing list archive

[Bug 117713] Re: WD external drives need to be spun down, "sdparm --command=stop" doesn't work any more

 

[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, "sdparm --command=stop"
  doesn't work any more

Status in linux package in Ubuntu:
  Expired

Bug description:
  Try to dismount a USB external Western digital passport harddrive , it
  will be ok but the cylinders will be still rotating , then if you
  unplug your hardrrive it'll do a strange noise like a violent hard
  drive parking. ( in Microsoft windows the eject the device safely
  option stop the heads ) at the moment the only solution to stop
  properly the hard drive is tu use sdparm , here is the script :

  #!/bin/sh
  WD=/dev/sdb1
  sudo umount $WD
  if [ $? -eq 0 ]
  then
  	echo Stopping heads
          #Stop properly the heads and cylinders
  	sdparm --command=stop $WD 
  else
  	echo Unmount Failed !
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions