Delete speedtest file from system drive

Hello,

I tried running this command that I found on a different thread to test my RAIDZ1 pool.

fio --name=seqread --rw=read --direct=0 --iodepth=32 --bs=128k --numjobs=1 --size=128G --group_reporting

However while monitoring the drive activity I saw only my boot drive SSD writing. Now I have a 128G file just sitting there.

Any idea about how I can delete it? I’m guessing the name of the file is “seqread”, judging by the prompt above?

Thanks a lot,
Bogdan

Hey @Bogdan_B

Assuming you ran this from the web UI under System → Shell, you can open the same shell and use the ls command to determine if the file is in the default directory.

You can then use the rm command with the filename, such as rm seqread

1 Like

try listing the /boot directory from a shell

ls /boot

Do you see the file listed there?
If so, just do the ‘rm’ command. View the man page for ‘rm’ if you need too see options

Fantastic, thank you both for your help!

It was indeed showing by using the ls command and I was able to remove it via rm seqread.0.0. Now I have all the empty space I’ll never going to use back again.

I guess the lesson to be learned here is not to run any old command you see on the internet without understanding what it will do.

2 Likes

…and do not ever “remove the French language pack” :scream:

3 Likes

That’s actually a good idea, I could set the interface to French, so the next time I screw something up I just say “Oh, la la…” instead of “oh, ffs…”.

I’m at that point where Truenas Scale is a new thing, so I try to get an understanding about how it works. This was the first shell command I used in about 20 so far that didn’t work as intended, although I must admit I kinda pasted it blindly. Usually I try to first have a basic understanding of every parameter.

What I personally learnt, besides of course what @Protopia said, is that you need to target your desired pool/datasets with commands of these nature.

Off I go, let me see if I can find some commands that will download me more RAM and convert my HDDs to SSDs. :smile: