[OpenAFS-devel] Read-only file system
Erik Osterman
e@osterman.com
Sun, 11 Mar 2007 13:11:21 -0700
This is a multi-part message in MIME format.
--------------090607000307080807080005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I suspect it's something very fundamental that I don't understand.
/*Rule 2:* Follow the Read-only Path When Possible /
/If a mount point resides in a read-only volume and the volume that it
references is replicated, the Cache Manager attempts to access a
read-only copy of the volume; if the referenced volume is not
replicated, the Cache Manager accesses the read/write copy. The Cache
Manager is thus said to prefer a //read-only path through the filespace,
accessing read-only volumes when they are available./
Does this mean that since I now have RO volumes, when I go into my home
directory (the home volume mounted to /afs/ourcell/home), that it finds
the RO replicated copy on our other server (donjulio) and since that's
where I'm accessing it, that if I try to write to it I will get
"Read-Only filesystem"? Surely, this can't be!
Best,
Erik Osterman
Erik Osterman wrote:
> Spent the better part of the day yesterday configuring replication. I
> felt like I overcame the learning curve; OpenAFS was beginning to make
> sense. Last night, everything was running just fine, by that I mean, I
> had several RW volumes replicated to 2 different hosts. I could read
> and write just fine on everything. I woke up today, and now it's
> complaining "Read-only file system" every time to try to make any
> modifications. I figured something must have flipped the RW partition
> into a RO mode.
>
> This is happening to all my volumes, but I'll just refer to my "home"
> volume. We have just a handful of users, so all users are just in home.
>
> vos listvldb jwalker
> home
> RWrite: 536870918 ROnly: 536870919
> number of sites -> 2
> server jwalker partition /vicepa RW Site
> server donjulio partition /vicepa RO Site
>
> vos listvol jwalker
> Total number of volumes on server jwalker partition /vicepa: 8
> home 536870918 RW 5039076 K On-line
>
> vos examine home
> home 536870918 RW 5039076 K On-line
> jwalker /vicepa
> RWrite 536870918 ROnly 536870919 Backup 0
> MaxQuota 0 K
> Creation Sat Mar 10 15:37:36 2007
> Copy Sat Mar 10 15:37:36 2007
> Backup Never
> Last Update Sun Mar 11 04:00:33 2007
> 47061 accesses in the past day (i.e., vnode references)
>
> RWrite: 536870918 ROnly: 536870919
> number of sites -> 2
> server jwalker partition /vicepa RW Site
> server donjulio partition /vicepa RO Site
>
>
> What would cause this unexpected behavior?
>
> Dead in the water,
>
> Erik Osterman
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
--------------090607000307080807080005
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I suspect it's something very fundamental that I don't understand. <br>
<br>
<i><b>Rule 2:</b> Follow the Read-only Path When Possible </i>
<p><i>If a mount point resides in a read-only volume and the volume
that it references is replicated, the Cache Manager attempts to access
a read-only copy of the volume; if the referenced volume is not
replicated, the Cache Manager accesses the read/write copy. The Cache
Manager is thus said to prefer a </i><i>read-only path through the
filespace, accessing read-only volumes when they are available.</i></p>
<br>
Does this mean that since I now have RO volumes, when I go into my home
directory (the home volume mounted to /afs/ourcell/home), that it finds
the RO replicated copy on our other server (donjulio) and since that's
where I'm accessing it, that if I try to write to it I will get
"Read-Only filesystem"? Surely, this can't be!<br>
<br>
Best,<br>
<br>
Erik Osterman<br>
<br>
<br>
<br>
Erik Osterman wrote:
<blockquote cite="mid45F45AD5.7050302@osterman.com" type="cite">Spent
the better part of the day yesterday configuring replication. I felt
like I overcame the learning curve; OpenAFS was beginning to make
sense. Last night, everything was running just fine, by that I mean, I
had several RW volumes replicated to 2 different hosts. I could read
and write just fine on everything. I woke up today, and now it's
complaining "Read-only file system" every time to try to make any
modifications. I figured something must have flipped the RW partition
into a RO mode.
<br>
<br>
This is happening to all my volumes, but I'll just refer to my "home"
volume. We have just a handful of users, so all users are just in home.
<br>
<br>
vos listvldb jwalker
<br>
home
<br>
RWrite: 536870918 ROnly: 536870919
<br>
number of sites -> 2
<br>
server jwalker partition /vicepa RW Site
<br>
server donjulio partition /vicepa RO Site
<br>
<br>
vos listvol jwalker
<br>
Total number of volumes on server jwalker partition /vicepa: 8
<br>
home 536870918 RW 5039076 K On-line
<br>
<br>
vos examine home
<br>
home 536870918 RW 5039076 K On-line
<br>
jwalker /vicepa
<br>
RWrite 536870918 ROnly 536870919 Backup 0
<br>
MaxQuota 0 K
<br>
Creation Sat Mar 10 15:37:36 2007
<br>
Copy Sat Mar 10 15:37:36 2007
<br>
Backup Never
<br>
Last Update Sun Mar 11 04:00:33 2007
<br>
47061 accesses in the past day (i.e., vnode references)
<br>
<br>
RWrite: 536870918 ROnly: 536870919
<br>
number of sites -> 2
<br>
server jwalker partition /vicepa RW Site
<br>
server donjulio partition /vicepa RO Site
<br>
<br>
<br>
What would cause this unexpected behavior?
<br>
<br>
Dead in the water,
<br>
<br>
Erik Osterman
<br>
_______________________________________________
<br>
OpenAFS-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:OpenAFS-devel@openafs.org">OpenAFS-devel@openafs.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.openafs.org/mailman/listinfo/openafs-devel">https://lists.openafs.org/mailman/listinfo/openafs-devel</a>
<br>
</blockquote>
<br>
</body>
</html>
--------------090607000307080807080005--