HP t505 Administrator Guide 5 - Page 79

Resizing the flash drive partition, The following table describes the syntax for

Page 79 highlights

C Resizing the flash drive partition When a thin client running HP ThinPro is shipped from the factory, the image flashed on it has a size of 1 GB, regardless of the total size of the flash drive. This makes it easier to customize the image and deploy it to other clients that might have a smaller flash drive. 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. The following table describes the syntax for the resize-image script. Syntax resize-image resize-image--size resize-image--no-prompt -or- resize-image--no-prompt--size 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 provide directly the target partition size 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. 67

  • 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

C
Resizing the flash drive partition
When a thin client running HP ThinPro is shipped from the factory, the image flashed on it has a size
of 1 GB, regardless of the total size of the flash drive. This makes it easier to customize the image
and deploy it to other clients that might have a smaller flash drive.
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.
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>
Using this syntax, you can provide directly the target partition
size as a parameter, and then confirm the change.
resize-image--no-prompt
—or—
resize-image--no-prompt--size <size>
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.
67