Project

General

Profile

Bug #2155

lofi mounted snapshots are not available from a non global zone

Added by Piotr Jasiukajtis over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
zones
Start date:
2012-02-20
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

ZFS snapshots are not available from a non global zone if 'type=lofs' is used for a shared filesystem.

truss -f /usr/bin/ls /backup1/site01/.zfs/snapshot/backup_daily_120220_11-44-13
<...>
11236:  lstat64("/backup1/site01/.zfs/snapshot/backup_daily_120220_11-44-13", 0x080469E0) Err#1 EPERM

As a workaround we can exclude dataset from global zone by 'zfs set zoned=on' and 'zonecfg add dataset'.

History

#1

Updated by Rich Lowe over 7 years ago

Is this true regardless of the visibility of the .zfs directory? Either way, it does not entirely surprise me.

#2

Updated by Piotr Jasiukajtis over 7 years ago

I changed snapdir property, same effect.

Rich Lowe wrote:

Is this true regardless of the visibility of the .zfs directory? Either way, it does not entirely surprise me.

Also available in: Atom PDF