|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I use a couple of LVM volumes on a MD RAID1 array for backup. These volumes are rarely accessed, so I use hdparm to switch the RAID disks into standby mode. I noticed that the disks are forced to spin up whenever the the system shuts down. What is causing the spin up? Is there a way to avoid this? Thanks, Malte -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit:
> Hi, > > I use a couple of LVM volumes on a MD RAID1 array for backup. These volumes > are rarely accessed, so I use hdparm to switch the RAID disks into standby > mode. > > I noticed that the disks are forced to spin up whenever the the system > shuts down. What is causing the spin up? Is there a way to avoid this? > > Thanks, Malte I have the same "problem" with my external USB drive, used for backups. It wakes up when the filesystem is umounted, because the cache must be flushed. Perhaps, should we mount and unmount the filesystem each time my backups runs... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGuYTVDltnDmLJYdARAu9uAKCP7MYCpw0uSlL84aMjMm 9/JMvMoQCfWJwU Omo1rYrPgaktYKVMVn+hPZw= =2P6k -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit:
> Hi, > > I use a couple of LVM volumes on a MD RAID1 array for backup. These volumes > are rarely accessed, so I use hdparm to switch the RAID disks into standby > mode. > > I noticed that the disks are forced to spin up whenever the the system > shuts down. What is causing the spin up? Is there a way to avoid this? > > Thanks, Malte I have the same "problem" with my external USB drive, used for backups. It wakes up when the filesystem is umounted, because the cache must be flushed. Perhaps, should we mount and unmount the filesystem each time my backups runs... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGuYTVDltnDmLJYdARAu9uAKCP7MYCpw0uSlL84aMjMm 9/JMvMoQCfWJwU Omo1rYrPgaktYKVMVn+hPZw= =2P6k -----END PGP SIGNATURE----- |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Aug 8, 2007, at 2:54 AM, Gilles Mocellin wrote: > Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit : >> Hi, >> >> I use a couple of LVM volumes on a MD RAID1 array for backup. >> These volumes >> are rarely accessed, so I use hdparm to switch the RAID disks into >> standby >> mode. >> >> I noticed that the disks are forced to spin up whenever the the >> system >> shuts down. What is causing the spin up? Is there a way to avoid >> this? >> >> Thanks, Malte > > I have the same "problem" with my external USB drive, used for > backups. > > It wakes up when the filesystem is umounted, because the cache must be > flushed. > > Perhaps, should we mount and unmount the filesystem each time my > backups > runs... It's also marking the filesystem as having a clean shutdown, so fsck doesn't try to fix it on next boot. There's no way around it unless you want to bypass that and wait through an fsck during the next boot. In other words, it's not a bug, it's actually doing something -- something that has to be done. It's a feature. :-) -- Nate Duehr nate@natetech.com |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Aug 8, 2007, at 2:54 AM, Gilles Mocellin wrote: > Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit : >> Hi, >> >> I use a couple of LVM volumes on a MD RAID1 array for backup. >> These volumes >> are rarely accessed, so I use hdparm to switch the RAID disks into >> standby >> mode. >> >> I noticed that the disks are forced to spin up whenever the the >> system >> shuts down. What is causing the spin up? Is there a way to avoid >> this? >> >> Thanks, Malte > > I have the same "problem" with my external USB drive, used for > backups. > > It wakes up when the filesystem is umounted, because the cache must be > flushed. > > Perhaps, should we mount and unmount the filesystem each time my > backups > runs... It's also marking the filesystem as having a clean shutdown, so fsck doesn't try to fix it on next boot. There's no way around it unless you want to bypass that and wait through an fsck during the next boot. In other words, it's not a bug, it's actually doing something -- something that has to be done. It's a feature. :-) -- Nate Duehr nate@natetech.com |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Nate Duehr schrieb:
> > On Aug 8, 2007, at 2:54 AM, Gilles Mocellin wrote: > >> Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit : >>> Hi, >>> >>> I use a couple of LVM volumes on a MD RAID1 array for backup. These >>> volumes >>> are rarely accessed, so I use hdparm to switch the RAID disks into >>> standby >>> mode. >>> >>> I noticed that the disks are forced to spin up whenever the the system >>> shuts down. What is causing the spin up? Is there a way to avoid this? >>> >>> Thanks, Malte >> >> I have the same "problem" with my external USB drive, used for backups. >> >> It wakes up when the filesystem is umounted, because the cache must be >> flushed. >> >> Perhaps, should we mount and unmount the filesystem each time my backups >> runs... > > It's also marking the filesystem as having a clean shutdown, so fsck > doesn't try to fix it on next boot. There's no way around it unless you > want to bypass that and wait through an fsck during the next boot. > > In other words, it's not a bug, it's actually doing something -- > something that has to be done. It's a feature. :-) > > -- > Nate Duehr > nate@natetech.com > Couldn't it make sense to do all these things - flush the cache, mark the filesystem as ok, may be more - just before the disk is spun down? If its not used again before shutdown, there would be no need to spin it up again. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Wed, Aug 08, 2007 at 07:45:04PM +0200, Malte Forkel wrote:
> Nate Duehr schrieb: >> On Aug 8, 2007, at 2:54 AM, Gilles Mocellin wrote: >>> Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit : >>>> Hi, >>>> >>>> I use a couple of LVM volumes on a MD RAID1 array for backup. These >>>> volumes >>>> are rarely accessed, so I use hdparm to switch the RAID disks into >>>> standby >>>> mode. >>>> >>>> I noticed that the disks are forced to spin up whenever the the system >>>> shuts down. What is causing the spin up? Is there a way to avoid this? >>>> >>>> Thanks, Malte >>> >>> I have the same "problem" with my external USB drive, used for backups. >>> >>> It wakes up when the filesystem is umounted, because the cache must be >>> flushed. >>> >>> Perhaps, should we mount and unmount the filesystem each time my backups >>> runs... >> It's also marking the filesystem as having a clean shutdown, so fsck >> doesn't try to fix it on next boot. There's no way around it unless you >> want to bypass that and wait through an fsck during the next boot. >> In other words, it's not a bug, it's actually doing something -- something >> that has to be done. It's a feature. :-) >> -- >> Nate Duehr >> nate@natetech.com > > Couldn't it make sense to do all these things - flush the cache, mark the > filesystem as ok, may be more - just before the disk is spun down? If its > not used again before shutdown, there would be no need to spin it up again. why not autofs the filesystem, then let the system unmount/mount for you as needed > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGujyTkZz88chpJ2MRAvXnAKCWNacO6ov/rE4d4stNXw0oH+kNfwCfTngK wEedFLSpDxrJbQ3/FOoFvj0= =5Oqu -----END PGP SIGNATURE----- |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Wed, Aug 08, 2007 at 07:45:04PM +0200, Malte Forkel wrote:
> Nate Duehr schrieb: >> On Aug 8, 2007, at 2:54 AM, Gilles Mocellin wrote: >>> Le Wednesday 08 August 2007 09:44:16 Malte Forkel, vous avez écrit : >>>> Hi, >>>> >>>> I use a couple of LVM volumes on a MD RAID1 array for backup. These >>>> volumes >>>> are rarely accessed, so I use hdparm to switch the RAID disks into >>>> standby >>>> mode. >>>> >>>> I noticed that the disks are forced to spin up whenever the the system >>>> shuts down. What is causing the spin up? Is there a way to avoid this? >>>> >>>> Thanks, Malte >>> >>> I have the same "problem" with my external USB drive, used for backups. >>> >>> It wakes up when the filesystem is umounted, because the cache must be >>> flushed. >>> >>> Perhaps, should we mount and unmount the filesystem each time my backups >>> runs... >> It's also marking the filesystem as having a clean shutdown, so fsck >> doesn't try to fix it on next boot. There's no way around it unless you >> want to bypass that and wait through an fsck during the next boot. >> In other words, it's not a bug, it's actually doing something -- something >> that has to be done. It's a feature. :-) >> -- >> Nate Duehr >> nate@natetech.com > > Couldn't it make sense to do all these things - flush the cache, mark the > filesystem as ok, may be more - just before the disk is spun down? If its > not used again before shutdown, there would be no need to spin it up again. why not autofs the filesystem, then let the system unmount/mount for you as needed > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a > subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGujyTkZz88chpJ2MRAvXnAKCWNacO6ov/rE4d4stNXw0oH+kNfwCfTngK wEedFLSpDxrJbQ3/FOoFvj0= =5Oqu -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|