btrfs/012: check free size of scratch device before copying files
[xfstests-dev.git] / tests / generic / 580.out
1 QA output created by 580
2
3 # Setting v1 encryption policy
4 # Getting v1 encryption policy
5 Encryption policy for SCRATCH_MNT/dir:
6         Policy version: 0
7         Master key descriptor: 0000111122223333
8         Contents encryption mode: 1 (AES-256-XTS)
9         Filenames encryption mode: 4 (AES-256-CTS)
10         Flags: 0x02
11 # Getting v1 encryption policy using old ioctl
12 Encryption policy for SCRATCH_MNT/dir:
13         Policy version: 0
14         Master key descriptor: 0000111122223333
15         Contents encryption mode: 1 (AES-256-XTS)
16         Filenames encryption mode: 4 (AES-256-CTS)
17         Flags: 0x02
18 # Trying to create file without key added yet
19 SCRATCH_MNT/dir/file: Required key not available
20 # Getting encryption key status
21 Absent
22 # Adding encryption key
23 Added encryption key with descriptor 0000111122223333
24 # Creating encrypted file
25 # Getting encryption key status
26 Present
27 # Removing encryption key
28 Removed encryption key with descriptor 0000111122223333
29 # Getting encryption key status
30 Absent
31 # Verifying that the encrypted directory was "locked"
32 cat: SCRATCH_MNT/dir/file: No such file or directory
33 Required key not available
34 # Re-adding encryption key
35 Added encryption key with descriptor 0000111122223333
36 # Creating another encrypted file
37 # Removing key while an encrypted file is open
38 Removed encryption key with descriptor 0000111122223333, but files still busy
39 # Non-open file should have been evicted
40 cat: SCRATCH_MNT/dir/file2: Required key not available
41 # Open file shouldn't have been evicted
42 contents
43 # Key should be in "incompletely removed" state
44 Incompletely removed
45 # Closing file and removing key for real now
46 Removed encryption key with descriptor 0000111122223333
47 cat: SCRATCH_MNT/dir/file: No such file or directory
48 # Cleaning up
49
50 # Setting v2 encryption policy
51 # Getting v2 encryption policy
52 Encryption policy for SCRATCH_MNT/dir:
53         Policy version: 2
54         Master key identifier: 69b2f6edeee720cce0577937eb8a6751
55         Contents encryption mode: 1 (AES-256-XTS)
56         Filenames encryption mode: 4 (AES-256-CTS)
57         Flags: 0x02
58 # Trying to create file without key added yet
59 SCRATCH_MNT/dir/file: Required key not available
60 # Getting encryption key status
61 Absent
62 # Adding encryption key
63 Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
64 # Creating encrypted file
65 # Getting encryption key status
66 Present (user_count=1, added_by_self)
67 # Removing encryption key
68 Removed encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
69 # Getting encryption key status
70 Absent
71 # Verifying that the encrypted directory was "locked"
72 cat: SCRATCH_MNT/dir/file: No such file or directory
73 Required key not available
74 # Re-adding encryption key
75 Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
76 # Creating another encrypted file
77 # Removing key while an encrypted file is open
78 Removed encryption key with identifier 69b2f6edeee720cce0577937eb8a6751, but files still busy
79 # Non-open file should have been evicted
80 cat: SCRATCH_MNT/dir/file2: Required key not available
81 # Open file shouldn't have been evicted
82 contents
83 # Key should be in "incompletely removed" state
84 Incompletely removed
85 # Closing file and removing key for real now
86 Removed encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
87 cat: SCRATCH_MNT/dir/file: No such file or directory
88 # Cleaning up
89
90 # Trying to remove absent key
91 Error removing encryption key: Required key not available