OpenMediaVault 6.0 Notes 2022/09/19 by Ami Sapphire Last Updated: 2023/09/03 2022 [1002] Added disabling NCQ for troubleshooting purposes and for entire system [1004] Fixed path error for grub file on Disabling NCQ permanently section Added force SATA data link speed section Change GRUB_CMDLINE_LINUX_DEFAULT to GRUB_CMDLINE_LINUX for NCQ/SATA Link Speed 2023 [0715] Added xz-utils package install [0818] Added obsolete note regarding OMV_SAMBA_NMBD_ENABLE NetBIOS setting [0822] Add cryptsetup-bin package install Add ext4 data journal behavior change section - override and permanent [0903] Add obsolete note regarding SMB: extra options entry, specifically the min protocol entry --- Disabling NCQ (troubleshooting mode) echo 1 > /sys/block/sdX/device/queue_depth where X is the problem drive -- Disabling NCQ permanently for each boot (for problematic chipsets) nano /etc/default/grub change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="libata.force=noncq" Ctrl+S Ctrl+X update-grub reboot -- Force SATA data link speed permanently for each boot (for problematic chipsets) nano /etc/default/grub change GRUB_CMDLINE_LINUX="" to GRUB_CMDLINE_LINUX="libata.force=xGbps" for x = 1.5, 3.0, 6.0 Ctrl+S Ctrl+X update-grub reboot -- Override default journal data behavior for ext4 filesystems on a device nano /etc/fstab on the mount entry in question, add one of the following in the options section: data=journal data=ordered data=writeback Note: data=ordered is the default in most distros. -- Permanently change the default journal behavior for ext4 filesystems on a device tune2fs -o journal_data /dev/[mdX,sdX] tune2fs -o journal_data_ordered /dev/[mdX,sdX] tune2fs -o journal_data_writeback /dev/[mdX,sdX] Note: journal_data_ordered is the default in most distros. -- SSH terminal fix for certain SSH clients On the physical NAS, type the following: apt-get install ncurses-term -- Enabling nmbd for NETBIOS discovery (starting with OpenMediaVault 6.0.19) As of OpenMediaVault 6.6.0, this entry is obsolete with the 'Enable NetBIOS' setting located in Services > SMB/CIFS > Settings, under Advanced Settings. systemctl unmask nmbd.service omv-env set OMV_SAMBA_NMBD_ENABLE "YES" omv-salt stage run prepare omv-salt stage run deploy OR omv-salt stage deploy run samba -- SMB: extra options As of OpenMediaVault 6.8.0, the min protocol entry is obsolete with the 'Minimum protocol version' setting located in Services > SMB/CIFS > Settings, under Advanced Settings... to a point. If you need Win3.x to Win9x support, you still need the server min protocol=LANMAN1 entry under Extra options. server min protocol=LANMAN1 (for Win3.x to Win9x machine support at minimum) OR server min protocol=NT1 (for NT4 to WinXP machine support at minimum) netbios name=xyz (this does not seem to work right) -- WSDD: hostname change (this also does not seem to work right) omv-env set OMV_WSDD_OPTIONS "-h xyz" omv-salt stage run prepare omv-salt stage run deploy OR omv-salt stage deploy run samba -- OMV Extras Follow the wiki page here: https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide -- xz-utils not present This package is used to compress and extract .tar.xz and .xz packages. It is not installed by default. apt install xz-utils -- dm-integrity not present This utility is part of a package called cryptsetup; it is used for encryption and data integrity for storage devices. It is not installed by default. apt install cryptsetup-bin