Where will my SSD be? How do I use it?

Virtual Dedicated Servers / Virtual Private Servers
Post Reply
User avatar
Edge100x
Founder
Founder
Posts: 12945
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Where will my SSD be? How do I use it?

Post by Edge100x »

If you create a new VDS with an SSD attached to it, or reinstall an old one, the SSD will automatically be created and mounted for you, using a file system appropriate to your OS selection.

* On Windows, it will be made NTFS, and should automatically be detected when you boot up. You may have to click through on a "New hardware" selection box when you first log in, that will call it a "Xen Block Device" or similar -- proceed with that install. Windows may also warn you that the driver is unsigned; tell it to continue. After the driver is installed, the SSD space will become your "F:".

* On Linux, it will be made ext3 or ext4, and show up automatically at the "/ssd" mount point.

If you add an SSD to an existing package, it will be created and formatted for you, but you may have to perform additional steps.

* On Windows, it should automatically be detected when you boot up, and you may have to click through on a "New hardware" selection box that will call it a "Xen Block Device" or similar -- go ahead and let it. Windows may also ask you if you are sure about the driver, which is unsigned; let it proceed here, as well. After the driver is installed, the SSD will become your "F:".

* On Linux, you will need to mount the drive and tell the OS to auto-mount it for you after each boot. Use the following commands in your SSH window while logged in as root:

Code: Select all

mkdir /ssd
mount /dev/xvdb1 /ssd
If the "mount" line shows an error, you may need to use "/dev/sdb1" or "/dev/xvde1" instead -- different kernel versions and distributions use different designations.

Then, enter a command including the same device name in order to auto-mount it at boot. Adjust this line to match what you used instead of "/dev/xvdb1" in your last command:

Code: Select all

echo "/dev/xvdb1 /ssd ext4 noatime 0 1" >> /etc/fstab
Post Reply