Skip to contentSkip to conversation

drive-spindown

linux-lvm Michael Frotscher 2 participants 4 messages Sep 25, 2002

lore
Share & tools
lore
#0 lore raw

Hello, all

I'd like to have the drives of my LVM-system (SuSE 8.0) to spin down when the volume is not used (it's a data-volume only, the system resides somewhere else). The volume consists of one partition of hda and drives hdb and hdc are completely dedicated to it.

I tried to set a spindown-time in BIOS as well as hdparm -S, but strangely only hdc powers down (checked that with hdparm -C). I don't really expect hda to power down as the system resides on it, but hdb obviously should. Does anyone have an idea why it doesn't?

Signature · 3 lines
cheers,

Michael
#1 lore raw

Michael,

that could be either some regular access to extents residing on hdb or a drive spin down flaw in the IDE driver in case "hdparm -S" went proper.

Quoted 21 lines · Michael Frotscher

Hello, all

I'd like to have the drives of my LVM-system (SuSE 8.0) to spin down when the volume is not used (it's a data-volume only, the system resides somewhere else). The volume consists of one partition of hda and drives hdb and hdc are completely dedicated to it.

I tried to set a spindown-time in BIOS as well as hdparm -S, but strangely only hdc powers down (checked that with hdparm -C). I don't really expect hda to power down as the system resides on it, but hdb obviously should. Does anyone have an idea why it doesn't?

Signature · 9 lines
cheers,

Michael

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 1 line · Heinz J . Mauelshagen

that could be either some regular access to extents residing on hdb

So you are saying that the volume can be used (like accessing hdb) even though hdc is spun down? Amazing - I did not know that was possible. But if, it is a good explanation as my volume still has plenty of space so hdc would not be accessed until hdb is full.

Signature · 3 lines
Cheers,

Michael 
#3 lore raw
Quoted 6 lines · Michael Frotscher
Quoted 1 line · Heinz J . Mauelshagen

that could be either some regular access to extents residing on hdb

So you are saying that the volume can be used (like accessing hdb) even though hdc is spun down?

Correct.

If there's just accesses to extents mapped onto hdb (i.e. from the filesystem), hdc will never spin up (unless somthing outside LVM triggers it ;-)

Quoted 2 lines

But if, it is a good explanation as my volume still has plenty of space so hdc would not be accessed until hdb is full.

See "pvdisplay -v /dev/hd[bc]" or "lvdisplay -v YourLV" for your logical volume(s) to see what is mapped onto what.

Quoted 10 lines
Signature · 9 lines
Cheers,

Michael 

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-