linux:filesystem:zfs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:filesystem:zfs [2025/10/08 01:44] – [Format NVMe with bigger sector size] gsys | linux:filesystem:zfs [2025/10/08 03:44] (current) – [Format NVMe with bigger sector size] gsys | ||
---|---|---|---|
Line 45: | Line 45: | ||
</ | </ | ||
+ | by-id | ||
+ | < | ||
+ | zpool create -o ashift=12 -O compression=lz4 -O atime=off -O xattr=sa local-datastore-nvme01 \ | ||
+ | mirror / | ||
+ | mirror / | ||
+ | </ | ||
===== Delete ZFS Pool ===== | ===== Delete ZFS Pool ===== | ||
Line 63: | Line 69: | ||
Check column " | Check column " | ||
< | < | ||
- | root@pve01: | + | root@pve01: smartctl -a / |
{...} | {...} | ||
Supported LBA Sizes (NSID 0x1) | Supported LBA Sizes (NSID 0x1) | ||
Line 79: | Line 85: | ||
Verify the change. | Verify the change. | ||
< | < | ||
- | root@pve01: | + | root@pve01: smartctl -a / |
{...} | {...} | ||
Supported LBA Sizes (NSID 0x1) | Supported LBA Sizes (NSID 0x1) | ||
Line 92: | Line 98: | ||
lsblk -d -o NAME, | lsblk -d -o NAME, | ||
nvme id-ns -H / | nvme id-ns -H / | ||
+ | </ | ||
+ | |||
+ | ===== Misc ===== | ||
+ | |||
+ | ==== Remove orphaned pool ==== | ||
+ | |||
+ | Debian fails to start import service of an orphaned pool. | ||
+ | < | ||
+ | zpool set cachefile=/ | ||
+ | update-initramfs -k all -u | ||
+ | reboot | ||
+ | </ | ||
+ | |||
+ | check labels on disks | ||
+ | < | ||
+ | zdb -l / | ||
</ | </ |
linux/filesystem/zfs.1759880688.txt.gz · Last modified: by gsys