ZFS

Creating the new zpools

I have 4 new storage devices to create 2 new zpools, each a two-vdev mirror. Let’s go. In this post: FreeBSD 14.3 These are the drives I have. As an Amazon Associate I earn from qualifying purchases. The 4TB NVMe cards are Samsung 990 EVO Plus SSD 4TB, PCIe Gen 4×4 | Gen 5×2 M.2 The 4TB SSDs are SAMSUNG 870 EVO 4TB 2.5 Inch SATA III Internal SSD (MZ-77E4T0B/AM) The new data02 […]

Creating the new zpools Read More »

Compression results

Let’s tally up. For reference, this is one of a series of posts regarding compression testing on zpools: Experimenting with compression off Experimenting with compression=lz4 Experimenting with compression=zstd Compression results – you are here Samsung-SSD-870 4TB SSD For the Samsung-SSD-870 4TB SSD no compression we had: 2:34 = 154s 2:32 = 152s 2:30 = 150s 3:52 = 238s 4:46 = 286s 4:16 = 256s 4:15 = 255s 4:15 = 255s 4:49 = 289s

Compression results Read More »

GEOM: nda1: the primary GPT table is corrupt or invalid

When I destroyed the zpools when I was done with zstd compression testing, these errors appeared in /var/log/messages: You’d be shocked to learn these messages appear when creating a zpool with those devices: [12:21 r730-01 dvl ~/tmp] % sudo zpool create Samsung-SSD-980-PRO-geom-issues mirror /dev/nda1 /dev/nda2 re: Background: these two devices were part of a zpool before I started playing with them. They had partitions on them. Recovery and destroy There may be a

GEOM: nda1: the primary GPT table is corrupt or invalid Read More »

Experimenting with compression=zstd

Following on from my previous post where I tested lz4, let’s try compression=zstd. Experimenting with compression off Experimenting with compression=lz4 Experimenting with compression=zstd – you are here Compression results First, we delete the old: [21:19 r730-01 dvl ~/tmp] % sudo zpool destroy Samsung-SSD-870-compression-lz4 [21:19 r730-01 dvl ~/tmp] % sudo zpool destroy Samsung-SSD-980-PRO-compression-lz4 [21:19 r730-01 dvl ~/tmp] % sudo zpool destroy Samsung-SSD-990-EVO-compression-lz4 Then create the new: [21:19 r730-01 dvl ~/tmp] % sudo zpool create

Experimenting with compression=zstd Read More »

Experimenting with compression=lz4

Following on from my previous post where I tested with compress off, let’s try compression=lz4. Experimenting with compression off Experimenting with compression=lz4 – you are here Experimenting with compression=zstd Compression results First, we delete the old: [19:45 r730-01 dvl ~] % sudo zpool destroy Samsung-SSD-870-no-compression [19:45 r730-01 dvl ~] % sudo zpool destroy Samsung-SSD-980-PRO-no-compression [19:46 r730-01 dvl ~] % sudo zpool destroy Samsung-SSD-990-EVO-no-compression [19:46 r730-01 dvl ~] % Then create the new: [19:47

Experimenting with compression=lz4 Read More »

Experimenting with compression off

Now that the new storage is in place, I thought to test with compression on and off. Perhaps also use both lz4 and zstd. For reference, this is one of a series of posts regarding compression testing on zpools: Experimenting with compression off – you are here Experimenting with compression=lz4 Experimenting with compression=zstd Compression results My plan: create three zpools of two mirrored devices and test. There will be three posts: compression off,

Experimenting with compression off Read More »

Adding in new NVMe cards and sticks – and replacing two SSDs

I notice I also worked with some SSDs at the end of this post – I have since amended the title of this post. In this post: FreeBSD 14.3 Today I removed two existing NVMe cards, each with a 1TB stick on it. Those sticks were added to these cards: If you want the same hardware, you can use these links. As an Amazon Associate I earn from qualifying purchases. These are all

Adding in new NVMe cards and sticks – and replacing two SSDs Read More »

Mounting and unmounting zfs filesystems within a #FreeBSD jail

I have a jail on r730-01 called dvl-ingress01. Here are some filesystems related to that jail: [11:50 r730-01 dvl ~] % zfs list | grep dvl-ingress01 | grep repos NAME USED AVAIL REFER MOUNTPOINT data02/freshports/dvl-ingress01/ingress/repos 8.65G 1011G 112K /jails/dvl-ingress01/var/db/ingress/repos data02/freshports/dvl-ingress01/ingress/repos/doc 706M 1011G 678M /jails/dvl-ingress01/var/db/ingress/repos/doc data02/freshports/dvl-ingress01/ingress/repos/ports 3.53G 1011G 2.30G /jails/dvl-ingress01/var/db/ingress/repos/ports data02/freshports/dvl-ingress01/ingress/repos/src 4.44G 1011G 2.73G /jails/dvl-ingress01/var/db/ingress/repos/src data02/freshports/dvl-ingress01/repos 120K 1011G 120K /jails/dvl-ingress01/var/db/ingress/repos That is not a complete list, but it illustrates the filesystems I’m working with

Mounting and unmounting zfs filesystems within a #FreeBSD jail Read More »

Clear the existing good drive and add it to the new zpool

In recent posts: Doing a bit of stress work on a new HDD x8dtu: adding in the smaller drive Swapping zpools – moving from using main_tank to using data If you have a look over those posts, you’ll see why you never want to downsize a zpool. In this post: FreeBSD 14.2 removing the zfs labels from an drive which was part of a zpool which is no longer in use destroying the

Clear the existing good drive and add it to the new zpool Read More »

Doing a bit of stress work on a new HDD

As foreshadowed in x8dtu – drive problems, I will be visiting a data center soon to replace a 4TB HDD. The replacement HDD arrived last night. It was unceremoniously tossed onto the front porch by the courier. However, it was properly packaged. I’m sure it’s fine. The original idea: put this drive into a host, and write some data to it, to exercise it a bit. As you will soon learn, that is

Doing a bit of stress work on a new HDD Read More »

Scroll to Top