Monday, June 30, 2014

Manage Lenovo Ultrabay

I have a Lenovo laptop which features an Ultrabay. By default it contains DVD drive, but that one can be replaced with an extra battery or 2nd HDD in special enclosure. I've did just that and put DVD drive into external USB enclosure. Now I can have a 2nd hard-drive and since SATA supports hotplug I can pretty quickly dock/undock it and exchange in case of a need.

Basically I need to be able to:

  • undock on request (sync, umountall, remove device)
  • place to standby mode (spindown in case of rotational disk)

So I have:

bay
bay-standby -> bay
bay-undock -> bay
where 'bay' goes like this.