From venture37 at geeklan.co.uk Thu Feb 1 10:31:32 2018 From: venture37 at geeklan.co.uk (Sevan Janiyan) Date: Thu, 1 Feb 2018 10:31:32 +0000 Subject: [Ukfreebsd] February's London *BSD meetup 07/02/18 In-Reply-To: References: Message-ID: Hello, On 01/01/2018 21:12, Sevan Janiyan wrote: > Happy new year, in February we will have NetBSD developer, Thomas > Klausner visiting us. Shall we resume the meetings then?? > > Wednesday the 7th, 6:30 onwards, at The Hand and Shears. > > The Hand & Shears > 1 Middle Street > Cloth Fair > London > EC1A 7JA > Tel: 020 7600 0257 > http://www.thehandandshears.co.uk Reminder, this is next week. Hopefully see you there. Sevan From jon at axismilton.ltd.uk Mon Feb 5 11:19:17 2018 From: jon at axismilton.ltd.uk (Jon Schneider) Date: Mon, 5 Feb 2018 11:19:17 +0000 Subject: [Ukfreebsd] Confused by ZFS root(s) Message-ID: Morning all, I am currently gaining control of 11.0 servers left behind by somebody else and the first things to do are password reset, health check, backup and snapshot. I am a ZFS newby but it's growing on me. One thing confusing me is the weird filesystem root arrangement. NAME USED AVAIL REFER MOUNTPOINT zroot 214G 685G 144K none zroot/ROOT 96.7G 685G 144K none zroot/ROOT/default 96.7G 685G 96.7G / On this particular server I booted off a stick, did zpool import -fR zroot somewhere then chroot somewhere passwd then zpool export zroot and that was fine. I then set up a Virtualbox machine for a colleague to train on with a memstick image and a couple of blank disks. I installed with the "Guided ZFS root" option. I then tried the same break-in procedure but after zpool import the guts of the system just wasn't mounted. I just had the other filesystems (various usr and var). I had to zfs mount zroot/ROOT/default then proceed as before. So 1) What are these extra (filesystem) roots about apart from confusing me ? 2) Why might my virtual machine not mount the important one zoot/ROOT/default ? Jon From theraven at FreeBSD.org Mon Feb 5 12:23:26 2018 From: theraven at FreeBSD.org (David Chisnall) Date: Mon, 5 Feb 2018 12:23:26 +0000 Subject: [Ukfreebsd] Confused by ZFS root(s) In-Reply-To: References: Message-ID: On 5 Feb 2018, at 11:19, Jon Schneider wrote: > > So 1) What are these extra (filesystem) roots about apart from confusing me ? These exist to support boot environments. Boot environments let you install a new version into a separate ZFS volume and switch the root over to that for testing, then switch back if you discover that it?s broken. I think the GPT ZFS boot loader is now BE-aware, so you can configure it with different possible roots. > 2) Why might my virtual machine not mount the important one zoot/ROOT/default ? Do you already have something mounted at /? David From jon at axismilton.ltd.uk Mon Feb 5 13:00:30 2018 From: jon at axismilton.ltd.uk (Jon Schneider) Date: Mon, 5 Feb 2018 13:00:30 +0000 Subject: [Ukfreebsd] Confused by ZFS root(s) In-Reply-To: References: Message-ID: <8727bb1b-0923-3329-2697-b7d6149dd13b@axismilton.ltd.uk> On 05/02/2018 12:23, David Chisnall wrote: >> 2) Why might my virtual machine not mount the important one zoot/ROOT/default ? > > Do you already have something mounted at /? I mean having booted off memstick in my virtual machine when I do # zpool import zroot -fR /tmp/mnt the main root guts does not get mounted and I have to # zfs mount zroot/ROOT/default to get it. Whereas when I broke into the actual server I didn't have this issue. Clearly there is a difference and the main server seems to have been built mid 2014 but it too has a zroot/ROOT/default and I would like to understand the difference. Jon From peter.tribble at gmail.com Mon Feb 5 18:30:30 2018 From: peter.tribble at gmail.com (Peter Tribble) Date: Mon, 5 Feb 2018 18:30:30 +0000 Subject: [Ukfreebsd] Confused by ZFS root(s) In-Reply-To: <8727bb1b-0923-3329-2697-b7d6149dd13b@axismilton.ltd.uk> References: <8727bb1b-0923-3329-2697-b7d6149dd13b@axismilton.ltd.uk> Message-ID: On Mon, Feb 5, 2018 at 1:00 PM, Jon Schneider wrote: > > > On 05/02/2018 12:23, David Chisnall wrote: > >> 2) Why might my virtual machine not mount the important one >>> zoot/ROOT/default ? >>> >> >> Do you already have something mounted at /? >> > > I mean having booted off memstick in my virtual machine when I do > > # zpool import zroot -fR /tmp/mnt > > the main root guts does not get mounted and I have to > > # zfs mount zroot/ROOT/default > > to get it. Whereas when I broke into the actual server I didn't have this > issue. Clearly there is a difference and the main server seems to have been > built mid 2014 but it too has a zroot/ROOT/default and I would like to > understand the difference. Assuming FreeBSD is similar to illumos in this regard, then the root filesystem is mounted very early in the boot process, by the boot process itself, so it's a bit special. If you look at the output of zfs get canmount zroot/ROOT/default it's probably set to 'noauto', which will disable automatic mounting. The point here is that you don't want / to get mounted a second time when the pool gets imported later on in the boot (or when 'zfs mount -a' gets run), so the behaviour you describe is as expected. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ From matthew at FreeBSD.org Mon Feb 5 18:16:16 2018 From: matthew at FreeBSD.org (Matthew Seaman) Date: Mon, 5 Feb 2018 18:16:16 +0000 Subject: [Ukfreebsd] Confused by ZFS root(s) In-Reply-To: <8727bb1b-0923-3329-2697-b7d6149dd13b@axismilton.ltd.uk> References: <8727bb1b-0923-3329-2697-b7d6149dd13b@axismilton.ltd.uk> Message-ID: <592ce110-5032-8575-f377-7736d2a3666f@FreeBSD.org> On 05/02/2018 13:00, Jon Schneider wrote: > > > On 05/02/2018 12:23, David Chisnall wrote: >>> 2) Why might my virtual machine not mount the important one >>> zoot/ROOT/default ? >> >> Do you already have something mounted at /? > > I mean having booted off memstick in my virtual machine when I do > > # zpool import zroot -fR /tmp/mnt > > the main root guts does not get mounted and I have to > > # zfs mount zroot/ROOT/default > > to get it. Whereas when I broke into the actual server I didn't have > this issue. Clearly there is a difference and the main server seems to > have been built mid 2014 but it too has a zroot/ROOT/default and I would > like to understand the difference. Yes. That's all Boot Environment related. Typically you'ld have several clones of the system as different boot environments, and having the system try to mount all of them would result in chaos. Usually the active BE should have zfses marked as canmount=on, and other BEs should have canmount=noauto -- like this: lucid-nonsense:~:% zfs get -t filesystem -r canmount zroot NAME PROPERTY VALUE SOURCE zroot canmount off received zroot/ROOT canmount noauto received zroot/ROOT/STABLE_11_20171130 canmount noauto local zroot/ROOT/STABLE_11_20171130/usr canmount noauto local zroot/ROOT/STABLE_11_20171130/usr/local canmount noauto local zroot/ROOT/STABLE_11_20171130/usr/obj canmount noauto local zroot/ROOT/STABLE_11_20171130/usr/src canmount noauto local zroot/ROOT/STABLE_11_20171130/var canmount noauto local zroot/ROOT/STABLE_11_20171130/var/crash canmount noauto local zroot/ROOT/STABLE_11_20171130/var/db canmount noauto local zroot/ROOT/STABLE_11_20171130/var/db/pkg canmount noauto local zroot/ROOT/STABLE_11_20171130/var/mail canmount noauto local zroot/ROOT/STABLE_11_20171209 canmount on local zroot/ROOT/STABLE_11_20171209/usr canmount on local zroot/ROOT/STABLE_11_20171209/usr/local canmount on local zroot/ROOT/STABLE_11_20171209/usr/obj canmount on local zroot/ROOT/STABLE_11_20171209/usr/src canmount on local zroot/ROOT/STABLE_11_20171209/var canmount on local zroot/ROOT/STABLE_11_20171209/var/crash canmount on local zroot/ROOT/STABLE_11_20171209/var/db canmount on local zroot/ROOT/STABLE_11_20171209/var/db/pkg canmount on local zroot/ROOT/STABLE_11_20171209/var/mail canmount on local Cheers, Matthew -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 992 bytes Desc: OpenPGP digital signature URL: From venture37 at geeklan.co.uk Thu Feb 8 13:44:48 2018 From: venture37 at geeklan.co.uk (Sevan Janiyan) Date: Thu, 8 Feb 2018 13:44:48 +0000 Subject: [Ukfreebsd] March London *BSD meeting 13/03/18 Message-ID: Hello, Being extra organised and calling the date for next month, Tuesday the 13th, 6:30 onwards?? The Hand & Shears 1 Middle Street Cloth Fair London EC1A 7JA Tel: 020 7600 0257 http://www.thehandandshears.co.uk Sevan From venture37 at geeklan.co.uk Thu Feb 8 13:39:47 2018 From: venture37 at geeklan.co.uk (Sevan Janiyan) Date: Thu, 8 Feb 2018 13:39:47 +0000 Subject: [Ukfreebsd] Notes from last nights meeting Message-ID: <903c412e-b6b5-1c3e-a3db-546218f99f0c@geeklan.co.uk> GPD Pocket/PSION 5/Toshiba Libretto Mac SE/30 running NetBSD as a router Creative use of the one user controlled GPIO pin on a PI to blink an LED Bringing up more Lua modules in NetBSD m00nbsd Maxime Villard's security audit Status of fixes from Ilja van Sprundel's audit in the BSDs Palemoon branding https://github.com/jasperla/openbsd-wip/issues/86 C++ drama - toolchain upgrades defaulting to C++11 Fallout from clang 6 & GCC 6 in FreeBSD & NetBSD -Wmisleading-indentation Regression in difficulty of Rogue https://twitter.com/jangray/status/946160201731751942 Ethics in IT and a frequent call to reject work and organisations Anything more soulless in tech than working for a defence contractor? "**** BAE" "my favourite game is fortune(1)" Revisiting the work to add G5 support to NetBSD/macppc to fish out PCI-X support NetBSD/acorn26 is gone Talos II manual https://wiki.raptorcs.com/w/images/e/e3/T2P9D01_users_guide_version_1_0.pdf Hardware vendors at FOSDEM (Talos? Turris...) Running PostgreSQL on a VAX talk from FOSDEM 2016 https://archive.fosdem.org/2016/schedule/event/postgresql_on_vax/ Budget SuperH hardware SH-5 history in NetBSD Adding a serial port to your SuperH based appliance https://www.openbsd.org/landisk.html Frankenstein PowerBook fished out from a recycling bin and the cost of replacement parts to bring it back to shape (a ?1 for a screw?) Avoiding the use of the of the word infinite in product titles to avoid difficulties with naming subsequent models e.g. Infinite Reality FreeBSD/ports/games has some interesting games Supporting a traditional CISC architecture (VAX) in GCC in a RISC world How to write your own NIC device driver (and why) Our experience writing 10G/100G drivers for Snabb in Lua (without NDAs) https://fosdem.org/2018/schedule/event/lua_snabb/ https://www.youtube.com/watch?v=sgwt7SmvVWA Mellanox Adapter Programmer's Reference Manual http://www.mellanox.com/related-docs/user_manuals/Ethernet_Adapters_Programming_Manual.pdf State of dotnetclr, is it possible to run any closed source applications yet? Not discussed last night but, A Declaration of the Independence of Cyberspace by John Perry Barlow https://vimeo.com/111576518 Sevan From venture37 at geeklan.co.uk Fri Feb 16 10:19:29 2018 From: venture37 at geeklan.co.uk (Sevan Janiyan) Date: Fri, 16 Feb 2018 10:19:29 +0000 Subject: [Ukfreebsd] Open Source Hardware Camp 2018 (30/06 & 01/07) Call for Participation. Message-ID: -- Open Source Hardware Camp 2018 -- This year Open Source Hardware Camp will take place over the weekend of Saturday 30th June & Sunday 1st July, at the Blue Room, Lincoln, LN1 3BU. We?re excited to be hosting OSHCamp for the first time ever in the historic county town of Lincoln ? home to, amongst others, noted engine builders Ruston & Hornsby (now Siemens, via GEC and English Electric). Lincoln is well served by rail, reachable from Leeds and London within 2-2.5 hours, and 4-5 hours from Edinburgh and Southampton. Proposals for talks and workshops for OSHCamp 2018 are invited! There is no theme and topics may include, for example: * Open source hardware projects * Open development practices and principles * Novel/interesting/fun projects built using open source hardware * Tools (hardware and software) * Skills and techniques, e.g. PCB fab, DIY SMT assembly * Relevant technologies, e.g. SPI/I2C bus programming * ...something else relevant to the community If you would like to give a talk on the Saturday and/or run a workshop on the Sunday, please submit details via the form at: https://docs.google.com/forms/d/1pLyItcKRDYmegNXtAXRgpt21yOFXdWlBO_K6uu0LlBY/ Any questions can either be directed to the list or sent to andrew at abopen.com. **** Note that the deadline for submitting titles and abstracts is Monday 25th March at 17:00. If you would like to discuss ideas etc. please get in touch sooner, rather than later. **** A social is planned for the Saturday evening and details of accommodation nearby to the venue will be provided in due course.