Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #237730 > unrolled thread

Read-only bug ?

Started byPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
First post2021-07-25 21:40 +0200
Last post2021-07-25 23:20 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Read-only bug ? Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-25 21:40 +0200
    Re: Read-only bug ? <tomas@tuxteam.de> - 2021-07-25 21:50 +0200
      Re: Read-only bug ? Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-25 22:30 +0200
        Re: Read-only bug ? tomas@tuxteam.de - 2021-07-25 22:40 +0200
          Re: Read-only bug ? Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-25 23:20 +0200

#237730 — Read-only bug ?

FromPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
Date2021-07-25 21:40 +0200
SubjectRead-only bug ?
Message-ID<CES8G-5qc-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi !
I'm doing a Debian partial mirror using debmirror.
After around 65%, it fails saying "can't write file xxxx is read-only".
I unmount the partition.
Mount it back (external hard drive).
And now it goes great...

Someone ever had a similar problem ?
-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

[toc] | [next] | [standalone]


#237732

From<tomas@tuxteam.de>
Date2021-07-25 21:50 +0200
Message-ID<CESil-5tx-7@gated-at.bofh.it>
In reply to#237730

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jul 25, 2021 at 03:36:32PM -0400, Polyna-Maude Racicot-Summerside wrote:
> Hi !
> I'm doing a Debian partial mirror using debmirror.
> After around 65%, it fails saying "can't write file xxxx is read-only".
> I unmount the partition.
> Mount it back (external hard drive).
> And now it goes great...
> 
> Someone ever had a similar problem ?

Usually the kernel will remount the partition read-only when there has
been an I/O error accessing it. Have a look at your logs (unless the
logs are on the same partition...)

One question: did it say "file" read only or "file system" read only?
My attempt at an explanation would expect the second.

In that case, you better make a file system check before mounting...

And keep an eye on your hardware :-)

Cheers
 - t

[toc] | [prev] | [next] | [standalone]


#237737

FromPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
Date2021-07-25 22:30 +0200
Message-ID<CESV3-5ZR-1@gated-at.bofh.it>
In reply to#237732

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 2021-07-25 3:41 p.m., tomas@tuxteam.de wrote:
> On Sun, Jul 25, 2021 at 03:36:32PM -0400, Polyna-Maude Racicot-Summerside wrote:
>> Hi !
>> I'm doing a Debian partial mirror using debmirror.
>> After around 65%, it fails saying "can't write file xxxx is read-only".
>> I unmount the partition.
>> Mount it back (external hard drive).
>> And now it goes great...
>>
>> Someone ever had a similar problem ?
> 
I never really used this hard drive before.
What I did see is that I mistakenly unplugged it before doing a complete
unmount.
Gnome automaticly mounted that partiton and I also mounted it.
So I unmounted mine but forgot to unmount Gnome's mountpoint when I
unplugged.

Will do some test.

I was planning to buy a PCI USB 3.0 card so this will be another reason
to do so.

> Usually the kernel will remount the partition read-only when there has
> been an I/O error accessing it. Have a look at your logs (unless the
> logs are on the same partition...)
> 
Was some error on the logs.

> One question: did it say "file" read only or "file system" read only?
> My attempt at an explanation would expect the second.
> 
> In that case, you better make a file system check before mounting...
> 
Doing e2fsck

> And keep an eye on your hardware :-)
> 
> Cheers
>  - t
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

[toc] | [prev] | [next] | [standalone]


#237741

Fromtomas@tuxteam.de
Date2021-07-25 22:40 +0200
Message-ID<CET4K-63H-15@gated-at.bofh.it>
In reply to#237737

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jul 25, 2021 at 04:27:36PM -0400, Polyna-Maude Racicot-Summerside wrote:
> Hi,
> 
> On 2021-07-25 3:41 p.m., tomas@tuxteam.de wrote:
> > On Sun, Jul 25, 2021 at 03:36:32PM -0400, Polyna-Maude Racicot-Summerside wrote:
> >> Hi !
> >> I'm doing a Debian partial mirror using debmirror.
> >> After around 65%, it fails saying "can't write file xxxx is read-only".
> >> I unmount the partition.
> >> Mount it back (external hard drive).
> >> And now it goes great...
> >>
> >> Someone ever had a similar problem ?
> > 
> I never really used this hard drive before.
> What I did see is that I mistakenly unplugged it before doing a complete
> unmount.
> Gnome automaticly mounted that partiton and I also mounted it.
> So I unmounted mine but forgot to unmount Gnome's mountpoint when I
> unplugged.

Ah. Then perhaps the file system is a bit dirty. Most probably
fsck will take care of that.

Cheers
 - t

[toc] | [prev] | [next] | [standalone]


#237744

FromPolyna-Maude Racicot-Summerside <debian@polynamaude.com>
Date2021-07-25 23:20 +0200
Message-ID<CETHr-6xS-1@gated-at.bofh.it>
In reply to#237741

[Multipart message — attachments visible in raw view] — view raw

Hi,

On 2021-07-25 4:36 p.m., tomas@tuxteam.de wrote:
> On Sun, Jul 25, 2021 at 04:27:36PM -0400, Polyna-Maude Racicot-Summerside wrote:
>> Hi,
>>
>> On 2021-07-25 3:41 p.m., tomas@tuxteam.de wrote:
>>> On Sun, Jul 25, 2021 at 03:36:32PM -0400, Polyna-Maude Racicot-Summerside wrote:
>>>> Hi !
>>>> I'm doing a Debian partial mirror using debmirror.
>>>> After around 65%, it fails saying "can't write file xxxx is read-only".
>>>> I unmount the partition.
>>>> Mount it back (external hard drive).
>>>> And now it goes great...
>>>>
>>>> Someone ever had a similar problem ?
>>>
>> I never really used this hard drive before.
>> What I did see is that I mistakenly unplugged it before doing a complete
>> unmount.
>> Gnome automaticly mounted that partiton and I also mounted it.
>> So I unmounted mine but forgot to unmount Gnome's mountpoint when I
>> unplugged.
> 
> Ah. Then perhaps the file system is a bit dirty. Most probably
> fsck will take care of that.
> 
I did run fsck and will see what it goes on from now.
I forgot to flag -v on fsck so didn't get all the info I'd like.
> Cheers
>  - t
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web