Ubuntu Pastebin

Paste from smoser at Mon, 26 Jan 2015 23:34:33 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# utopic built image
# lp:maas-images pulls a cloud image and then modifies it in a loop mount
# diff at http://paste.ubuntu.com/9889199/ applied to copy out img file
#

$ time maas-cloudimg2eph2 -vv --kernel=linux-generic \
   --arch=arm64 http://cloud-images.ubuntu.com/daily/server/vivid/20150125/vivid-server-cloudimg-arm64.tar.gz \
   /tmp/maas_final/vivid/arm64/20150125/root-image.gz --krd-pack=linux-generic,/tmp/maas_final/vivid/arm64/20150125/vivid/generic/boot-kernel,/tmp/maas_final/vivid/arm64/20150125/vivid/generic/boot-initrd 2>&1 | tee out.log

$ pastebinit out.log
http://paste.ubuntu.com/9889182/

$ resize2fs -P /tmp/disk.img
resize2fs 1.42.10 (18-May-2014)
Estimated minimum size of the filesystem: 405208

# approximate in MB for "minimum filesystem"
$ echo "$((405208*4096/1024/1024))"
1582


$ mp=/tmp/mp; mkdir -p $mp;
$ sudo mount -o loop,ro /tmp/disk.img $mp; df $mp; sudo umount $mp
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/loop0       2108296 980200   1111712  47% /tmp/mp

$ uname -r
3.13.0-44-generic

$ dumpe2fs /tmp/disk.img
dumpe2fs 1.42.10 (18-May-2014)
Filesystem volume name:   cloudimg-rootfs
Last mounted on:          /tmp/mount-image-callback.HwaFqX/mp
Filesystem UUID:          62f910d0-7f18-49a3-8716-945d47e6acfa
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         unsigned_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              274176
Block count:              552448
Reserved block count:     0
Free blocks:              282024
Free inodes:              210116
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      127
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16128
Inode blocks per group:   1008
Flex block group size:    16
Filesystem created:       Sun Jan 25 03:38:06 2015
Last mount time:          Mon Jan 26 22:03:21 2015
Last write time:          Mon Jan 26 22:15:21 2015
Mount count:              1
Maximum mount count:      -1
Last checked:             Mon Jan 26 22:03:20 2015
Check interval:           0 (<none>)
Lifetime writes:          33 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      b6f30db9-e621-42f3-8322-ad1c6be017c9
Journal backup:           inode blocks
Journal features:         journal_incompat_revoke
Journal size:             32M
Journal length:           8192
Journal sequence:         0x000000a3
Journal start:            0


Group 0: (Blocks 0-32767) [ITABLE_ZEROED]
  Checksum 0x1e99, unused inodes 0
  Primary superblock at 0, Group descriptors at 1-1
  Reserved GDT blocks at 2-128
  Block bitmap at 129 (+129), Inode bitmap at 138 (+138)
  Inode table at 147-1154 (+147)
  7680 free blocks, 46 free inodes, 1044 directories
  Free blocks: 13739, 14336-16383, 18936, 18938, 18940, 18943, 18946, 18949, 18951-19455, 27648-32767
  Free inodes: 175-176, 298, 343, 737, 740, 1946, 2791, 2804-2806, 2814, 2824, 2834, 2836, 2852-2854, 2974-2975, 2978-2983, 2986, 2989, 3711, 3743-3744, 3752-3753, 3759, 3767-3768, 3774, 3782-3783, 3788, 3794, 3801, 7757, 7784-7785, 7787
Group 1: (Blocks 32768-65535) [ITABLE_ZEROED]
  Checksum 0x20b1, unused inodes 0
  Backup superblock at 32768, Group descriptors at 32769-32769
  Reserved GDT blocks at 32770-32896
  Block bitmap at 130 (bg #0 + 130), Inode bitmap at 139 (bg #0 + 139)
  Inode table at 1155-2162 (bg #0 + 1155)
  293 free blocks, 6 free inodes, 1198 directories
  Free blocks: 36708-36711, 40704-40716, 40718-40771, 43520-43583, 43588-43622, 43627, 43630-43635, 43648-43763
  Free inodes: 25368-25369, 25371, 25375-25376, 25378
Group 2: (Blocks 65536-98303) [ITABLE_ZEROED]
  Checksum 0x31d4, unused inodes 0
  Block bitmap at 131 (bg #0 + 131), Inode bitmap at 140 (bg #0 + 140)
  Inode table at 2163-3170 (bg #0 + 2163)
  8748 free blocks, 0 free inodes, 419 directories
  Free blocks: 65536-69631, 69673, 69689, 69741, 69861, 69997, 70010-70011, 70015, 70144, 71243-71679, 72103, 72169, 72575, 72670, 72702, 72774, 72790, 72838-72839, 72910, 76529-76530, 76651-76799, 78336-78847, 80963, 81008, 81010, 81012-81013, 81408-82943, 89088-89599, 91648-92159, 97010, 97082-97087, 97114, 97138, 97146, 97152-97183, 97190, 97206, 97214, 97242, 97248-97295, 97310, 97312-97343, 97346, 97360-97375, 97382, 97392-97439, 97442, 97466, 97472-97551, 97554, 97562, 97574, 97584-97599, 97614, 97616-97887, 97900, 97904-98303
  Free inodes: 
Group 3: (Blocks 98304-131071) [ITABLE_ZEROED]
  Checksum 0xc5a3, unused inodes 2795
  Backup superblock at 98304, Group descriptors at 98305-98305
  Reserved GDT blocks at 98306-98432
  Block bitmap at 132 (bg #0 + 132), Inode bitmap at 141 (bg #0 + 141)
  Inode table at 3171-4178 (bg #0 + 3171)
  19726 free blocks, 6184 free inodes, 1 directories, 2795 unused inodes
  Free blocks: 98649-100680, 100682-101941, 102061-106534, 106536-106644, 106646-106804, 106806-107519, 107832-107888, 108506-110830, 110832-112891, 114688-120782, 120784-120970, 120972-121110, 121112-121158, 121160-121177, 121180-121215, 124348, 125832-125834, 125890, 125892, 126564, 127009, 127154, 129721-129723, 130149-130150
  Free inodes: 49909-49910, 49913, 55808-55809, 55811, 55815-55816, 55818, 55822-55823, 55828, 55845, 55848, 55853-55854, 55856, 55882-55883, 55885, 55887, 55894-55895, 55897, 55905-55906, 55908-55909, 55911-55919, 55921, 55929-55940, 55942-55946, 55948-59181, 59186, 59195, 59199, 59201-59216, 59740, 59748, 59750-59752, 59754, 60018, 60023-60025, 60027-60028, 60378, 60381-60390, 60392-60395, 60449, 60453-60454, 60457, 60460-60467, 60469-60470, 60508, 60512, 60517, 60519, 60524, 60529, 60537, 60542, 60547, 60551, 60554, 60556, 61532, 61542, 61544, 61605, 61643-61644, 61646, 61648, 61650, 61654-61657, 61659, 61663, 61668, 61671-61672, 61674-61675, 61685, 61688-61689, 61695-61699, 61718-64512
Group 4: (Blocks 131072-163839) [ITABLE_ZEROED]
  Checksum 0x3401, unused inodes 12553
  Block bitmap at 133 (bg #0 + 133), Inode bitmap at 142 (bg #0 + 142)
  Inode table at 4179-5186 (bg #0 + 4179)
  639 free blocks, 12823 free inodes, 3305 directories, 12553 unused inodes
  Free blocks: 139424-139441, 139561-139564, 139574-139582, 140478-140548, 151043, 151050-151103, 151157, 151392-151551, 156812, 159078, 159083, 159086, 159089-159095, 159103-159109, 159114-159416
  Free inodes: 64515, 67819-80640
Group 5: (Blocks 163840-196607) [ITABLE_ZEROED]
  Checksum 0xe060, unused inodes 13649
  Backup superblock at 163840, Group descriptors at 163841-163841
  Reserved GDT blocks at 163842-163968
  Block bitmap at 134 (bg #0 + 134), Inode bitmap at 143 (bg #0 + 143)
  Inode table at 5187-6194 (bg #0 + 5187)
  1008 free blocks, 13649 free inodes, 2479 directories, 13649 unused inodes
  Free blocks: 167570, 167695-167700, 171667-172031, 180683-181080, 181208-181220, 181360-181377, 189256-189263, 189664-189665, 189668-189671, 190891, 190902-190903, 190917-191006, 191008-191062, 191064-191088, 195799-195818
  Free inodes: 83120-96768
Group 6: (Blocks 196608-229375) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0xa88d, unused inodes 16128
  Block bitmap at 135 (bg #0 + 135), Inode bitmap at 144 (bg #0 + 144)
  Inode table at 6195-7202 (bg #0 + 6195)
  2224 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 204709-204711, 204739, 212766, 224103, 224959, 224984-224987, 225296-225303, 225305, 227172-229375
  Free inodes: 96769-112896
Group 7: (Blocks 229376-262143) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0xfa07, unused inodes 16128
  Backup superblock at 229376, Group descriptors at 229377-229377
  Reserved GDT blocks at 229378-229504
  Block bitmap at 136 (bg #0 + 136), Inode bitmap at 145 (bg #0 + 145)
  Inode table at 7203-8210 (bg #0 + 7203)
  32406 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 229505-242261, 242304-242538, 242688-245717, 245760-262143
  Free inodes: 112897-129024
Group 8: (Blocks 262144-294911) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0x7a8d, unused inodes 16128
  Block bitmap at 137 (bg #0 + 137), Inode bitmap at 146 (bg #0 + 146)
  Inode table at 8211-9218 (bg #0 + 8211)
  22159 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 262144-264191, 264413-264415, 264420-264520, 264524-264614, 265025, 265028-265039, 265043-265044, 265046-265047, 265107-265249, 265253-265254, 265257-265268, 265271-265278, 265280-265281, 265372, 265376-265400, 265402, 265405-265716, 265721-265961, 265989, 265998-266133, 266137, 266141, 266144, 266146, 268340-268456, 268505, 268549, 269044-269455, 269468-269483, 269496-269499, 269504-269625, 269627-269639, 269644-269659, 269676-269683, 269692-269823, 269825-269837, 270112-270120, 270126-270194, 270336-282623, 283388-283647, 285590-285695, 285697-285702, 285704-285706, 285716-285726, 285728-288767, 289280-289587, 290165, 290176, 290178-290180, 290182, 290305-290306, 290816-292863
  Free inodes: 129025-145152
Group 9: (Blocks 294912-327679) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0xd8df, unused inodes 16128
  Backup superblock at 294912, Group descriptors at 294913-294913
  Reserved GDT blocks at 294914-295040
  Block bitmap at 19971 (bg #0 + 19971), Inode bitmap at 19972 (bg #0 + 19972)
  Inode table at 19973-20980 (bg #0 + 19973)
  20461 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 296943-296959, 303072-303103, 307200-307244, 307313-327679
  Free inodes: 145153-161280
Group 10: (Blocks 327680-360447) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0x2e4f, unused inodes 16128
  Block bitmap at 20981 (bg #0 + 20981), Inode bitmap at 20982 (bg #0 + 20982)
  Inode table at 20983-21990 (bg #0 + 20983)
  14660 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 327680-327796, 327899-327903, 327936-328104, 328128-328182, 329435-329439, 329629-329631, 329728-335146, 335857-338120, 338144-338175, 344052-350144, 359950-360447
  Free inodes: 161281-177408
Group 11: (Blocks 360448-393215) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0x9ff9, unused inodes 16128
  Block bitmap at 21991 (bg #0 + 21991), Inode bitmap at 21992 (bg #0 + 21992)
  Inode table at 21993-23000 (bg #0 + 21993)
  1418 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 365488-365503, 369592-369599, 370172-370175, 374903-374911, 375103, 376826-376831, 382323-382335, 383775, 383920-383935, 384509-384511, 388088-388095, 391164-391167, 391887-393215
  Free inodes: 177409-193536
Group 12: (Blocks 393216-425983) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0xe664, unused inodes 16128
  Block bitmap at 23001 (bg #0 + 23001), Inode bitmap at 23002 (bg #0 + 23002)
  Inode table at 23003-24010 (bg #0 + 23003)
  25148 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 393948-393951, 394696-395263, 401408-425983
  Free inodes: 193537-209664
Group 13: (Blocks 425984-458751) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
  Checksum 0x58c3, unused inodes 16128
  Block bitmap at 24011 (bg #0 + 24011), Inode bitmap at 24012 (bg #0 + 24012)
  Inode table at 24013-25020 (bg #0 + 24013)
  32768 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 425984-458751
  Free inodes: 209665-225792
Group 14: (Blocks 458752-491519) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
  Checksum 0x36a6, unused inodes 16128
  Block bitmap at 25021 (bg #0 + 25021), Inode bitmap at 25022 (bg #0 + 25022)
  Inode table at 25023-26030 (bg #0 + 25023)
  32768 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 458752-491519
  Free inodes: 225793-241920
Group 15: (Blocks 491520-524287) [INODE_UNINIT, BLOCK_UNINIT, ITABLE_ZEROED]
  Checksum 0xae1a, unused inodes 16128
  Block bitmap at 26031 (bg #0 + 26031), Inode bitmap at 26032 (bg #0 + 26032)
  Inode table at 26033-27040 (bg #0 + 26033)
  32768 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 491520-524287
  Free inodes: 241921-258048
Group 16: (Blocks 524288-552447) [INODE_UNINIT, ITABLE_ZEROED]
  Checksum 0x0ae1, unused inodes 16128
  Block bitmap at 524288 (+0), Inode bitmap at 524304 (+16)
  Inode table at 524320-525327 (+32)
  27150 free blocks, 16128 free inodes, 0 directories, 16128 unused inodes
  Free blocks: 524289-524303, 524305-524319, 525328-552447
  Free inodes: 258049-274176
Download as text