dlandon / unassigned.devices

Unassigned Devices plugin for unRAID
Other
85 stars 40 forks source link

Mounting as RO should be RW #104

Closed aminoginji closed 1 month ago

aminoginji commented 1 month ago

Sep 28 11:01:58 HomeLab unassigned.devices: Partition found with the following attributes: serial_short='ZL223WJG', device='/dev/sdc1', serial='ST16000NM001G-2KK103_ZL223WJG', uuid='', part='1', disk='/dev/sdc', label='ZL223WJG-part1', disk_label='', array_disk='', fstype='', mountpoint='/mnt/disks/ZL223WJG-part1', luks='', file_system='', not_udev='', mounting='', unmounting='', pass_through='', mounted='', part_read_only='', pool='', pool_name='', not_unmounted='', disable_mount='', target='', size='0', used='0', avail='0', owner='user', read_only='', shared='1', command='', user_command='', command_bg='true', enable_script='false', prog_name='', logfile='', running='', ud_device='1', formatting='', clearing='', preclearing='' Sep 28 11:01:58 HomeLab unassigned.devices: Partition '/dev/sdc1' does not have a file system and cannot be mounted. Sep 28 11:01:58 HomeLab unassigned.devices: Partition found with the following attributes: serial_short='ZL223WJG', device='/dev/sdc2', serial='ST16000NM001G-2KK103_ZL223WJG', uuid='5A4897154896EF4F', part='2', disk='/dev/sdc', label='Plex', disk_label='Plex', array_disk='', fstype='ntfs', mountpoint='/mnt/disks/anime', luks='', file_system='ntfs', not_udev='', mounting='', unmounting='', pass_through='', mounted='', part_read_only='', pool='', pool_name='', not_unmounted='', disable_mount='', target='', size='0', used='0', avail='0', owner='user', read_only='', shared='1', command='', user_command='', command_bg='true', enable_script='false', prog_name='', logfile='', running='', ud_device='1', formatting='', clearing='', preclearing='' Sep 28 11:01:58 HomeLab unassigned.devices: Mounting partition 'sdc2' at mountpoint '/mnt/disks/anime'... Sep 28 11:01:58 HomeLab unassigned.devices: Mount cmd: /sbin/mount -t 'ntfs' -o rw,relatime,nodev,nosuid,nls=utf8,umask=000 '/dev/sdc2' '/mnt/disks/anime' Sep 28 11:02:00 HomeLab ntfs-3g[49849]: Mounted /dev/sdc2 (Read-Only, label "Plex", NTFS 3.1) Sep 28 11:02:00 HomeLab ntfs-3g[49849]: Mount options: nodev,nosuid,nls=utf8,allow_other,nonempty,relatime,ro,default_permissions,fsname=/dev/sdc2,blkdev,blksize=4096 Sep 28 11:02:00 HomeLab unassigned.devices: Successfully mounted '/dev/sdc2' on '/mnt/disks/anime'.

aminoginji commented 1 month ago

found the issue: Sep 28 11:02:00 HomeLab unassigned.devices: Mount warning: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Falling back to read-only mount because the NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting.) Could not mount read-write, trying read-only