From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 9 Jan 2009 00:20:00 -0800 From: "Tharaneedharan Vilwanathan" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] venti Topicbox-Message-UUID: 7dd3013a-ead4-11e9-9d60-3106f5b1d025 hi, i noticed something odd with venti and i am just trying to see if this is an issue and if this needs to be addressed. i think, by default, plan9 installation sets localhost as the address for venti in plan9.ini. but at some point i wanted venti to announce any (*) address. for some reason, i simply started venti/venti -a 'tcp!*!17034' to make it so. after this, i did vac from another machine and it archived data. after sometime, i realized i may be running venti on the same venti data area twice. when i did 'ps', it looked like that. then i rebooted the machine and then tried 'dumpvacroots.new' command (from contrib). i noticed that venti arena was corrupted. this is what i remember and if required i can try to reproduce the issue. the question i have is, is there any protection that prevents someone from doing this accidentally? something like the last active venti arena is marked 'IN_USE' so that if another instance of venti is started (with read-write access), it can check for this? i agree user has to be careful but given that venti archive is so critical, we should avoid any accidental damage. please pass your views. thanks dharani