Trouble Mounting Pool (legacy mountpoint message)

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

Trouble Mounting Pool (legacy mountpoint message)

Postby Version3 » Mon Jan 16, 2023 5:02 pm

I'm having an ongoing ordeal with trying to import and mount a pool from an older system. My pool is called "Data" and seems to be online and healthy.

Currently when I try to mount with "sudo ifs mount Data", the system returns:
cannot mount 'Data': legacy mountpoint
use mount(8) to mount this filesystem


I can't figure out how to mount using "mount(8)"... any idea what very obvious thing I'm missing here? Is there other status info I can share that may help?

zpool status:
pool: Data
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 09:22:12 with 0 errors on Sun Nov 27 11:22:13 2022
config:

NAME STATE READ WRITE CKSUM
Data ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
media-D061C494-602B-11E8-8C97-E0D55EA38449 ONLINE 0 0 0
media-D1101EAA-602B-11E8-8C97-E0D55EA38449 ONLINE 0 0 0
media-D1C4810A-602B-11E8-8C97-E0D55EA38449 ONLINE 0 0 0
media-D281C1EC-602B-11E8-8C97-E0D55EA38449 ONLINE 0 0 0
media-D3370FF8-602B-11E8-8C97-E0D55EA38449 ONLINE 0 0 0

errors: No known data errors
Version3
 
Posts: 5
Joined: Sun Jan 01, 2023 9:31 pm

Re: Trouble Mounting Pool (legacy mountpoint message)

Postby cgiard » Mon Jan 16, 2023 6:09 pm

Did mountpoint=legacy get set for that fs at one point in the past? Check “zfs list -o name,mountpoint,mounted“. If it is set to legacy, try doing “zfs inherit -r mountpoint Data”
cgiard
 
Posts: 22
Joined: Sat Dec 20, 2014 8:10 am

Re: Trouble Mounting Pool (legacy mountpoint message)

Postby Sharko » Mon Jan 16, 2023 10:25 pm

I like @cgiard's suggestion, but if that fails consider doing a snapshot and then zfs send | zfs receive to recover the data to another pool.
Sharko
 
Posts: 230
Joined: Thu May 12, 2016 12:19 pm

Re: Trouble Mounting Pool (legacy mountpoint message)

Postby Version3 » Tue Jan 17, 2023 5:47 am

the "zfs list -o" tells me that -o is not supported. If I drop that option, then I get a result that says the mountpoint is in legacy mode (not set intentionally)

Code: Select all
Data  13.8T   528G  13.7T  legacy


I tried doing the "zfs inherit -r mountpoint Data" and I did have to use sudo to have permission, it does appear to have mounted it and I can access the volume in Finder now.

Weirdly, it also mounted a whole bunch of other hidden filesystems, which I found strange. If I eject them, I lose permission to one of the folders (which had mounted) on Data... but I'm betting I can just take ownership and change permission now that it's mounted.
Version3
 
Posts: 5
Joined: Sun Jan 01, 2023 9:31 pm


Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 12 guests

cron