owsleygarcia95
Dabbler
- Joined
- Jan 13, 2024
- Messages
- 32
Ok I figured out how to enable SSH on the NAS. So I tried it again and now I'm getting this.If you're getting the "Connection refused" error, you haven't enabled the SSH service on your NAS.
Ok I figured out how to enable SSH on the NAS. So I tried it again and now I'm getting this.If you're getting the "Connection refused" error, you haven't enabled the SSH service on your NAS.
That's the one....or root login with password?
Ok thanks. Well I've managed to create a dataset, add an additional user and set up a windows smb. Started a file transfer that I promptly ended when it was only getting about 73MB/s. Hoping that the Mellanox 10gb NICs on the way will work (I returned some intel ones because they didn't have a windows 11 driver, I kind of got it to work but read good things about Mellanox).
So I finally got logged in under admin, but when I try to login under root, it says permissions denied and prompts me for a password again. I know I only made one password, so I'm not sure why admin works and root doesn't. I gave permissions to both of them....or root login with password?
Be very cautious when using YouTube videos to manage and configure TrueNAS. That's all I'm going to say.Hopefully I can figure the rest out with youtube videos and google. It's going to be awesome to have almost 100 TiB soon.
Will definitely keep that in mind. I'm going to make sure I can configure everything I want to use and run all my drive tests with this test build, and then once I'm positive I can get everything I want up and running easily, I will wipe everything and do a fresh install. Should be a lot easier the second time lol.Be very cautious when using YouTube videos to manage and configure TrueNAS. That's all I'm going to say.
If you're going to preserve dozens of TiB, do understand that the more "top-heavy" you get, the more difficult it becomes to keep up-to-date- backup(s) of everything.
PS C:\Users\burt> ssh admin@192.168.0.149
The authenticity of host '192.168.0.149 (192.168.0.149)' can't be established.
ED25519 key fingerprint is SHA256:dv/uoll+jQFZxviqQhcT0mfhkPVVsrPO0jLLWMXY0bU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.0.149' (ED25519) to the list of known hosts.
admin@192.168.0.149's password:
Last login: Mon Jan 22 11:58:27 2024
TrueNAS (c) 2009-2023, iXsystems, Inc.
All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.
For more information, documentation, help or support, go here:
http://truenas.com
Welcome to test Server
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI, CLI, and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.
admin@test[~]$
admin@test[~]$ exit
I know what you mean. The first time I tried to configure everything I set some whacky permissions and I couldn't even get qbittorent installed lol. Second time has gone much smoother. Downloading a TB or 2 just for the heck of it today.( I only have half my drives installed, waiting on cages that go with my case off Ali express. So I'll end up wiping this and making a single vdev.) But at the same time I would have been almost screwed without some kind of YouTube video to get me through the basics. It definitely helped to a point. But definitely needed to be supplemented with threads and the official website. I don't know. I know I figured out everything I wanted this thing to do, so I'm happy lol.That's wise to wipe and reinstall. Youtube videos, ugh. They are great for many things in life, but Truenas support is generally not one of them for many reasons. While it may take more effort, actually learning the different pieces you need to learn to properly manage a NAS is a better use of your time. Eventually, you won't need any videos. It's better to understand the underlying tech if at all possible. Makes fixing issues easier in the long term.
That looks pretty cool and convenient if I can figure out how to use it lol. I see that I can download the raw file, but I have no idea what to do with it after that. Could you generally explain how I would go about running this script?I have a burn in script that will run smart tests and badblocks (it automatically adjusts for disk capacity) on a list of drives that you give it automatically launching tmux sessions for each one and logging the results to files. This is best done on raw disks that are not part of pool (it will destroy any data on them)
The explanation below is copied from a forum "oldie-but-goodie" found at https://www.truenas.com/community/threads/scripts-to-report-smart-zpool-and-ups-status-hdd-cpu-t%C2%B0-hdd-identification-and-backup-the-config.27365/Could you generally explain how I would go about running this script
Hey. I'm finally about to start these tests. I was kind of working on getting everything else working first. I've managed to get a tmux session to work fine, and started an ssh logged in as root. I was thinking about using this line, badblocks -b 8192 -c 128 -ws /dev/... that etorix mentioned, except replacing it with -b 65536, since you suggested it earlier. I assume this will speed up the test to a point?There's no reason not to increase it further. On the 16 TB drives I'm testing right now, I'm running with-b 65536.
-b is block size, -c is count, i.e. the number of blocks in one go; together they define the size of the data chunk that is read/written on each operation. Too few is ineffective but bigger than the hardware can chew will slow the test. In my experiments with 10-12 TB drives, -b 4096 with -c 128 or -c 256 made little difference. If you go up to 64ki for a block, decrease 'count' accordingly.Ok I guess I'll just go with the badblocks -b 8192 -c 128 -ws /dev/sda you suggested originally then. Thanks for the explanation.Badblocks does not care whether the drives are new, used, already formatted or whatever: It reads (and writes) raw sectors.
-bis block size,-cis count, i.e. the number of blocks in one go; together they define the size of the data chunk that is read/written on each operation. Too few is ineffective but bigger than the hardware can chew will slow the test. In my experiments with 10-12 TB drives,-b 4096with-c 128or-c 256made little difference. If you go up to 64ki for a block, decrease 'count' accordingly.