Re: zfs won't automount
Lisa Besko wrote: > I have a system that has a simple zfs raid 0 volume on it and it will > now mount when the system boots. After the system is up I can run > /etc/rc.d/zfs start and it's fine. I don't see any errors in the log > file other than the ZFS is experimental in FreeBSD message. I'm running > FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I > missing something? My ZFS setups have worked so well for so long, I can't remember what all to look for. However, I do remember having to create an entry in my /boot/loader.conf ( IIRC, only the first two lines are mandatory, the other two are just tweaks ): zfs_load="YES" vfs.root.mountfrom="zfs:storage" vm.kmem_size="1536M" vm.kmem_size_max="1536M" Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: zfs won't automount
Steve Bertrand wrote: > Lisa Besko wrote: >> I have a system that has a simple zfs raid 0 volume on it and it will >> now mount when the system boots. After the system is up I can run >> /etc/rc.d/zfs start and it's fine. I don't see any errors in the log >> file other than the ZFS is experimental in FreeBSD message. I'm running >> FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I >> missing something? > > My ZFS setups have worked so well for so long, I can't remember what all > to look for. However, I do remember having to create an entry in my > /boot/loader.conf ( IIRC, only the first two lines are mandatory, the > other two are just tweaks ): > > zfs_load="YES" > vfs.root.mountfrom="zfs:storage" > vm.kmem_size="1536M" > vm.kmem_size_max="1536M" D'oh! After hitting myself with the cluebat, I realized that those entries are there because I am mounting / from ZFS. I don't think they'll help in your case. Sorry! Steve smime.p7s Description: S/MIME Cryptographic Signature
Re: zfs won't automount
On 2009-09-02 18:55, Lisa Besko wrote: > I have a system that has a simple zfs raid 0 volume on it and it will > now mount when the system boots. After the system is up I can run > /etc/rc.d/zfs start and it's fine. I don't see any errors in the log > file other than the ZFS is experimental in FreeBSD message. I'm running > FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I > missing something? What do "zpool list" and "zfs list" say? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: zfs won't automount
Dimitry Andric wrote: On 2009-09-02 18:55, Lisa Besko wrote: I have a system that has a simple zfs raid 0 volume on it and it will now mount when the system boots. After the system is up I can run /etc/rc.d/zfs start and it's fine. I don't see any errors in the log file other than the ZFS is experimental in FreeBSD message. I'm running FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I missing something? What do "zpool list" and "zfs list" say? After I mount them they say this: # zfs list NAME USED AVAIL REFER MOUNTPOINT sniffer 66.5K 1.96T 18.5K /sniffer # zpool list NAME SIZE USED AVAILCAP HEALTH ALTROOT sniffer 1.99T75K 1.99T 0% ONLINE - When it boots and they are not mounted it says: # zfs list NAME USED AVAIL REFER MOUNTPOINT sniffer 66.5K 1.96T 18.5K /sniffer # zpool list NAME SIZE USED AVAILCAP HEALTH ALTROOT sniffer 1.99T75K 1.99T 0% ONLINE - but it does not show up when I do a df. LB ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: zfs won't automount
On Thu, Sep 3, 2009 at 9:28 PM, Lisa Besko wrote: > > > Dimitry Andric wrote: >> >> On 2009-09-02 18:55, Lisa Besko wrote: >>> >>> I have a system that has a simple zfs raid 0 volume on it and it will now >>> mount when the system boots. After the system is up I can run /etc/rc.d/zfs >>> start and it's fine. I don't see any errors in the log file other than the >>> ZFS is experimental in FreeBSD message. I'm running FreeBSD 7.2 stable. I >>> have zfs_enable="YES" in the rc.conf file. Am I missing something? >> >> What do "zpool list" and "zfs list" say? > > After I mount them they say this: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > sniffer 66.5K 1.96T 18.5K /sniffer > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > sniffer 1.99T 75K 1.99T 0% ONLINE - > > When it boots and they are not mounted it says: > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > sniffer 66.5K 1.96T 18.5K /sniffer > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > sniffer 1.99T 75K 1.99T 0% ONLINE - > > but it does not show up when I do a df. > fastest way would be adding entry sniffer /sniffer zfs rw 0 0 to /etc/fstab -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: zfs won't automount
On 2009-09-03 19:28, Edho P Arief wrote: > fastest way would be adding entry > > sniffer /sniffer zfs rw 0 0 > > to /etc/fstab No, that is not the way you should do it with ZFS. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: zfs won't automount
On 2009-09-02T12:55:23-0400, Lisa Besko wrote: > I have a system that has a simple zfs raid 0 volume on it and it will > now mount when the system boots. After the system is up I can run > /etc/rc.d/zfs start and it's fine. I don't see any errors in the log > file other than the ZFS is experimental in FreeBSD message. I'm running > FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I > missing something? Do you have the zfs mountpoint properties set for the filesystems? Try zfs get all | grep mountpoint. When you zfs set the mountpoint, the filesystem will automatically be mounted there. The zfs man page has the details. Kenyon signature.asc Description: Digital signature
Re: zfs won't automount
On Thu, Sep 3, 2009 at 12:43 PM, Kenyon Ralph wrote: > On 2009-09-02T12:55:23-0400, Lisa Besko wrote: > > I have a system that has a simple zfs raid 0 volume on it and it will > > now mount when the system boots. After the system is up I can run > > /etc/rc.d/zfs start and it's fine. I don't see any errors in the log > > file other than the ZFS is experimental in FreeBSD message. I'm running > > FreeBSD 7.2 stable. I have zfs_enable="YES" in the rc.conf file. Am I > > missing something? > > Do you have the zfs mountpoint properties set for the filesystems? Try > zfs get all | grep mountpoint. When you zfs set the mountpoint, the > No need for the grep command, just "zfs get mountpoint" is enough. That will show just the mounpoint property for all the filesystems, snapshots, and volumes. -- Freddie Cash fjwc...@gmail.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"