unable to write on mounted drive

Asked by bassim

I have a dual boot machine with ubuntu 17.10 and Windows 10 with two HDD. the first HDD is shared between the two OS and the second one is mounted as /media/<user>/DATA
suddenly I wasn't able to write or save any file on my the second drive and it's mounted as readonly. I didn't find any errors after checking using `gparted` and `gnome-disks`. so I changed the drive settings in `/etc/fstab` to `defaults` instead of `errors=remount-ro` and remount it as `rw` using `sudo mount -o remount,rw /dev/sda2 /media/bassim/DATA/ ` as shown in below command but still face an error in writing

```
 mount -ls | grep -i media
/dev/sda2 on /media/bassim/DATA type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096) [DATA]
```

Any help please

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
bassim
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo blkid; lsb_release -a; uname -a; mount

Thanks

Revision history for this message
bassim (aly12) said :
#2

@actionparsnip

I solved the error by booting to windows first and allow it to complete the unfinished system update then repair the partition using the built-in partition tool. when I get back to ubuntu I can now read and write into my mounted drive. it seems windows put some lock on the partition till it finish update.

Anyways, Thanks for help.