2016-12-31 6 views
0

BareMetalと使用されたストレージグループを注文しました。注文は正しく受信されましたが、OSのリロード後に他のストレージグループのすべてのカスタムパーティションが失われました。ここでSoftlayer Java:OS再ロード後にカスタムパーティションが失われる

は一例です:
storageGroups = [ { "arraySize": 1998, "arrayTypeId": 2, "hardDrives": [ 0, 1 ], "partitionTemplateId": 1 }, { "arraySize": 500, "arrayTypeId": 2, "hardDrives": [ 2, 3 ], # The custom partitions only work on other storage groups # different from the primary one "partitions": [ { "isGrow": true, "name": "/test1", "size": 100 } ] }, { "arraySize": 2264, "arrayTypeId": 9, "hardDrives": [ 4, ], "partitions": [ { "isGrow": true, "name": "/test2", "size": 500 } ] }, { "arraySize": 2264, "arrayTypeId": 9, "hardDrives": [ 5, ], "partitions": [ { "isGrow": true, "name": "/test3", "size": 500 } ] } ]
After OS reload, df -k only shows:

Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 xxxxxxxxxx 1290396 xxxxxxxxxx 1%/ devtmpfs xxxxxxxx 0 xxxxxxxx 0% /dev tmpfs xxxxxxxx 0 xxxxxxxx 0% /dev/shm tmpfs xxxxxxxx 9316 xxxxxxxx 1% /run tmpfs xxxxxxxx 0 xxxxxxxx 0% /sys/fs/cgroup /dev/sda1 xxxxxx 136776 xxxxxx 55% /boot tmpfs xxxxxxx 0 xxxxxxx 0% /run/user/0

私はreloadOperatingSystem( "FORCE"、設定)を使用してのみ設定でSSHキーを設定しています。上記の例のOSリロード後にカスタムパーティションを保持するにはどうすればよいですか?/ test1、/ test2、/ test3?私は、Componentオブジェクトを作成し、ConfigurationクラスのgetHardDrives()に追加する必要がありますか?

答えて

0

リブート後にすべてのエントリを/ etc/fstabに追加していないため、df -kは詳細を表示していません。上記の問題を避けるため、手動で/ etc/fstabにエントリを追加します。

0

リロードプロセスでOSを変更しない場合は、カスタムパーティションを保持する必要があります。別のOSを使用してOSをリロードする場合は、configでカスタムパーティションを再度送信する必要があります。

関連する問題