Add QA test 183
[xfstests-dev.git] / 115.out
1 QA output created by 115
2 mkfs
3 mount
4
5 --- create some files and directories to work on ---
6
7
8 --- check all is ok before we start ---
9
10 succeeded checking 13 inodes
11 succeeded checking 13 paths
12
13 --- now break some stuff ---
14
15
16 1. remove the EA
17
18 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/file2
19
20 2. change the EA name
21
22 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/file3
23 Attribute "INODE 0000000000000001" set to a 5 byte value for dir2/dir3/file3:
24 file3
25 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/file3
26 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/file3
27
28 3. change the EA value
29
30 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file4
31 Attribute "INODE 0000000000000001" set to a 9 byte value for dir2/dir3/dir4/file4:
32 woopdydoo
33 Attribute "INODE 0000000000000001" has a 9 byte value for dir2/dir3/dir4/file4
34 Attribute "INODE 0000000000000001" had a 9 byte value for dir2/dir3/dir4/file4:
35 woopdydoo
36
37 4. add an extra EA - diff name, same value
38
39 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file5
40 Attribute "INODE 0000000000000001" set to a 5 byte value for dir2/dir3/dir4/file5:
41 file5
42 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file5
43 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file5
44 Attribute "INODE 0000000000000001" had a 5 byte value for dir2/dir3/dir4/file5:
45 file5
46
47 5. add an extra EA - diff name, diff value
48
49 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file6
50 Attribute "INODE 0000000000000001" set to a 7 byte value for dir2/dir3/dir4/file6:
51 file600
52 Attribute "INODE 0000000000000001" has a 5 byte value for dir2/dir3/dir4/file6
53 Attribute "INODE 0000000000000001" has a 7 byte value for dir2/dir3/dir4/file6
54 Attribute "INODE 0000000000000001" had a 7 byte value for dir2/dir3/dir4/file6:
55 file600
56
57 6. give bad fmt'ed EA name and get rid of existing name
58
59 Attribute "woof" set to a 5 byte value for dir2/dir3/dir4/file7:
60 file7
61
62 --- now check it ---
63
64
65 xfs_check_ipaths
66
67 inode-path for inode: 12 is missing 
68 inode-path for inode: 11 is incorrect - bad parent inode# 
69 inode-path for inode: 5 is incorrect - path non-existent 
70 inode-path for inode: 6 is incorrect - bad parent inode# 
71 inode-path for inode: 7 is incorrect - bad parent inode# 
72 inode-path for inode: 8 is corrupted 
73 num errors: 6
74
75 xfs_repair_ipaths
76
77 path "/mnt/scratch/dir2/dir3/dir4/file4" inode: 5 doesn't have an associated inode-path 
78 path "/mnt/scratch/dir2/dir3/dir4/file7" inode: 8 has corrupted inode-path 
79 path "/mnt/scratch/dir2/dir3/dir4/file7" inode: 8 doesn't have an associated inode-path 
80 path "/mnt/scratch/dir2/file2" inode: 12 doesn't have an associated inode-path 
81 extra inode-path for inode: 5 
82 extra inode-path for inode: 6 
83 extra inode-path for inode: 7 
84 extra inode-path for inode: 11 
85
86 --- now repair it ---
87
88
89 xfs_repair_ipaths
90
91 path "/mnt/scratch/dir2/dir3/dir4/file4" inode: 5 doesn't have an associated inode-path 
92 path "/mnt/scratch/dir2/dir3/dir4/file7" inode: 8 has corrupted inode-path 
93 path "/mnt/scratch/dir2/dir3/dir4/file7" inode: 8 doesn't have an associated inode-path 
94 path "/mnt/scratch/dir2/file2" inode: 12 doesn't have an associated inode-path 
95 extra inode-path for inode: 5 
96 extra inode-path for inode: 6 
97 extra inode-path for inode: 7 
98 extra inode-path for inode: 11 
99 repairing inode-path on "/mnt/scratch/dir2/dir3/dir4/file4"
100 repairing by removing bad inode-path on "/mnt/scratch/dir2/dir3/dir4/file7"
101 repairing inode-path on "/mnt/scratch/dir2/dir3/dir4/file7"
102 repairing inode-path on "/mnt/scratch/dir2/file2"
103 repairing: removing extra inode-path for inode: 5 
104 repairing: removing extra inode-path for inode: 6 
105 repairing: removing extra inode-path for inode: 7 
106 repairing: removing extra inode-path for inode: 11 
107
108 --- now check it again ---
109
110
111
112 xfs_check_ipaths
113
114 succeeded checking 13 inodes
115
116 xfs_repair_ipaths
117
118 succeeded checking 13 paths