Q. What type of storage is available?
- The following two types are available: HDD and SSD. Select a storage type for your purpose.
Q. Is there any restriction on adding storage to a server?
- You can add both HDD and SSD as additional storage if the boot storage is SSD.
- If the boot storage is HDD, you can still add both types, but the SSD storage can only be added to the latest server. Please check if Add SSD storage is Enabled in the server details.
- Storage cannot be added to Micro servers and Bare Metal servers.
Q. How much storage can I add?
- Up to 2,000 GB storage can be added to servers, each of which can use up to 16 storage instances. (Note that local disk servers and the servers created before January 23, 2017 can only use up to 1,000 GB.)
Q. How do I add storage?
- You can use Create storage from Server or Storage to add storage.
Q. Can I use the storage immediately after being added?
- You can use the storage right after it is added to a server. Log in to the server with the admin account and use the storage by partitioning, formatting and mounting the disk.
Q. How do I mount storage?
- It depends on your OS. Refer to the description for each OS below.
Q. How do I remove the added storage?
- Select the storage to remove and click Delete storage. Since the mounted storage cannot be removed, you need to unmount the storage first.
- For Linux, you must delete the mount information of the storage from /etc/fstab after removing (or disconnecting) the storage. If the mount information remains, the server may fail to reboot due to the disk not recognized.
Q. Can I move the storage in use to another server?
- Yes, you can, only if your storage is attached to the latest servers. The storage for which Detachable is Enabled in the details can be detached from the server, and can be attached to a server that has been created after Aug. 31, 2017 (for which Network Interface is Enabled).
- Click Detach to server in Storage, and the storage is detached from the server and its status becomes available. Then, click Attach to server to attach the available storage to another server. You can use the storage only after it is mounted to the new server.
- This feature is supported for Standard, High Memory, and VDS servers (not for Micro and GPU).
Step 1. Connect to Console and select server
Connect to the Console and select a server to add storage to.
- It is to add extra storage to a server.
① Click Server > Server.
② Select a server to add storage to from the server list.
- If there is no server, create a server first. Please refer to “How to Create a Server” for more details on creating a new server.
③ Click Manage servers > Create storage.
Step 2. Select storage name and size
Enter a name and size of the storage to add.
① Storage is created in the zone where the server is located.
② Select a server storage type.
- For servers using HDD as boot storage (Add SSD storage is Disabled), you can only select HDD.
③ Please enter a storage name.
- Example) ncp-storage01
④ If you do not select a snapshot, empty storage is created. Select a snapshot to create storage using it.
⑤ Enter a storage size. The minimum storage size is 10 GB and the storage size can be specified in increments of 10.
- Example) 50 GB
Step 3. Check added storage
Check the added storage from the server list.
① Select a server with storage added from the server list to check the details on the added storage.
② You can also check the Information on the storage added and the server which the storage is attached to on the storage list.
Mount storage (Linux)
Step 1. Check the status of storage and add storage
① It is the result displayed when you view your disk with the fdisk –l command before adding storage.
- You can see that /dev/xvda1 disk is added.
② After adding storage, check whether it is added properly with the fdisk –l command.
- You can see that /dev/xvdb disk is added, but no partition has been created on the disk.
Step 2. Disk partition
Partition your disk.
③ Execute the fdisk command to partition the /dev/xvdb disk.
You can check the disk name to partition on your Console.
- a. Type "n" to create a new partition.
- b. Depending on the type of partition to create, type "p" for a primary type and "e" for an extended type. (In general, create a primary partition, and if the primary partition is not enough, create an extended partition.)
- c. Enter a range of cylinder and number of partition to create. (Use the default value in the case you wish to mount the entire disk.)
- d. Type "w" to apply the format. A partition is created.
Step 3. Format storage
Format your storage.
④ Check the storage has been successfully partitioned with the fdisk –l command.
⑤ Format the partitioned storage.
A format command varies depending on a server image.
- CentOS 5.x: mkfs.ext3 /dev/xvdb1
- CentOS 6.x: mkfs.ext4 /dev/xvdb1
- CentOS 7.x: mkfs.xfs /dev/xvdb1
- Ubuntu Server / Desktop: mkfs.ext4 /dev/xvdb1
Step 4. Mount storage
Mount your storage.
⑥ Create a mount point and mount the storage. In this document, we will mount /dev/xvdb1 to /mnt/a.
⑦ Execute the "df –k" command in order to check whether the mounting process was successful. You can check that /dev/xvdb1 is mounted onto /mnt/a.
⑧ To keep the mount information after booting the server, save the information in /etc/fstab as you can see the screen below.
Register added storage as volume (Windows)
Step 1. Disk management
Open the disk management page to register the added storage as a volume.
- In Windows, remote desktop connection is also available. Please refer to “How to Connect to Windows Servers for details.
① Connect to the Windows server and go to Start > Administrative Tools > Computer Management.
② Click Disk Management from Storage in the Console tree frame at the left side of Computer Management screen.
Step 2. Initialize disk
Initialize the added storage (disk).
③ Click Disk Management to open Initialize Disk. Select the disk that you wish to add, select MBR for a partition type and click OK.
④ If the Initialize Disk dialog is not immediately displayed, right-click the Disk 1 box to select Initialize Disk.
Step 3. New volume wizard
Select an unallocated disk from Disk Management.
- The new volume wizard guides you to create a volume with the default settings.
⑤ Right-click the box with the text "Unallocated" at the right side of the Disk 1 box to select a menu. We will select New Simple Volume in this document.
Select a volume type from New Simple Volume Wizard.
⑥ Click Next when the New Simple Volume Wizard gets started.
⑦ Specify a volume size and click Next.
Specify a disk size and assign a drive letter.
⑧ Assign a drive letter and click Next.
⑨ Select whether to format this volume and click Next.
- Select Perform a quick format to reduce format time.
Format the disk and check the settings to complete the volume creation.
⑩ Check the settings and click Finish.
Step 4. Format and confirm
Check the drive after formatting the disk.
⑪ The new disk is displayed as "Healthy" once the format is completed.
⑫ Click Start > Computer to check if the disk is assigned to the applicable drive properly.
You can see the related topic below.