Re: temporarily import a zpool striped disk (root-on-zfs)
- In reply to: tech-lists : "temporarily import a zpool striped disk (root-on-zfs)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Mar 2022 02:14:36 UTC
On 3/11/22 16:05, tech-lists wrote: > Hi, > > I want to *temporarily* import a disk into a stable/13 system in order > to modify a couple of files. > > The disk is an external usb3-boot root-on-zfs -current in a stripe > configuration. Do you mean that there is one pool containing one vdev? > The machine I'd like to import this into is *not* > zfs-on-root. It boots to ufs, uses zfs for data, runs stable/13 > > Ideally the disk should be mounted on /mnt of the importing system. > > Is there an easy way to do this that does not disrupt either system? > I'm wary of using zpool import in case the importing pool pollutes > the cache of the host. > > thanks, I would set the "altroot" property when importing the external pool: # zpool import -R /mnt externalpool See: https://www.freebsd.org/cgi/man.cgi?zpool(8) https://docs.oracle.com/cd/E18752_01/html/819-5461/gbcgl.html Importing Alternate Root Pools If you are worried about damaging your "stable/13 system", boot the FreeBSD installer into its live system and use that to do the work. David