Skip to content

Commit 0874b43

Browse files
authored
Merge pull request #16 from tasleson/new_version_prep_deux
Revert "Revert "New version prep changes""
2 parents ab9baf6 + 4184d95 commit 0874b43

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,17 @@ an example:
4545
ssl: false
4646
target_name: iqn.2003-01.org.example.mach1:1234
4747

48-
block_pools: [vg-targetd, vg-targetd-too]
48+
block_pools: [vg-targetd/thin_pool, vg-targetd-too/thin_pool]
4949
fs_pools: [/mnt/btrfs]
5050

51-
targetd defaults to using the "vg-targetd" volume group, and username 'admin'.
52-
The admin password does not have a default -- each installation must set it.
51+
targetd defaults to using the "vg-targetd/thin_pool" volume group and thin
52+
pool logical volume, and username 'admin'. The admin password does not have a
53+
default -- each installation must set it.
5354

54-
Then, run `sudo ./targetd.py`.
55+
Then, in the root of the source directory, do the following as root:
56+
```bash
57+
# export PYTHONPATH=`pwd`
58+
# ./scripts/targetd`
59+
```
5560

5661
client.py is a basic testing script, to get started making API calls.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='targetd',
7-
version='0.8.1',
7+
version='0.8.5',
88
description='Linux remote storage API daemon',
99
license='GPLv3',
1010
maintainer='Andy Grover',

targetd.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
password:
99

1010
# defaults below; uncomment and edit
11-
#block_pools: [vg-targetd] # just 1 by default, but can be more
12-
#fs_pools: []
11+
#block_pools: [vg-targetd/thin_pool] # just 1 by default, but can be more
12+
#fs_pools: [] # Path to btrfs FS, eg. /my_btrfs_mount
1313
#user: admin
1414
#target_name: iqn.2003-01.org.example.mach1:1234
1515

1616
# log level (debug, info, warning, error, critical)
17-
#log_level = info
17+
#log_level: info
1818

1919
#ssl: false
2020
# if ssl is activated:

targetd/nfs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1313

1414
import re
15-
import hashlib
1615
import os
1716
import os.path
1817
import shlex

0 commit comments

Comments
 (0)