Sidebar

Linux Admin

linux
Linux Admin Helix 2 years ago 100%
SMART data of Samsung PM1643a SSD connected through MR9560-16i

When I run `smartctl -Ai -d megaraid,0 /dev/sda` I only get the following output: ``` smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.19.0+1] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: NVMe Product: SAMSUNG MZQLB7T6 Revision: 502Q Compliance: SPC-5 User Capacity: 7,681,501,126,656 bytes [7.68 TB] Logical block size: 512 bytes LU is resource provisioned, LBPRZ=0 Rotation Rate: Solid State Device Logical Unit id: REDACTED Serial number: REDACTED Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Wed Oct 26 REDACTED SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === Current Drive Temperature: 33 C Drive Trip Temperature: 86 C ``` I expected to see stuff like Total_Writes_GiB (TBW) or other "Vendor Specific SMART Attributes" I get on other systems, including the SMART log. How can I get the complete SMART data here? Is it possible to use `nvme` to show the statistics as it seems to be an NVMe-attached drive? `nvme list` only shows me the disks not connected through the MegaRAID controller…

2
0
linux
Linux Admin sexy_peach 2 years ago 100%
[SOLVED] Add cheap HDD storage (from home) to a small Peertube VPS

This is the second try (original post: https://feddit.de/post/426890) of me trying to get an answer, this time I'll be more specific of what I am thinking to do. I thought a more generalized question would be enough. Sorry for that. A peertube server needs lots of storage. Many of the videos will hardly get any views. Storage space on a vps is pretty expensive, storage space in general isn't cheap. So my thought was to have a disk at home (maybe external disk on a raspberry pi) and a VPS. The VPS only has a very limited amount of storage, but is otherwise totally able to run peertube well. So why not have a virtual file system on the VPS, which looks like it has the size of the HDD and it uses a specified amount of the vps storage for caching. So if someone watches a popular part of a popular video, the vps can serve the video content from the local disk. If someone wants to watch the video that nobody ever watches, it's not a problem since the uplink from home can easily deliver that as well, without the video taking the precious storage. Block caching would be best, since file caching wouldn't be ideal with video files being really big in some cases. So a very long video would fill the cache, even if only parts of it are needed. The remote storage doesn't need to be from home of course, could be cheap cloud storage. I know that peertube works with s3, but it will only move transcoded videos into a bucket and then serve them directly from there. I don't want that from home, it would also not use the upload performance of the VPS for popular videos. Any thoughts? Good idea or not? I have worked with bcache in the past and was always very impressed with the performance, I think my scenario could really work.

5
4
linux
Linux Admin sexy_peach 2 years ago 100%
Expand VPS with slow cached network storage

Hey I am looking for a way to have a network folder on a vps that uses a configurable amount of local storage for caching.

2
7
linux
Linux Admin Tiuku 2 years ago 100%
Does Podman run have a noconfirm setting?

Does podman run (among other commands) have a noconfirm type of option/config? Like apt's `$ apt-get install --yes pacman`, which will install pacman and automatically answer yes to any questions that might pop-up. In podman, when you have a conf like this in */etc/containers/registries.conf:* ` unqualified-search-registries = ['some-mirror.org', 'docker.io'] ` and you run something like: `$ podman run -it --rm archlinux bash -C "echo hello world"` It might happen that both of those registries have a container called `archlinux`. In this case podman will stop and ask you to choose. I would like to just default to the first option. Here's a blog post about container registries and podman (which didn't help but it's still interesting): https://www.redhat.com/sysadmin/manage-container-registries

1
3
linux
Linux Admin sexy_peach 3 years ago 100%
VMs and VM management for your home

What do you use, prefer? I have mostly used KVM with qemu, but I want to try out other things. I have heard of proxmox and all kinds of cool management things, what's a solid setup that supports easy backups and such things? KVM and qemu is solid and pretty easy to understand. Basic control of the VMs can be done with virt-manager, which is a basic but solid tool.

4
1