HP mt21 Administrator Guide 8 - Page 88

Resizing the flash drive partition

Page 88 highlights

C Resizing the flash drive partition IMPORTANT: HP thin clients that ship from the factory with HP ThinPro use the entire flash drive. The image capture methods capture the smallest possible image, allowing images from larger flash drives to be deployed onto smaller flash drives that have enough space for the captured image. Resizing the flash drive partition should no longer be necessary for HP thin clients that ship from the factory with HP ThinPro. For thin clients with HP ThinPro that are not using the entire flash drive for any reason, see the following information. To use the entire space of the flash drive, you have to modify the partition size and expand the file system to take up that additional space. This can be accomplished using the resize-image script via an X terminal. NOTE: When an image is deployed via HPDM, HP ThinState, or Automatic Update, the file system is automatically resized to use all available space on the flash drive. The following table describes the syntax for the resize-image script. Syntax resize-image resize-image --size Example: resize-image --size 1024 resize-image --no-prompt - or - resize-image --no-prompt --size Example: resize-image --no-prompt --size 1024 Description When called with no parameters, the script displays the current size of the partition and the amount of available space on the flash drive. The script prompts you to enter the target partition size and then confirm the change. The change takes effect after the next thin client restart. NOTE: It is not possible to decrease the partition size. The entered value must be larger than the current partition size. Using this syntax, you can specify the target partition size in megabytes (MB) as a parameter and then confirm the change. Using this syntax, the script runs automatically with no user interaction required. If no specific size is given as a parameter simultaneously, the partition size is increased to the maximum size. TIP: This non-interactive mode is useful for scripting and performing this operation from a remote administration tool like HP Device Manager. 76 Appendix C Resizing the flash drive partition

  • 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

C
Resizing the
flash
drive partition
IMPORTANT:
HP thin clients that ship from the factory with HP ThinPro use the entire
flash
drive. The image
capture methods capture the smallest possible image, allowing images from larger
flash
drives to be
deployed onto smaller
flash
drives that have enough space for the captured image. Resizing the
flash
drive
partition should no longer be necessary for HP thin clients that ship from the factory with HP ThinPro. For thin
clients with HP ThinPro that are not using the entire
flash
drive for any reason, see the following information.
To use the entire space of the
flash
drive, you have to modify the partition size and expand the
file
system to
take up that additional space. This can be accomplished using the
resize-image
script via an X terminal.
NOTE:
When an image is deployed via HPDM, HP ThinState, or Automatic Update, the
file
system is
automatically resized to use all available space on the
flash
drive.
The following table describes the syntax for the
resize-image
script.
Syntax
Description
resize-image
When called with no parameters, the script displays the current
size of the partition and the amount of available space on the
flash
drive. The script prompts you to enter the target partition
size and then
confirm
the change. The change takes
effect
after
the next thin client restart.
NOTE:
It is not possible to decrease the partition size. The
entered value must be larger than the current partition size.
resize-image --size <size in MB>
Example:
resize-image --size 1024
Using this syntax, you can specify the target partition size in
megabytes (MB) as a parameter and then
confirm
the change.
resize-image --no-prompt
– or –
resize-image --no-prompt --size <size in MB>
Example:
resize-image --no-prompt --size 1024
Using this syntax, the script runs automatically with no user
interaction required.
If no
specific
size is given as a parameter simultaneously, the
partition size is increased to the maximum size.
TIP:
This non-interactive mode is useful for scripting and
performing this operation from a remote administration tool like
HP Device Manager.
76
Appendix C
Resizing the
flash
drive partition