LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-13-2021, 03:47 AM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
How can i unmount the ZFS dataset and change its mount point?


If you know, please kindly respond. Thank you in advance.

EDIT: possibly it can be for example like this:

UNMOUNT (not do this if you need to change mount point):

End all tasks using the pool (not sure if needed), then "ps aux|grep /mountpoint" and if some processes are hanging consider killing on your own risk: "kill -9 pidhere"
sudo zpool export poolname (parameter -f to force the action may lead to corruption)

CHANGE MOUNTPOINT:

sudo mkdir /newmnt
sudo zfs set mountpoint=/newmnt poolname/datasetname

maybe the pool have to be mounted and no process using the dataset (ps aux|grep /mountpoint)

Last edited by postcd; 03-13-2021 at 06:02 AM.
 
Old 03-14-2021, 02:37 PM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Please provide details of your system and any error messages so we can accurately point you in the right direction.

Have you consulted the official documentation regarding your question or managed to turn up any information on the internet?
 
1 members found this post helpful.
Old 03-14-2021, 06:22 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response

@postcd
You have been asked to provide your information several times for your posts/threads in the past. Our admin(jeremy) has asked you to cease this posting style. You should read https://www.linuxquestions.org/quest...hp?faq=welcome and adhere to the suggestions. If you continue to post in this style then your LQ privileges will be removed. Several LQ members have requested that you post relevant information and you fail to provide. We cannot assist you when information requested is not provided.
So cease this posting style!
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't unmount -- oops, can't fsck after unmount upnort Slackware 4 05-18-2019 11:41 AM
Missing unmount and unmount.cifs johnmccarthy Linux - Newbie 3 11-19-2011 07:01 AM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration