Re: [zfs-discuss] don't mount a zpool on boot
On Thu, 20 May 2010 11:53:17 -0700, John Andrunas j...@andrunas.net wrote: Can I make a pool not mount on boot? I seem to recall reading somewhere how to do it, but can't seem to find it now. As Tomas said, export the pool before shutdown. If you have a pool which causes unexpected trouble at boot time and you have no oppportunity to export it, you can: - boot from a live CD or do a failsafe boot, - zpool import -R the root pool in e.g. /a, - move /a/etc/zfs/zpool.cache out of the way - init 6 for a normal boot This way only the root pool will be imported. You can import any other pools afterwards. -- ( Kees Nuyt ) c[_] ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] don't mount a zpool on boot
Op Sat, 29 May 2010 20:34:54 +0200 schreef Kees Nuyt k.n...@zonnet.nl: On Thu, 20 May 2010 11:53:17 -0700, John Andrunas j...@andrunas.net wrote: Can I make a pool not mount on boot? I seem to recall reading somewhere how to do it, but can't seem to find it now. As Tomas said, export the pool before shutdown. Why don't you set the canmount=noauto option in the zfs dataset. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | OpenSolaris 2010.03 b134 + All that's really worth doing is what we do for others (Lewis Carrol) ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] don't mount a zpool on boot
John Andrunas wrote: Can I make a pool not mount on boot? I seem to recall reading somewhere how to do it, but can't seem to find it now. You can't do this at a pool level, but you can at a zfs/zvol level. to prevent a filesystem or vol from being mounted at boot: zfs set canmount=no vol|fs You'll need to say 'zfs set canmount=yes vol|fs' later on if you want to mount it. -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA Timezone: US/Pacific (GMT-0800) ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] don't mount a zpool on boot
- John Andrunas j...@andrunas.net skrev: Can I make a pool not mount on boot? I seem to recall reading somewhere how to do it, but can't seem to find it now. I guess saying zfs mountpoint=legcy will help this, but still, that's for the dataset, not the pool Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] don't mount a zpool on boot
On 20 May, 2010 - John Andrunas sent me these 0,3K bytes: Can I make a pool not mount on boot? I seem to recall reading somewhere how to do it, but can't seem to find it now. zpool export thatpool zpool import thatpool when you want it back. /Tomas -- Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss