Default mount options cause USB to mount in read-only
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
When I plug USB stick, it is mounted in read-only mode. dmesg
output:
[189999.758776] sdc: sdc1
[189999.759811] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[190000.140329] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[190000.269130] FAT-fs (sdc1): error, corrupted directory (invalid entries)
[190000.269135] FAT-fs (sdc1): Filesystem has been set read-only
[190217.318154] FAT-fs (sdc1): error, corrupted directory (invalid entries)
Basically, because of some minor error it remounts disk as read-only. I believe this is due to default mount options being errors=remount-ro
. I want to change those default options, but I cannot find relevant configs.
I don't want to add this particular usb stick to /etc/fstab
list or to mount it manually.
usb mount 17.10
 |Â
show 2 more comments
up vote
0
down vote
favorite
When I plug USB stick, it is mounted in read-only mode. dmesg
output:
[189999.758776] sdc: sdc1
[189999.759811] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[190000.140329] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[190000.269130] FAT-fs (sdc1): error, corrupted directory (invalid entries)
[190000.269135] FAT-fs (sdc1): Filesystem has been set read-only
[190217.318154] FAT-fs (sdc1): error, corrupted directory (invalid entries)
Basically, because of some minor error it remounts disk as read-only. I believe this is due to default mount options being errors=remount-ro
. I want to change those default options, but I cannot find relevant configs.
I don't want to add this particular usb stick to /etc/fstab
list or to mount it manually.
usb mount 17.10
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33
 |Â
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I plug USB stick, it is mounted in read-only mode. dmesg
output:
[189999.758776] sdc: sdc1
[189999.759811] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[190000.140329] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[190000.269130] FAT-fs (sdc1): error, corrupted directory (invalid entries)
[190000.269135] FAT-fs (sdc1): Filesystem has been set read-only
[190217.318154] FAT-fs (sdc1): error, corrupted directory (invalid entries)
Basically, because of some minor error it remounts disk as read-only. I believe this is due to default mount options being errors=remount-ro
. I want to change those default options, but I cannot find relevant configs.
I don't want to add this particular usb stick to /etc/fstab
list or to mount it manually.
usb mount 17.10
When I plug USB stick, it is mounted in read-only mode. dmesg
output:
[189999.758776] sdc: sdc1
[189999.759811] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[190000.140329] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[190000.269130] FAT-fs (sdc1): error, corrupted directory (invalid entries)
[190000.269135] FAT-fs (sdc1): Filesystem has been set read-only
[190217.318154] FAT-fs (sdc1): error, corrupted directory (invalid entries)
Basically, because of some minor error it remounts disk as read-only. I believe this is due to default mount options being errors=remount-ro
. I want to change those default options, but I cannot find relevant configs.
I don't want to add this particular usb stick to /etc/fstab
list or to mount it manually.
usb mount 17.10
usb mount 17.10
asked Mar 29 at 9:48
Andrei R.
7817
7817
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33
 |Â
show 2 more comments
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33
 |Â
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020207%2fdefault-mount-options-cause-usb-to-mount-in-read-only%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Have you tried to check/repair the FAT file system? See this link, Repair the partition table and file system of a pendrive
â sudodus
Mar 29 at 9:51
@sudodus, this happens often - I assume its windows messing up the file system. And I don't want to do it every time by hand
â Andrei R.
Mar 29 at 10:06
Does it happen also when you eject the USB drive safely (alias unmount it)? In that case, maybe you have no real choice. But you can create (if necessary get some help to create) a shellscript, that will run all the commands for you, so it will be rather convenient.
â sudodus
Mar 29 at 11:06
@sudodus, no, drives may be ejected in unsafe manner. I want issue to be resolved once, without need to run scripts or whatsoever.
â Andrei R.
Mar 30 at 3:30
You can create a bug report at Launchpad, launchpad.net and wait for a developer to fix the problem. (But if the linux developers think that it is caused by a bug in Windows, it will not be fixed.)
â sudodus
Mar 30 at 5:33