rename NTFS filesystem label

  • Hi, I'm running omv 4 on a raspberry pi2.
    I have an usb drive attached (NTFS) an I mounted it.
    After some days I saw that the label for the disk partition is "TOSHIBA 1TB", with the space char.
    In the log I see some lines like:

    Code
    Dec  8 15:43:29 raspberrypi systemd[1]: [/etc/systemd/system/sharedfolders-Docker_base.mount:7] Failed to add required mount "1TB", ignoring: Invalid argument


    The space is causing issue somewhere.
    How can I rename it?
    Can I mount the filesystem using UUID instead of label?

    • Offizieller Beitrag

    How can I rename it?

    As it is NTFS: connect it to a windows machine and change it. Before that you have to remove all shared folders in order to be able to unmount it from the GUI.


    In general it is not recommended to use NTFS filesystem as storage for a linux NAS (metadata and permission issues). So best option would be to create ext4 filesystem on the drive.

  • Hi you can try


    Code
    ntfslabel /dev/sdXX NewLabel
    and if needed
    ntfsfix /dev/sdXX

    AMD Ryzen 5 2400G on Asus TUF B450M-PLUS - 16Gb RAM - 3 * 3To RAID5 on LSI Megaraid SAS 9260-8i and 3 SSD in Fractal Design Node 804 Black
    OS: OMV 6.3.2-1 (Shaitan)

    2 Mal editiert, zuletzt von Methy ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!