Disks

Maybe I need another zpool

I might need to create another zpool. Or perhaps move a drives/zpool from one host to another. In this post: FreeBSD 13.1 Background I am combining two hosts (slocum and r720-01) into one new host (r730-01). I have been moving jails from those hosts. I have an ansible playbook for creating new entries in /etc/jail.conf.d/. I thought I had the space calculations done right. Now I think I’m wrong.I’m already at 73% on […]

Maybe I need another zpool Read More »

stressdisk

This was written a few weeks ago and I just noticed today that it had not been published. Following on from I bought a new nvme drive – or did I?, I ran stressdisk on it. [dvl@test ~]$ sudo gpart add -a 4k -t freebsd-zfs nvd0 nvd0p1 added [dvl@test ~]$ gpart show nvd0 => 34 500118125 nvd0 GPT (238G) 34 6 – free – (3.0K) 40 500118112 1 freebsd-zfs (238G) 500118152 7 –

stressdisk Read More »

I bought a new nvme drive – or did I?

Bought a new NVMe drive. Installed it using cheap PCIe adaptor bought off Amazon. From /var/run/dmesg.boot nvd0: NVMe namespace nvd0: 244198MB (500118192 512 byte sectors) Surprisingly, the device is already partitioned. [dvl@test ~]$ gpart show nvd0 => 34 500118125 nvd0 GPT (238G) 34 500118125 – free – (238G) [dvl@test ~]$ Eh, is is this a used device? The static bag it arrived in was sealed. Let’s see. [dvl@test ~]$ sudo smartctl -a /dev/nvd0

I bought a new nvme drive – or did I? Read More »

writing random data via geli

You might recall that suspect drive from the zpool replace on the weekend. Thomas Hurst suggested: Might be worth overwriting the drive, try to encourage it to actually reallocate the sectors now the data on them is no longer needed. I, being one to take advice from people on the internet, and Michael W Lucas, decided to try his suggestion. The drive in question. [dan@knew:~] $ tail /var/log/messages Dec 14 00:00:00 knew newsyslog[88570]:

writing random data via geli Read More »

Replacing a failing drive in a ZFS zpool

In this post I will replace a working, but suspect, drive with another drive. No down time. The server is knew. In this post: FreeBSD 12.2 ZFS TOSHIBA MD04ACA500 5TB drive – the suspect drive: da17 TOSHIBA HDWE150 5TB drive – the replacement: da22 None of these drives are under warranty What drives are in this server? I have had good luck with Toshiba DT01ACA300 3TB drives (presenting as Hitachi HDS723030BLE640), starting a

Replacing a failing drive in a ZFS zpool Read More »

Duplicating a zpool

I have these boot drives, I want to copy them to another. They both happen to be zroot and bootable. I booted from mfsBSD and imported both new and old zroot, using the pool ID shown by zpool import -N. root@mfsbsd:~ # zpool import -N pool: data01 id: 2668514456528412656 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: data01 ONLINE mirror-0 ONLINE gpt/S59VNS0N809087J_S00 ONLINE gpt/S59VNJ0N631973D_S01 ONLINE mirror-1

Duplicating a zpool Read More »

Creating a 4 drive ZFS zpool: stripe over mirrors

In this post, I am creating a 4 drive ZFS pool consisting of two mirror. In this post: I’m booting from mfsBSD 12.1 ZFS Creating partitions On FreeBSD, it is convention to create partitions. It is not necessary, but I don’t use all the space in case a future replacement drive is slightly smaller than these drives. NOTE: I am not, but have not confirmed that this is no longer a problem in

Creating a 4 drive ZFS zpool: stripe over mirrors Read More »

replacing an existing zroot with a proper zroot

I wrote this post late one night while pondering how to solve this problem. I may have solved it with much less effort. I want to copy a zroot from old drives to new drives. The new drives are in a test box of mine. Once the new drives are configured, I will replace the existing mirror with them. Not shown here, I have already installed FreeBSD 12.1 on the new drives. I

replacing an existing zroot with a proper zroot Read More »

knew

This post has been replaced by a newer post. For future reference, this is the knew server … oh wait, I think it’s this server which is was mounted in the 4U chassis mentioned in this post. It runs a few jails, including Bacula regression testing services. It is now mounted in a SuperChassis 846E16-R1200B This is the previous post for this system configuration. Photos of the assembly. File systems Paritions zpools Those

knew Read More »

Scroll to Top