Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ZFS vols recognized #1

Open
dabrahams opened this issue Jun 20, 2016 · 1 comment
Open

Getting ZFS vols recognized #1

dabrahams opened this issue Jun 20, 2016 · 1 comment

Comments

@dabrahams
Copy link

Hi,

according to openzfsonosx/zfs#142 (comment) you have solved a problem I am having; I want to back up my ZFS to backblaze, but the zvols aren’t recognized by the backup software. Unfortunately, the posted link is dead. Can you tell me what you did?

Thanks!

@alexwasserman
Copy link
Owner

Hey,

Happy to help, but it was a while ago, and my memory is rusty. Also, I'm
running on hackintosh, and given your employer, I really doubt you are.
That being said, I'll search my mail and see what I can find.

Firstly, try setting com.apple.mimic_hfs on. I have it set on the top
pool and it's inherited down to the zvols, but should work just setting
on a test zvol.

Also, I can't just send you my current settings as along the way I
actually switched to using regular ZFS filesystems, not zvols formatted
as HFS. I don't use iTunes as much as I once did, and now I stream more
than play from local disk, so the impact there is lessened, and with the
switch to Photos I moved my library back onto HFS on my SSD,
consolidated into  single library, and just have a nightly rsync over to
ZFS as a back-up, with bblaze as a secondary backup. ZFS snapshots are
handy for that too. Basically, Photos solved so many performance issues
from iPhoto that I don't need the zvol bit anymore. You might have your
own use-case here though.

In case it helps, the history I get from 'zfs history':

2014-05-22.15:25:35 zpool remove ZFS disk8
2014-05-22.15:31:21 zfs set mountpoint=/Documents ZFS/Users
2014-08-04.23:57:39 zpool clear ZFS
2014-08-04.23:57:58 zpool clear ZFS
2014-08-06.16:10:51 zfs create -V 250g -b 4096 ZFS/iTunes
2014-08-07.00:12:36 zfs set volsize=350g ZFS/iTunes
2014-08-08.20:06:12 zpool clear ZFS
2014-08-12.07:51:59 zfs set copies=2 ZFS/Users
2014-08-12.19:21:31 zpool clear ZFS
2014-08-19.20:39:38 zpool remove ZFS disk2s3
2014-09-16.23:58:07 zpool clear ZFS
2014-10-20.01:39:24 zfs create -V 100g -b 4096 ZFS/TimeMachine
2014-10-20.19:38:10 zfs create -V 250g -b 4096 ZFS/Users2
2014-10-20.20:53:02 zfs rename ZFS/Users ZFS/Documents
2014-10-20.20:53:09 zfs rename ZFS/Users2 ZFS/Users
2014-10-20.20:59:46 zfs rename ZFS/iTunes ZFS/iLife
2014-10-20.21:33:31 zfs set volsize=350g ZFS/Users
2014-10-20.21:44:53 zfs set volsize=500g ZFS/Users
2014-10-20.22:04:16 zfs destroy ZFS/Users
2014-10-20.22:04:57 zfs create -V 500g ZFS/Users
2014-10-20.23:50:52 zpool clear ZFS
2014-10-20.23:51:57 zfs set mountpoint=none ZFS/Documents
2014-10-26.00:24:25 zpool clear ZFS
2014-10-27.23:37:21 zfs destroy ZFS/Documents
2014-10-27.23:42:04 zfs create -o mountpoint=/Media2 ZFS/Media2
2014-10-27.23:48:21 zfs destroy ZFS/TimeMachine
2014-10-31.01:17:25 zfs rename ZFS/Media ZFS/Media_old
2014-10-31.01:17:31 zfs rename ZFS/Media2 ZFS/Media
2014-10-31.01:17:42 zfs set mountpoint=/Media ZFS/Media
2014-10-31.01:17:49 zfs set mountpoint=none ZFS/Media_old
2014-10-31.01:30:49 zfs destroy ZFS/Media_old
2014-10-31.01:40:07 zfs create -o mountpoint=/Users2 ZFS/Users2
2014-11-08.18:56:24 zpool clear ZFS
2014-11-09.21:57:41 zfs destroy ZFS/Users@backup
2014-11-12.23:19:12 zpool set feature@async_destroy=enabled ZFS
2014-11-12.23:19:27 zpool set feature@empty_bpobj=enabled ZFS
2014-11-12.23:20:07 zpool set feature@lz4_compress=enabled ZFS
2014-11-21.21:46:05 zpool clear ZFS
2014-11-29.19:08:42 zpool upgrade -a
2014-12-22.02:43:10 zfs destroy ZFS/Users2
2015-01-10.11:01:51 zfs create -o mountpoint=/Users2 -o
casesensitivity=insensitive -o normalization=formD ZFS/Users2
2015-01-11.11:49:17 zfs set mountpoint=/Users ZFS/Users2
2015-01-11.11:50:06 zfs rename ZFS/Users ZFS/UsersV
2015-01-11.11:50:12 zfs rename ZFS/Users2 ZFS/Users
2015-01-12.22:28:12 zfs destroy ZFS/UsersV
2015-01-12.22:39:42 zfs destroy ZFS/iLife
2015-03-09.23:39:38 zpool clear ZFS
2015-03-11.21:56:25 zpool clear ZFS
2015-03-17.07:50:17 zpool clear ZFS
2015-04-11.23:26:33 zfs set com.apple.mimic_hfs=on ZFS
2015-08-07.23:22:15 zpool set feature@filesystem_limits=enabled mypool
2015-08-07.23:22:27 zpool set feature@large_blocks=enabled mypool
2015-08-08.23:47:20 zpool clear ZFS
2015-10-09.14:44:02 zpool clear ZFS
2016-05-12.22:56:42 zpool upgrade ZFS

Regards,

Alex

Alex Wasserman
[email protected]
+1 646 460 5187

On Sun, Jun 19, 2016, at 09:07 PM, Dave Abrahams wrote:

Hi,
according to openzfsonosx/zfs#142 (comment)[1] you have solved a
problem I am having; I want to back up my ZFS to backblaze, but the
zvols aren’t recognized by the backup software. Unfortunately, the
posted link is dead. Can you tell me what you did?
Thanks!
— You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub[2], or mute the
thread[3].

Links:

  1. Mount volumes from internal drives to be non-ejectable openzfsonosx/zfs#142 (comment)
  2. Getting ZFS vols recognized #1
  3. https://github.com/notifications/unsubscribe/AF5iZjRbrfr9OMd2VE6ElyMwOweIPEYfks5qNefZgaJpZM4I5SyR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants