Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

How do you fill a server to the brim with dummy files?

As title says I want to stress test my hdds and ssds and see if the amount of data is what I really have on each server

My favourite thing ever is one click installers so if we could keep it on the simple side so everyone can join in

Many thanks

Comments

  • $ split -b10G /dev/random &

    (you change the 10G to whatever size files you want created)

    Thanked by 2eb1995 Kebab
  • farsighterfarsighter Member
    edited December 2024

    You can run this as many times as you need
    fallocate -l 10G /filepath

    Thanked by 1eb1995
  • Better fill disk with 3kB size files. Up to the brim.

    Thanked by 1eb1995
  • @Levi said:
    Better fill disk with 3kB size files. Up to the brim.

    Or unzip a zip bomb :D

  • layer7layer7 Member, Host Rep, LIR

    @eb1995 said:
    As title says I want to stress test my hdds and ssds and see if the amount of data is what I really have on each server

    My favourite thing ever is one click installers so if we could keep it on the simple side so everyone can join in

    Many thanks

    Hi,

    if you really want to test it and f*** up your provider AND have a yearly plan, THEN you should wait some time ( so other customers will also start filling ) and then fill it.

    Wont help you to make it full now, see that it can be filled and delete all again as right now it all might be still fresh and virgin empty on the providers storage. So an overselling might slip through your test this way easily.

    Or... you will fill it and then delete as much as you actually need to store and then store the real files. -- Would require to know before how much space you need.

  • @layer7 said:

    @eb1995 said:
    As title says I want to stress test my hdds and ssds and see if the amount of data is what I really have on each server

    My favourite thing ever is one click installers so if we could keep it on the simple side so everyone can join in

    Many thanks

    Hi,

    if you really want to test it and f*** up your provider AND have a yearly plan, THEN you should wait some time ( so other customers will also start filling ) and then fill it.

    Wont help you to make it full now, see that it can be filled and delete all again as right now it all might be still fresh and virgin empty on the providers storage. So an overselling might slip through your test this way easily.

    Or... you will fill it and then delete as much as you actually need to store and then store the real files. -- Would require to know before how much space you need.

    For profit Host and conservative greedy customer meet at LET. If everyone fill the HDD, RAM, start consuming reasonable CPUs, even exchange data, the power consumption will raise, almost DDOS the own server. Avoid it. Most people buy them just for adrenal rush or for network transfer like proxies or fun project. For sure, these providers not meant for stress testing.

    Thanked by 1alfirous
  • layer7layer7 Member, Host Rep, LIR

    @gks said:
    For profit Host and conservative greedy customer meet at LET. If everyone fill the HDD, RAM, start consuming reasonable CPUs, even exchange data, the power consumption will raise, almost DDOS the own server. Avoid it. Most people buy them just for adrenal rush or for network transfer like proxies or fun project. For sure, these providers not meant for stress testing.

    Hi,

    you have for sure a point.

    But the topic opener has as it seems to me another goal. And its also understandable.

    If you bought super cheap and doubt the provider, you have to test it before you use it for your precious data.

    People write often "what do you expect from a XYZ EUR/USD server"... but i also have here another opinion.

    The provider decided to give you tons of resources for virtually nothing. Thats the problem of the provider. Actually its the adrenaline rush for the provider, if x% of people will (hopefully) not use what they actually paid for...

    I mean whats that? If you know/doubt as a provider that you cant deliver it, then dont offer it.

    But, we are in times where every idiot can offer what ever nonsense and people will buy it, not thinking about if this is actually economically or even technically possible.

    So, why not testing it? Not to disturb the neighborhood? Well... sorry, the offers does usually not say "X CPU Cores, Y GB RAM, Z GB diskspace ( only useable up to 10% )" so whats wrong if someone wants to know how heavy the system is overbooked or if the advertised resources are existing anyway.

    Thanked by 1sillycat
  • FWIW, I wouldn't bother doing this on a new machine, but I'd almost always do it on a server that I'm about to get rid of after deleting anything important/sensitive, just to make sure that the next person to get the disk can't just read back my data. Nowadays, because most providers use NVMe and any TRIM'd regions will read back as zero when re-allocated, this isn't a big deal, but for spinning rust it's more important.

  • @layer7 said:

    @gks said:
    For profit Host and conservative greedy customer meet at LET. If everyone fill the HDD, RAM, start consuming reasonable CPUs, even exchange data, the power consumption will raise, almost DDOS the own server. Avoid it. Most people buy them just for adrenal rush or for network transfer like proxies or fun project. For sure, these providers not meant for stress testing.

    Hi,

    you have for sure a point.

    But the topic opener has as it seems to me another goal. And its also understandable.

    If you bought super cheap and doubt the provider, you have to test it before you use it for your precious data.

    People write often "what do you expect from a XYZ EUR/USD server"... but i also have here another opinion.

    The provider decided to give you tons of resources for virtually nothing. Thats the problem of the provider. Actually its the adrenaline rush for the provider, if x% of people will (hopefully) not use what they actually paid for...

    I mean whats that? If you know/doubt as a provider that you cant deliver it, then dont offer it.

    But, we are in times where every idiot can offer what ever nonsense and people will buy it, not thinking about if this is actually economically or even technically possible.

    So, why not testing it? Not to disturb the neighborhood? Well... sorry, the offers does usually not say "X CPU Cores, Y GB RAM, Z GB diskspace ( only useable up to 10% )" so whats wrong if someone wants to know how heavy the system is overbooked or if the advertised resources are existing anyway.

    I think, for data backup, replication is very important, let us say, CEPH storage used for storage, the system was unit tested at code level, integration testing was done, the system must have at least 3 replicas, Hard disk/storage must have raid array. Also host don't advertise for fault tolerance, HA etc. I am still doubtful to rely on low end hosts for life long storages if someone very serious about their own data at low budget. I think, at lowendhosting, as long as things works, we seems to be lucky. Microsoft like providers offer office 365 with 1 TB or 5 TB sizes, most trustable if the storages are really important.

  • dev_vpsdev_vps Member
    edited December 2024

    @eb1995 said:
    As title says I want to stress test my hdds and ssds and see if the amount of data is what I really have on each server

    My favorite thing ever is one click installers so if we could keep it on the simple side so everyone can join in

    Many thanks

    if I have used 3.2TB+ out of 4TB allocated, that is good enough test for me.

    Thanked by 1eb1995
  • I just think it would be interesting to fill every server and see if any provider says anything especially when I’m on the fence on which monthly ones to get rid of.

    But thanks for the replies. Looks like some easy enough methods.

  • yoursunnyyoursunny Member, IPv6 Advocate

    Open your IPMI to the pubic internet, and JungleSec will take care of filling the diks.

    Thanked by 2eb1995 costcotravel
  • What is the point of filling disk with useless/random data - how you gonna verify it's really there?!

    aka China SDcards :-D?

  • jarjar Patron Provider, Top Host, Veteran
    edited December 2024

    while true; do touch $(uuidgen); done

    At least for inodes.

  • qtwrkqtwrk Member
    edited December 2024

    @gks said:
    I think, for data backup, replication is very important, let us say, CEPH storage used for storage, the system was unit tested at code level, integration testing was done, the system must have at least 3 replicas, Hard disk/storage must have raid array. Also host don't advertise for fault tolerance, HA etc. I am still doubtful to rely on low end hosts for life long storages if someone very serious about their own data at low budget. I think, at lowendhosting, as long as things works, we seems to be lucky. Microsoft like providers offer office 365 with 1 TB or 5 TB sizes, most trustable if the storages are really important.

    I personally wouldn't rely on , say , CEPH or RAID from providers, whether it's expensive provider or economic provider.

    but I do get the part of replication , I'd rather have same copy saved on multiple storage servers across different regions.

Sign In or Register to comment.