Re: mounting double-ended SCSI disks

1999-01-19 Thread Bill Trost
Satoshi Asami writes: However, if I try to mount it from B read-only while A is mounting it read-write, it succeeds. This looks dangerous, as A writing data onto the disk could cause B's cache to go stale without B knowing it. Just about as dangerous al letting A mount it read-onl

Re: mounting double-ended SCSI disks

1999-01-16 Thread Matthew Dillon
:Another problem is if A is mounting it read-only and then B tries to :mount it read-write. This succeeds and is dangerous for the same :reason as the last example. Since A can't write anything to the disk, :I guess there is no way we can avoid this situation. (The only way I :could think of avo

Re: mounting double-ended SCSI disks

1999-01-16 Thread Bruce Evans
>>I know that, but that's not the point here. If the filesystem is >>marked dirty, it could very well be corrupted. Why am I allowed to >>mount it (even read-only)? Because you are root, and root never makes mistakes :-). >how else would you fsck / if it was dirty ? Boot from an alternative de

Re: mounting double-ended SCSI disks

1999-01-16 Thread Poul-Henning Kamp
In message <199901161046.caa47...@silvia.hip.berkeley.edu>, Satoshi Asami write s: > * >However, if I try to mount it from B read-only while A is mounting it > * >read-write, it succeeds. This looks dangerous, as A writing data onto > * >the disk could cause B's cache to go stale without B knowing

Re: mounting double-ended SCSI disks

1999-01-16 Thread Satoshi Asami
* >However, if I try to mount it from B read-only while A is mounting it * >read-write, it succeeds. This looks dangerous, as A writing data onto * >the disk could cause B's cache to go stale without B knowing it. Is * >it a good idea to allow read-only mounts of a dirty filesystem anyway? *

Re: mounting double-ended SCSI disks

1999-01-16 Thread Poul-Henning Kamp
>However, if I try to mount it from B read-only while A is mounting it >read-write, it succeeds. This looks dangerous, as A writing data onto >the disk could cause B's cache to go stale without B knowing it. Is >it a good idea to allow read-only mounts of a dirty filesystem anyway? >(The filesys

mounting double-ended SCSI disks

1999-01-16 Thread Satoshi Asami
Hi, In our project, we're trying to connect two PCs to both ends of a SCSI chain. I've got it somewhat working, but have a couple of questions re. mounting the filesystems. If I mount the filesystem from one machine (A) as read-write, then the other one (B) can't mount it read-write because the