Re: USB drive is "read-only file system" and cannot umount - how to fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Just disconnected, power-cycled then reconnected the drive. /var/log/messages tell me:

Oct 26 20:50:10 homebase kernel: EXT4-fs warning (device sdd1): ext4_clear_journal_err: Filesystem error recorded from previous mount: IO failure Oct 26 20:50:10 homebase kernel: EXT4-fs warning (device sdd1): ext4_clear_journal_err: Marking fs in need of filesystem check. Oct 26 20:50:10 homebase kernel: EXT4-fs (sdd1): warning: mounting fs with errors, running e2fsck is recommended
Oct 26 20:50:10 homebase kernel: EXT4-fs (sdd1): recovery complete
Oct 26 20:50:10 homebase kernel: EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts:

First it comes in as sdd when previously it was sdc. But the drive is now R/W.

So do I run e2fsck, and with what options. From the manpage I am assuming I better umount it first...


On 10/25/2015 11:16 AM, Robert Moskowitz wrote:


On 10/25/2015 11:12 AM, Barry Brimer wrote:
I 'just' noticed that at some point, my USB backup drive on my server
is
mounted as read-only and all of my background sync cron jobs have been
failing.

So I need to fix this without rebooting the server.
How can I get this drive r/w?
Have you tried "mount -o remount,rw <mountpoint>"?

# mount -o remount,rw /media/HD103SI/
mount: cannot remount block device /dev/sdc1 read-write, is write-protected


The unanswered question here is why did it go read only, and does this condition still exist?

The burning question of the day......

Should I 'just' unplug it, power cycle it and reconnect it?


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux