Available in Classic
In addition to the default storage of the server, you can add HDD or SSD storage to the server. You can delete or transfer added storages, or you can expand their capacity.
- For micro servers and bare metal servers, you cannot add storages.
- You can add up to 15 storages of 2 TB in maximum size per server. Since a created server comes with 1 default storage, up to 16 additional storages can be used on a single server.
Data accidentally deleted by your carelessness cannot be restored. To prevent data loss and protect important information, back up the storage data regularly.
Check storage information
Describes the Storage interface configuration and how to view storage information.
Storage interface
From the NAVER Cloud Platform portal, navigate to Console >
> Services > Compute > Server > Storage to view the Storage interface.
The Storage interface includes the following components:

| Component | Description |
|---|---|
| ① Menu name | Current menu name and the number of created storages. |
| ② Basic features | Features displayed when you first access the Storage menu.
|
| ③ Post-creation features | Features available after creating a storage.
|
| ④ Search bar | Searches the created storage by server name, storage name, and connection information conditions. |
| ⑤ Filter | Filters the storage to be displayed. |
| ⑥ Storage list | List of created storages.
|
Create storage
To add a storage to the server, you need to first create a storage from the NAVER Cloud Platform console. To create a storage from the NAVER Cloud Platform console:
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click the Storage menu.
- Click [Create storage].
- On the Create storage popup, enter information and click [Add].
- Storage volume type: Select the type you want according to the purpose of use.
- SSD: For high-performance I/O
- HDD: For general services
- Storage name: Must be 3-30 characters long. They must contain uppercase and lowercase letters, numbers, hyphens, and/or underscores. Must begin with a letter, and if the name is not entered, it is created automatically.
- Zone: Select the zone to place the storage.
- Select applied server: Select the server to which you want to connect the storage.
- Select snapshot: To create a storage using a snapshot you have, select the desired snapshot (see Create storage with snapshot).
- Size: Entered in units of 10 GB within the scope guided on the interface.
- Max IOPS: Check the maximum IOPS value.
- For SSD as the selected storage volume type, the value varies with the specified storage size (see Storage specifications).
- For HDD as the selected storage volume type, the IOPS value is fixed.
- Storage volume type: Select the type you want according to the purpose of use.
- In the confirmation popup, review the details and click [OK].
- The created storage is displayed on the storage list.
- Once you create a storage and complete the tasks including disk partitioning, formatting, and mounting, you are ready to use the storage.
- To use the storage, proceed with the Mount storage (Linux) or Register storage volume (Windows) tasks.
Use storage
To use the added storage, you need to mount the storage or register the storage to the server as a volume. The following describes how to mount the storage to the Linux server and how to register the storage volume on the Windows server.
Mount storage (Linux)
To use the storage added to the server, you need to mount the storage on the server. To mount the added storage, proceed with the next steps.
You can see the disk name in Connection information in Storage details. The following assumes that the disk name is /dev/xvdb.
- 1. Check storage status.
- 2. Partition disk.
- 3. Format storage.
- 4. Mount storage.
- 5. Mount information retention settings (fstab settings).
1. Check storage status
To access the server and check the storage status:
- Access the Linux server on which to mount the added storage.
- For more information about how to access the server, see Access Linux server.
- Enter the
su -command and enter the password one more time.- You are logged in with the root permission.
- Enter the
fdisk -lcommand to check that the/dev/xvdbdisk has been added.
2. Partition disk
To set disk partitioning:
- Enter the
fdisk /dev/xvdbcommand. - Enter
nin theCommandprompt. - To create a primary type partition, enter
p. To create an extended type partition, entere. - Enter a number and a sector component for the partition to create.
- To mount the entire disk, enter the default values.
- Enter
win theCommandprompt.- The partition settings are applied.
3. Format storage
To set the file system to the partition:
From the following commands, enter the applicable one for the image of the server to mount to format the partition.
- CentOS 7.x:
mkfs.xfs /dev/xvdb1 - Ubuntu:
mkfs.ext4 /dev/xvdb1
4. Mount storage
To mount a storage:
- Enter the
mkdir /mnt/acommand to create the directory.- The mount point
/mnt/ais created.
- The mount point
- Enter the
mount /dev/xvdb1 /mnt/acommand to connect the storage and the directory.- The storage is mounted on
/mnt/a. You can now use the storage.
- The storage is mounted on
- Enter the
df -kcommand to check if the mount is completed properly.- The
/dev/xvdb1mount directory is displayed on the file system list.
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/vda2 4718080 74947 4643133 2% / /dev/vda1 524288 333 523955 1% /boot /dev/xvdb1 49984 3 49981 1% /mnt/a - The
5. Mount information retention settings (fstab settings)
To maintain the mounting settings after the Linux server is booted, you need to change the volume settings in /etc/fstab. /etc/fstab is the path that stores the volume information to be mounted in the booting stage. To change the volume settings to maintain the storage mounting information after booting:
The following is an example of the xvdb1 volume, and it also describes how to change other volume settings.
- Enter the following command to open the volume information configuration file.
vi /etc/fstab - See the following table to add the settings of the
xvdb1volume.- Examples of volume information
/dev/xvdb1 /mnt/a ext4 defaults 1 2Column Meaning Description /dev/xvdb1Volume name /mnt/aMount point ext4File system type defaultsOption 1Dump settings 2fscksetting
- Examples of volume information
- Enter the
:wqcommand to end the editor.
If the nofail option exists, the storage is booted properly even when the following errors occur:
- When the mounting information is wrong, such as unnecessary quotation marks in UUID or mistyping of "default"
- When no file system exists for mounting or the file system is damaged
Unmount storage (Linux)
To unmount the storage mounted on the Linux server:
- Access the Linux server from which to unmount the storage.
- For more information about how to access the server, see Access Linux server.
- Enter the
umount /mnt/acommand.- The storage mounted on
/mnt/ais unmounted.
- The storage mounted on
If unmounting does not proceed properly, you need to check and end the processes running in certain files, file systems, ports, and so on by using the force unmount commands or the fuser command.
- Force unmount commands
umount -l /mnt/aumount -f /mnt/a
- How to use the fuser commands
- Use
fuser -cu /mnt/ato check the user or the process using the directory. - Use
fuser -ck /mnt/ato force-end the process. - Use
umount /mnt/ato perform unmounting.
- Use
Register storage volume (Windows)
To use the added storage, you need to register the storage as a volume on the Windows server. To register an added storage as a volume, proceed with the next steps.
1. Initialize disk
To initialize a disk:
- Access the Windows server to which to register the added storage as a volume.
- For more information about how to access the server, see Access Windows server.
- After clicking
, navigate to Windows Administrative Tools > Computer Management > Disk Management.
- Alternatively, you can enter
diskmgmt.mscon the run command window.
- Alternatively, you can enter
- On the Initialize disk popup, select the disk to add, select Mater Boot Record (MBR), and click [OK].
- The disk is initialized.
- If no popup appears, find the disk indicated as Not initialized on the disk list, right-click on the disk name, and click Initialize disk.
2. Create and format volume
To create and format the storage volume for the server:
- On the disk list, find the disk indicated as Unallocated, right-click on the disk name, and click New simple volume.
- Click [Next].
- Enter the simple volume size and click [Next].
- Select the drive letter to allocate and click [Next].
- Set the partition format and click [Next].
- Check the settings and click [Finish].
- Once formatting is completed and the disk status shows normal, the storage is ready for use.
To check if volume registration has succeeded, open File Explorer, click This PC, and check the hard disk drive list.
Unmount storage volume (Windows)
To disconnect the registered storage volume on the Windows server:
- Access the Windows server.
- For more information about how to access the server, see Access Windows server.
- After clicking
, navigate to Windows Administrative Tools > Computer Management > Disk Management.
- Alternatively, you can enter
diskmgmt.mscon the run command window.
- Alternatively, you can enter
- On the list that appears, find the partition to expand, right-click on the partition name, and click Offline.
- The disk is disconnected from the server, and the partition status shows Offline.
Connect to server
To connect a storage to the server:
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click the Storage menu.
- On the storage list, select the storage to connect to the server, and click [Connect to server].
- Only storages with the Available status can be connected to a server.
- From the Select applied server on the popup, select the server to connect, and click [Yes].
- The storage is connected to the selected server. To use the storage, proceed with the Mount storage (Linux) or Register storage volume (Windows) tasks.
Disconnect from server
You can relocate a storage by disconnecting it from the current server and connecting it to a different server. To disconnect a storage from the server:
- Unmount the storage volume from the server.
- For more information about how to unmount a storage volume, see the following:
- Linux server: Unmount storage (Linux)
- Windows server: Unmount storage volume (Windows)
NoteIn the case of a storage connected to the Linux server, delete the mounting information of the storage from
/etc/fstabof the connected server after unmounting the storage. - For more information about how to unmount a storage volume, see the following:
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click the Storage menu.
- On the storage list, select the storage to disconnect from the server, and click [Disconnect from server].
- In the confirmation popup, review the details and click [Yes].
- The storage is disconnected from the server, and the storage status shows Available.
- The default storage made when the server is created cannot be disconnected.
- If the connection stays on and you see a Try again popup on the Windows server, do the following:
- Enter
diskmgmt.mscon the run command window and click [OK]. - Find the disk to delete, right-click on the disk name, and click Properties.
- In the Properties popup, check the Target Id displayed in Location.
- Enter
devmgmt.mscon the run command window and click [OK]. - On the disk drive list, find the disk with the same Target Id.
- You can check the Target Id on the Properties popup. To open the Properties popup, find the disk, right-click on the disk name, and click Properties.
- Click and hold on the disk name and right-click on the mouse. Click Uninstall device.
- After 20-30 seconds, try removing the server connection from the NAVER Cloud Platform console again.
- Enter
- If the problem persists, it means that the OS is unable to disengage the disk properly. In this case, stop or restart the server.
Change storage size
You can expand the size of the storage in use. It is applied when you expand the storage size and change the partition and the file system according to the server system from the NAVER Cloud Platform console.
When you change the partition and the file system after expanding the size of the storage, data loss in the storage may occur. To prevent data loss, create a snapshot before you expand the size of the storage. For more information about how to create a snapshot, see Create snapshot.
- You can't change the size of the storage that is connected to a server in operation. Stop the server that the storage is connected to or remove the storage before expanding.
- Storage size can only be expanded and cannot be reduced.
- For SSD, expanding the disk size also changes the IOPS value proportionally.
- Standard and high-memory servers allow the storage size to be changed. Whether to expand the storage varies depending on the type of the connected server or the type of the storage volume. To check whether to expand the storage, see Resizability in Storage details.
Expand storage
To expand the storage size from the NAVER Cloud Platform console:
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click the Storage menu.
- From the storage list, select the storage to expand, and navigate to [Storage settings] > Change storage.
- Enter the new size in the Storage size item on the Change storage popup, and click [OK].
Expand partition and file system (Linux)
To expand the partition and the file system on the Linux server: The description is based on the /dev/xvdb1 storage.
- Access the Linux server.
- For more information about how to access the server, see Access Linux server.
- Enter the
su -command and enter the password one more time.- You are logged in with the root permission.
- Enter the
lsblkcommand to check the status of/dev/xvdb1storage.- If you are unable to see the status of
/dev/xvdb1storage after executing the command, check if the storage is connected to the server.
- If you are unable to see the status of
- Enter the following command to unmount the
/dev/xvdb1storage:- Although the
growpartcommand can be run without unmounting the storage as a preliminary task for running thegrowpartcommand, it is best to unmount the storage or back up the snapshot first to prevent data loss.
umount /dev/xvdb1 - Although the
- Enter the
growpartcommand to expand the partition.- Unmount the storage or back up the snapshot first to prevent data loss due to using the
growpartcommand. - There is a blank between the storage name and the partition number due to the
growpart [스토리지] [파티션 번호]command, so be careful when entering.
growpart /dev/xvdb 1NoteIf the
growpartcommand is not properly executed, enter the following command to install the right package for the operating system:- CentOS 7.x
yum install cloud-utils-growpart - Ubuntu 18.04
apt-get update apt-get install cloud-guest-utils
- Unmount the storage or back up the snapshot first to prevent data loss due to using the
- Enter the
lsblkcommand to check the status of partition expansion. - Enter the following command to check the file system status of the partition:
e2fsck -f /dev/xvdb1 - From the following commands, enter the applicable one for the file system in use to mount the file system and expand its size:
- ext4
mount /dev/xvdb1 /data resize2fs /dev/xvdb1 - xfs
mount /dev/xvdb1 /data xfs_growfs /dev/xvdb1
- ext4
- Enter the
df -hcommand to check if the expansion and the mount are completed properly.
Expand partition and file system (Windows)
To expand the partition and file system from the Windows server:
- Access the Windows server.
- For more information about how to access the server, see Access Windows server.
- After clicking
, navigate to Windows Administrative Tools > Computer Management > Disk Management.
- Alternatively, you can enter
diskmgmt.mscon the run command window.
- Alternatively, you can enter
- On the list that appears, find the partition to expand, right-click on the partition name, and click Extend Volume.
- If the storage size has been successfully expanded on the console, the applicable disk shows the added size as Unallocated along with the expandable partition.
- Click [Next].
- Enter the space to expand and click [Next].
- Check the settings and click [Finish].
- The disk volume is expanded.
Create snapshot with storage
You can create a snapshot of the current status of the storage in use. For more information about how to create a snapshot, see Create snapshot.
Delete storage
To delete the added storage:
Deleting a storage also deletes the data inside the storage, and deleted data cannot be restored. Before deleting a storage, be sure to check the data inside.
- The default storage made when the server is created cannot be deleted.
- Storages connected to a server cannot be deleted. To delete a storage, disconnect it from the server first.
- In the Classic environment of the NAVER Cloud Platform console, navigate to
> Services > Compute > Server. - Click the Storage menu.
- On the storage list, select the storage to delete, and click [Delete storage].
- In the confirmation popup, review the details and click [Yes].
- The storage is returned and deleted from the list.
In the case of a storage connected to the Linux server, delete the mounting information from /etc/fstab of the server after deleting the storage on the console.
to