dlandon / unassigned.devices

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

Mount drive Read-Only #90

Closed Daoshuailx007 closed 1 year ago

Daoshuailx007 commented 1 year ago

unRaid 6.11.5 unassigned.devices 2022.12.12

Dec 14 23:00:35 Tower kernel: ata5: SATA max UDMA/133 abar m2048@0xd0610000 port 0xd0610200 irq 93 Dec 14 23:00:35 Tower kernel: ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) Dec 14 23:00:35 Tower kernel: ata5.00: ATA-9: WDC WD10EZEX-08M2NA0, 01.01A01, max UDMA/100 Dec 14 23:00:35 Tower kernel: ata5.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 32), AA Dec 14 23:00:35 Tower kernel: ata5.00: configured for UDMA/100 Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB) Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] 4096-byte physical blocks Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] Write Protect is off Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] Mode Sense: 00 3a 00 00 Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] Preferred minimum I/O size 4096 bytes Dec 14 23:00:35 Tower kernel: sdd: sdd1 Dec 14 23:00:35 Tower kernel: sd 5:0:0:0: [sdd] Attached SCSI removable disk Dec 14 23:00:56 Tower wsdd2[1078]: starting. Dec 14 23:01:01 Tower emhttpd: WDC_WD10EZEX-08M2NA0_WD-WCC3FLFUTC3T (sdd) 512 1953525168 Dec 14 23:01:01 Tower emhttpd: read SMART /dev/sdd Dec 14 23:01:02 Tower wsdd2[1078]: 'Terminated' signal received. Dec 14 23:01:02 Tower wsdd2[1078]: terminating. Dec 14 23:01:04 Tower root: /usr/sbin/wsdd2 -d Dec 14 23:01:04 Tower wsdd2[1528]: starting. Dec 14 23:01:09 Tower unassigned.devices: Adding partition 'sdd1'... Dec 14 23:01:09 Tower unassigned.devices: Mounting partition 'sdd1' at mountpoint '/mnt/disks/1T_2'... Dec 14 23:01:09 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'ntfs' -o rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 '/dev/sdd1' '/mnt/disks/1T_2' Dec 14 23:01:09 Tower ntfs-3g[1756]: Mounted /dev/sdd1 (Read-Only, label "1T_2", NTFS 3.1) Dec 14 23:01:09 Tower ntfs-3g[1756]: Mount options: nodiratime,nodev,nosuid,nls=utf8,allow_other,nonempty,noatime,ro,default_permissions,fsname=/dev/sdd1,blkdev,blksize=4096 Dec 14 23:01:09 Tower unassigned.devices: Successfully mounted 'sdd1' on '/mnt/disks/1T_2'. Dec 14 23:01:10 Tower wsdd2[1528]: 'Terminated' signal received. Dec 14 23:01:10 Tower wsdd2[1528]: terminating. Dec 14 23:01:13 Tower root: /usr/sbin/wsdd2 -d Dec 14 23:01:13 Tower wsdd2[2012]: starting.

dlandon commented 1 year ago

What is it you are trying to show here? Looks like the drive mounted just fine.

Daoshuailx007 commented 1 year ago

I can mount the NTFS devices.But the devices is in Read only mode

Below is the log Dec 14 23:01:09 Tower unassigned.devices: Mount drive command: /sbin/mount -t 'ntfs' -o rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 '/dev/sdd1' '/mnt/disks/1T_2' Dec 14 23:01:09 Tower ntfs-3g[1756]: Mounted /dev/sdd1 (Read-Only, label "1T_2", NTFS 3.1)

What is it you are trying to show here? Looks like the drive mounted just fine.

dlandon commented 1 year ago

There is an issue with the file system causing it to be mounted read only.

Daoshuailx007 commented 1 year ago

There is an issue with the file system causing it to be mounted read only.

I format the Hard Disk Drive in windows os, and retry in unraid, the Disk is mounted read-only also.

dlandon commented 1 year ago

You have to be sure to detach the disk from Windows properly, or Linux will mount it read only.

Format the disk with UD.

Daoshuailx007 commented 1 year ago

I have other diskes with data,is there any way can fix the file system issue ?

dlandon commented 1 year ago

Until I know how this is occuring, I don't know of a fix. Post yoour diagnostics on the forum.