apt-get upgrade spins up idle drives

Bug #641426 reported by SJI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: apt

apt 0.7.25.3ubuntu9.3 for amd64 compiled on Sep 9 2010 22:31:26
Linux cobalt 2.6.32-24-server #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC 2010 x86_64 GNU/Linux
Description: Ubuntu 10.04.1 LTS
Release: 10.04

apt-get upgrade seems to spin up idle drives unnecessarily.

In a two drive machine where sda is system and sdb is an idle data drive:

apt-get update will update the necessary files and leaves sbd spun down.

apt-get upgrade upgrades files on sda but also spins up sdb even though no updated files reside on sdb.

I would only expect sbd to spin up if data needed to to updated on sdb

Tags: lucid
Revision history for this message
Philip Muškovac (yofel) wrote :

Can you please give an example package where this happens? A case that I remember would be updates of grub or the kernel where update-grub re-scans all drives, but that's intentional.

tags: added: lucid
Changed in apt (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
SJI (sji) wrote :

Before running apt-get update and upgrade sdb was idle.

Output of hdparm -C /dev/sbd shown before and after apt-get update and upgrade in text file.

Revision history for this message
Philip Muškovac (yofel) wrote :

Thanks, that should be enough to have someone look at it.

Changed in apt (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Support for this version has ended

Changed in apt (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.