What is a ZFS legacy mount point?

1

I am trying to understand the way ZFS works when I do for example, a snapshot. When I use zfs list on machine I get some mount points and some paths. For example I get something like that:

rpool/ROOT/s10x_u10_wos_17b      5.3gb   58.2gb    5.3gb     /

I get the as a mount point the root /.

My first thought was that there is the actual file and when I navigated to the /rpool directory there was no ROOT directory. After some thinking I saw that /rpool/ROOT is actually mounted on legacy so that must be somewhere else.

Could someone explain where the files are when it is mounted on legacy and maybe why this legacy mode is used?

SoundFlektor

Posted 2014-07-30T07:51:50.163

Reputation: 11

So, what’s your research effort in this? Naturally, it’s not mounted at all. – Daniel B – 2014-07-30T08:47:41.413

I expected some irony.I already been there and read it all and some extra but I do not understand the purpose of legacy mount point. That's all . – SoundFlektor – 2014-07-30T09:06:07.127

It’s not managed by ZFS but legacy fstab. What’s not to understand? Iṯ’s also not mounted because it doesn’t have to be. – Daniel B – 2014-07-30T09:12:59.887

Pfffff, sorry man , now I understand , after you wrote "legacy fstab". I apreciate your patience with me , sometimes I get stuck into obvious things because the perception was somehow distorded but now I get it . Again , thank you very much . – SoundFlektor – 2014-07-30T11:24:40.927

Answers

0

Legacy mountpoint is usually used when the filesystems are mounted using fstab.

From FreeBSD manual page:

If needed, ZFS file systems can also be managed with traditional tools (mount(8), umount(8), fstab(5)). If a file system's mount point is set to legacy, ZFS makes no attempt to manage the file system, and the administrator is responsible for mounting and unmounting the file system.

Marián Černý

Posted 2014-07-30T07:51:50.163

Reputation: 156