Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unsetting ZFS mountpoint

6,872 views
Skip to first unread message

Michael Laajanen

unread,
Nov 23, 2008, 5:22:00 PM11/23/08
to
Hi,

Hi if to a set mountpoint as below, how can I undo it, that is remove
the /opt/tools mount and get it back to /opt/tools
pool00/opt/tools/SunOS/5.10/Sparc?


# zfs set mountpoint=/opt/tools pool00/opt/tools/SunOS/5.10/Sparc

/Michael

Dave Uhring

unread,
Nov 23, 2008, 7:19:30 PM11/23/08
to

I think this is what you want:

zfs set mountpoint=none pool00/opt/tools/SunOS/5.10/Sparc

See zfs(1M)
...
mountpoint=path | none | legacy
....

Andrew Gabriel

unread,
Nov 23, 2008, 10:21:50 PM11/23/08
to
In article <6ou3c8F...@mid.individual.net>,

zfs inherit mountpoint pool00/opt/tools/SunOS/5.10/Sparc

(Must admit I had to ask some collegues;-)
This will set it back to inherited. I don't know
if that's what it was set to beforehand though.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]

dhanraj...@gmail.com

unread,
Nov 13, 2017, 3:26:18 PM11/13/17
to
Hi i have run the below command

#zfs set mountpoint=/rpool rpool

now i am getting the below error

#df -h rpool
df: (rpool ) not a block device, directory or mounted resource

How resolve it.

one more

#zpool import -f redo-pool
cannot import 'redo-pool': no such pool available

after that i run the df -h command
rpool has been disappear.

Please help

Scott

unread,
Nov 13, 2017, 11:08:23 PM11/13/17
to
df -h /rpool

Casper H.S. Dik

unread,
Nov 14, 2017, 3:36:50 AM11/14/17
to
dhanraj...@gmail.com writes:

>On Monday, November 24, 2008 at 3:52:00 AM UTC+5:30, Michael Laajanen wrote:
>> Hi,
>>
>> Hi if to a set mountpoint as below, how can I undo it, that is remove
>> the /opt/tools mount and get it back to /opt/tools
>> pool00/opt/tools/SunOS/5.10/Sparc?
>>
>>
>> # zfs set mountpoint=/opt/tools pool00/opt/tools/SunOS/5.10/Sparc
>>
>> /Michael

>Hi i have run the below command

>#zfs set mountpoint=/rpool rpool

That seems to be the default setting for the mountpoint
for "rpool".

Which OS is this?

>now i am getting the below error

>#df -h rpool
>df: (rpool ) not a block device, directory or mounted resource

>How resolve it.

>one more

>#zpool import -f redo-pool
>cannot import 'redo-pool': no such pool available

>after that i run the df -h command
>rpool has been disappear.

What does "zpool status" and "zpool list" report?

Casper
0 new messages