[systemd-devel] systemd and hdparm

Paul Menzel paulepanter at users.sourceforge.net
Fri Jun 22 02:29:14 PDT 2012


Dear systemd folks, dear Mark (upstream), dear Stephen (Debian),


before going further about this what is your recommended way to deal
with hdparm setting up options for block devices?

Arch Linux does not seem to ship any init.d scripts/service files for
hdparm [1][2] and Fedora does not either [3].

The Debian package of hdparm [4] ships an init.d script [5] which reads
values from a config file and tunes the devices appropriately, which I
all attached from version 9.39-1.

Besides that drives should be set up „optimally“ in the first place by
the Linux kernel, how should users be able to set up there drives?


Thanks,

Paul


[1] https://github.com/falconindy/systemd-arch-units/tree/master/service
[2] https://projects.archlinux.org/svntogit/packages.git/tree/hdparm
[3] http://pkgs.fedoraproject.org/gitweb/?p=hdparm.git;a=tree
[4] http://packages.debian.org/sid/hdparm
[5] http://packages.debian.org/sid/amd64/hdparm/filelist
-------------- next part --------------
# To set the same options for a block of harddisks, do so with something
# like the following example options:
# harddisks="/dev/hda /dev/hdb"
# hdparm_opts="-d1 -X66"
# This is run before the configuration in hdparm.conf.  Do not use 
# this arrangement if you need modules loaded for your hard disks,
# or need udev to create the nodes, or have some other local quirk
# These are better addressed with the options in /etc/hdparm.conf
#
# harddisks=""
# hdparm_opts=""

# By default, hdparm will refuse to set harddisk options on any drive
# if the system has software RAID running, and one or more disk arrays
# are in the process of resynchronisation.
# With this variable set to 'yes', /etc/init.d/hdparm will suspend the
# RAID resynchronisation process before setting harddisk options, and
# will resume it after setting is done.
RAID_WORKAROUND=no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdparm
Type: application/x-shellscript
Size: 10577 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120622/f94ef641/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdparm.conf
Type: text/x-matlab
Size: 4917 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120622/f94ef641/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120622/f94ef641/attachment.pgp>


More information about the systemd-devel mailing list