writeboosttab - mappings of cache(d) devices
The file writeboosttab
contains information about mappings between
caching and cached block devices for writeboost utility.
Each mapping is described on a separate line; Empty lines and lines starting
with '#' are ignored; Fields on each line are separated by tabs or spaces;
The first field
This field describes the name of device-mapepr
block device that will be created as result of mapping.
Typically after successful mapping the dm_name
will appear in the
The second field
This field describes path to the cached block
device, typically "slow" (rotational) HDD.
The third field
This field describes path to the caching block
device, typically "fast" SSD.
The forth field
This optional field describes comma-separated
list of options passed to dm-writeboost.
It is recommended to use reliable paths to block devices like
The following is an example of an entry in the /etc/writeboosttab
cached_hdd /dev/disk/by-uuid/2e8260bc-024c-4252-a695-a73898c974c7 /dev/disk/by-partuuid/43372b68-3407-45fa-9b2f-61afe9c26a68 writeback_threshold=70,sync_data_interval=3600
Dmitry Smirnov <email@example.com>
Copyright 2015 Libre Solutions Pty Ltd (http://raid6.com.au)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see