mounted snapshots still writeable 1.5 years later (RE: kern/68576)

John Kozubik john at kozubik.com
Mon Nov 21 13:34:22 PST 2005


Robert,

On Fri, 11 Nov 2005, Robert Watson wrote:

> >> peppercorn# mdconfig -a -t vnode -f test
> >> WARNING: opening backing store: /mnt/.snap/test readonly
> >> md1
> >> peppercorn# mount /dev/md1 /mnt2
> >> mount: /dev/md1: Read-only file system
> >> peppercorn# mount -o rdonly /dev/md1 /mnt2
> >> peppercorn# ls -l
> >> total 2
> >> drwxrwxr-x  2 root  operator  512 Nov 11 18:56 .snap
> >> peppercorn# mount -uw /mnt2
> >> mount: /dev/md1: Read-only file system
> >
> > Was this ^^^ on a 6.x system ?
>
> Sorry, should have been more clear -- that's a 7.x system from just after
> the branch, and I believe no significant changes from 6-beta1 or so.

I have since tested this on 6.0-RELEASE - it behaves as you describe above
(that is to say, it behaves correctly).  It is still a bug in 5.x,
however (see kern/68576).

-----
John Kozubik - john at kozubik.com - http://www.kozubik.com


More information about the freebsd-bugs mailing list