Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


stupid question about hosthatch storage vps
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

stupid question about hosthatch storage vps

yabargyabarg Member
edited January 23 in General

Ok, i know this is probably a very stupid question but I recently got a 2tb hosthatch VPS but it shows as 18.33 gb. Is there any way to make it 1.8tb?
the first time i logged in, it said 1.8tb initially, but after reinstalling, it says 18.33. It still shows the 1.8tb disk when running lsblk. If anyone could help me, it would be greatly appreciated.

thats what shows up when running lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 368K 0 rom
vda 253:0 0 20G 0 disk
├─vda1 253:1 0 19G 0 part /
├─vda14 253:14 0 4M 0 part
├─vda15 253:15 0 106M 0 part /boot/efi
└─vda16 259:0 0 913M 0 part /boot
vdb 253:16 0 1.8T 0 disk

Comments

  • Did you install from a template or using ISO + VNC?

    I recall someone else having this issue recently and it was caused by a bad template I'm pretty sure

  • zGatozGato Member
    edited January 23

    You need to partition it and mount it. Easiest just do:

    mkfs.ext4 /dev/vdb

    create a mount point (e.g. mkdir /storage)

    grab the disk UUID (blkid) and add this into /etc/fstab
    UUID=PUTYOURUUIDHERE /storage ext4 defaults 0 2

  • @hostnoob said:
    Did you install from a template or using ISO + VNC?

    I recall someone else having this issue recently and it was caused by a bad template I'm pretty sure

    I dont think so, i simply used the reinstall feature in HostHatch's panel

  • yabargyabarg Member
    edited January 23

    @zGato said:
    You need to partition it and mount it. Easiest just do:

    mkfs.ext4 /dev/vdb

    create a mount point (e.g. mkdir /storage)

    grab the disk UUID (blkid) and add this into /etc/fstab
    UUID=PUTYOURUUIDHERE /storage ext4 defaults 0 2

    but i want the OS stored on the 1.8tb drive. wouldnt these commands u gave me only let me cd to it. the main os is still gonna be on the 18gb drive.

    i had this issue with digirdp, but i reinstalled it, and it changed back to 500gb.

  • @yabarg said:

    @zGato said:
    You need to partition it and mount it. Easiest just do:

    mkfs.ext4 /dev/vdb

    create a mount point (e.g. mkdir /storage)

    grab the disk UUID (blkid) and add this into /etc/fstab
    UUID=PUTYOURUUIDHERE /storage ext4 defaults 0 2

    but i want the OS stored on the 1.8tb drive. wouldnt these commands u gave me only let me cd to it. the main os is still gonna be on the 18gb drive.

    i had this issue with digirdp, but i reinstalled it, and it changed back to 500gb.

    Why would you want your OS on a slower drive?

  • @barbaros said:

    @yabarg said:

    @zGato said:
    You need to partition it and mount it. Easiest just do:

    mkfs.ext4 /dev/vdb

    create a mount point (e.g. mkdir /storage)

    grab the disk UUID (blkid) and add this into /etc/fstab
    UUID=PUTYOURUUIDHERE /storage ext4 defaults 0 2

    but i want the OS stored on the 1.8tb drive. wouldnt these commands u gave me only let me cd to it. the main os is still gonna be on the 18gb drive.

    i had this issue with digirdp, but i reinstalled it, and it changed back to 500gb.

    Why would you want your OS on a slower drive?

    initially when i got the server, it showed 1.8tb at the top, and it was on that drive. when i reset it, it changed to 18.8gb.

  • also, the specs of the server dont mention any os drive. just the 2tb

  • I assume they have a feature for booting ISOs? You could boot the ISO of your distro of choice, then use VNC to go through the initial install, and that way you can configure the drive however you'd like. that might be the only way

  • All of HostHatch's current generation of storage servers have a smaller flash drive for your OS. You should install the OS there and mount the bulk storage as something like /home or another custom directory.

    Since your OS is already installed, I would go for the latter option, just like @zGato explained.

  • @aj_potc said:
    All of HostHatch's current generation of storage servers have a smaller flash drive for your OS. You should install the OS there and mount the bulk storage as something like /home or another custom directory.

    Since your OS is already installed, I would go for the latter option, just like @zGato explained.

    But originally the server showed the main OS having 1.8tb of storage...

  • performance of the storage vps OS is best when installed on ssd.

    but if combined is necessary, lvm is possible, or install on vdb via manual install

    Thanked by 1hobofl
  • @yabarg said:

    @aj_potc said:
    All of HostHatch's current generation of storage servers have a smaller flash drive for your OS. You should install the OS there and mount the bulk storage as something like /home or another custom directory.

    Since your OS is already installed, I would go for the latter option, just like @zGato explained.

    But originally the server showed the main OS having 1.8tb of storage...

    Maybe the template settings have changed since the original installation. That's all I can guess.

    Still, the best place for the OS is on the flash drive, and the best place for your data is on the bulk storage volume. You may need to use symbolic links if you want to map a directory on your OS volume to the data volume. I assume you intend to store data there, and that's why you're asking?

  • @yabarg said:

    @aj_potc said:
    All of HostHatch's current generation of storage servers have a smaller flash drive for your OS. You should install the OS there and mount the bulk storage as something like /home or another custom directory.

    Since your OS is already installed, I would go for the latter option, just like @zGato explained.

    But originally the server showed the main OS having 1.8tb of storage...

    It really doesn't matter whatever storage you saw at the beginning. They provide you an additional SSD drive for the OS, and it is of your interest to put your OS on this faster SSD and mount the 1.8 TB HDD separately, instead of putting the OS on the HDD directly. Just follow other people's commans to partition the disk first with fdisk, then format with mkfs and mount it to whichever folder you like.

    If you still really want to install the OS on the HDD itself, then just go ahead to reinstall the server with a Linux ISO and select the drive from VNC.

  • ralfralf Member

    One reason for them setting it up this way is that you might want your drive for a specific purpose.

    For example, on my system I have my large drive mounted at /home/borg and everything else I use the VPS for runs on the fast drive and only my external backups from other systems are stored on the slow HDD. I have a couple of systems that don't have an SSD partition at all, and they're noticeably slower for most tasks.

    Depending what you're using it for, maybe you it mounted somewhere else entirely.

  • @yabarg said:

    @aj_potc said:
    All of HostHatch's current generation of storage servers have a smaller flash drive for your OS. You should install the OS there and mount the bulk storage as something like /home or another custom directory.

    Since your OS is already installed, I would go for the latter option, just like @zGato explained.

    But originally the server showed the main OS having 1.8tb of storage...

    Did you get any emails from them in the last year to migrate your server? This would have informed you about the change to the small NVMe plus storage.

  • I believe if you go for manual install with (custom) ISO then you have the option to install the OS in the 1.8Tb disk.

    Thanked by 1admax
  • Is there any particular reason that you want the 1.8 tb on top except how you saw the first time?

    The os probably was still on the ssd then but it showed the HDD first.

  • @itachikonoha said:
    Is there any particular reason that you want the 1.8 tb on top except how you saw the first time?

    The os probably was still on the ssd then but it showed the HDD first.

    because that 18gb will fill fast. its already using 50%

  • ralfralf Member

    @yabarg said:

    @itachikonoha said:
    Is there any particular reason that you want the 1.8 tb on top except how you saw the first time?

    The os probably was still on the ssd then but it showed the HDD first.

    because that 18gb will fill fast. its already using 50%

    Even so, you probably don't want the HDD as your main filesystem.

    WHAT is filling up fast? If it's /home, then mount your drive there and move all your existing data. If it's just /home/web or something, then just move that one directory.

    Where I have the grep line, below, you'd want to add the line to your /etc/fstab with a mount point of /home and the UUID= that was output from blkid.

    For me, doing this on /home/borg, it looked like:

    # blkid /dev/vdb
    /dev/vdb: UUID="4b9054e5-1b4c-448e-83a3-b1ba16bedb41" BLOCK_SIZE="4096" TYPE="ext4"
    # grep home /etc/fstab
    UUID="4b9054e5-1b4c-448e-83a3-b1ba16bedb41" /home/borg ext4 rw,discard,errors=remount-ro,x-systemd.growfs 0 2
    # mv /home/borg /x
    # mkdir /home/borg
    # systemctl daemon-reload
    # mount -a
    # mv /x/* /home/borg/
    # rmdir /x
    
    Thanked by 2plumberg yoursunny
  • @yabarg said:

    @itachikonoha said:
    Is there any particular reason that you want the 1.8 tb on top except how you saw the first time?

    The os probably was still on the ssd then but it showed the HDD first.

    because that 18gb will fill fast. its already using 50%

    Yes it's supposed to be filled with your OS and packages you use often because it is faster than the HDD. Here are your 2 options:

    1. If you put your OS on the 1.8tb HDD the ENTIRE system will be a lot slower. and you will have an empty fast drive sitting there collecting dust.
    2. If you put your OS on the 18gb SSD the ENTIRE system will be faster. And you have the 1.8tb for your files.

    I, and most of the people in this thread that know a lot better than me, suggest option 2.

  • dev_vpsdev_vps Member
    edited January 24

    @wadhah said:

    @yabarg said:

    @itachikonoha said:
    Is there any particular reason that you want the 1.8 tb on top except how you saw the first time?

    The os probably was still on the ssd then but it showed the HDD first.

    because that 18gb will fill fast. its already using 50%

    Yes it's supposed to be filled with your OS and packages you use often because it is faster than the HDD. Here are your 2 options:

    1. If you put your OS on the 1.8tb HDD the ENTIRE system will be a lot slower. and you will have an empty fast drive sitting there collecting dust.
    2. If you put your OS on the 18gb SSD the ENTIRE system will be faster. And you have the 1.8tb for your files.

    I, and most of the people in this thread that know a lot better than me, suggest option 2.

    OS should be installed on NVMe/SSD storage.

    Here I am running Windows Server OS on HH storage VPS. The OS is installed on 20gb NVMe drive and files are stored on HDD storage (4 TB)

Sign In or Register to comment.