Hi,
Running the zfs mount –a from / shows the same errors.
I now ran the following commands to correct the mountpoints:
Re-enable inheritance:
zfs inherit -r mountpoint hgst4u60/ReferencePR
Reset mountpoint on the root folder:
zfs set mountpoint=/hgst4u60/ReferencePR hgst4u60/ReferencePR
unmount all subfolders:
for fs in `zfs mount | grep ReferencePR | awk '{print $2}'`; do zfs unmount
$fs; done
Check that all subfolders are unmounted:
zfs mount | grep ReferencePR
Check that all folders are empty, just to be sure!!!:
du /hgst4u60/ReferencePR
If they are empty remove the root folder:
rm -rf /hgst4u60/ReferencePR
Finally remount:
zfs mount –a
This solves the mount issues but I wonder why this has happened? And hopefully
this doesn’t happen again?
[cid:Logo_Telespazio_180_px_signature_eng_b58fa623-e26d-4116-9230-766adacfe55e1111111111111.png]
Oliver Weinmann
Senior Unix VMWare, Storage Engineer
Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744 | Fax: +49 (0)6151 8257 799
[email protected]<mailto:[email protected]>
http://www.telespazio-vega.de
Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt,
HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller
From: Sriram Narayanan [mailto:[email protected]]
Sent: Donnerstag, 22. Juni 2017 10:26
To: Oliver Weinmann <[email protected]>
Cc: Stephan Budach <[email protected]>; omnios-discuss
<[email protected]>
Subject: Re: [OmniOS-discuss] Loosing NFS shares
On Thu, Jun 22, 2017 at 3:45 PM, Oliver Weinmann
<[email protected]<mailto:[email protected]>>
wrote:
One more thing I just noticed is that the system seems to be unable to mount
directories:
root@omnios01:/hgst4u60/ReferenceAC/AGDEMO# /usr/sbin/zfs mount -a
cannot mount '/hgst4u60/ReferenceAC': directory is not empty
cannot mount '/hgst4u60/ReferenceDF': directory is not empty
cannot mount '/hgst4u60/ReferenceGI': directory is not empty
cannot mount '/hgst4u60/ReferenceJL': directory is not empty
cannot mount '/hgst4u60/ReferenceMO': directory is not empty
cannot mount '/hgst4u60/ReferencePR': directory is not empty
cannot mount '/hgst4u60/ReferenceSU': directory is not empty
cannot mount '/hgst4u60/ReferenceVX': directory is not empty
cannot mount '/hgst4u60/ReferenceYZ': directory is not empty
Maybe this is where all problems are coming from?
Please issue the zfs mount -a command from elsewhere rather than from within
"/hgst4u60/ReferenceAC"
It also seems that "" and the others may already have local files. If possible,
then rename those Reference* directories and issue the zfs mount -a again.
From: Stephan Budach
[mailto:[email protected]<mailto:[email protected]>]
Sent: Donnerstag, 22. Juni 2017 09:30
To: Oliver Weinmann
<[email protected]<mailto:[email protected]>>
Cc: omnios-discuss
<[email protected]<mailto:[email protected]>>
Subject: Re: [OmniOS-discuss] Loosing NFS shares
Hi Oliver,
________________________________
Von: "Oliver Weinmann"
<[email protected]<mailto:[email protected]>>
An: "Tobias Oetiker" <[email protected]<mailto:[email protected]>>
CC: "omnios-discuss"
<[email protected]<mailto:[email protected]>>
Gesendet: Donnerstag, 22. Juni 2017 09:13:27
Betreff: Re: [OmniOS-discuss] Loosing NFS shares
Hi,
Don’t think so:
svcs -vx rcapd
shows nothing.
[cid:[email protected]]
Oliver Weinmann
Senior Unix VMWare, Storage Engineer
Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744<tel:+49%206151%208257744> | Fax: +49 (0)6151 8257
799<tel:+49%206151%208257799>
[email protected]<mailto:[email protected]>
http://www.telespazio-vega.de
Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt,
HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller
From: Tobias Oetiker [mailto:[email protected]]
Sent: Donnerstag, 22. Juni 2017 09:11
To: Oliver Weinmann
<[email protected]<mailto:[email protected]>>
Cc: omnios-discuss
<[email protected]<mailto:[email protected]>>
Subject: Re: [OmniOS-discuss] Loosing NFS shares
Oliver,
are you running rcapd ? we found that (at least of the box) this thing wrecks
havoc to both
nfs and iscsi sharing ...
cheers
tobi
----- On Jun 22, 2017, at 8:45 AM, Oliver Weinmann
<[email protected]<mailto:[email protected]>>
wrote:
Hi,
we are using OmniOS for a few months now and have big trouble with stability.
We mainly use it for VMware NFS datastores. The last 3 nights we lost all NFS
datastores and VMs stopped running. I noticed that even though zfs get sharenfs
shows folders as shared they become inaccessible. Setting sharenfs to off and
sharing again solves the issue. I have no clue where to start. I’m fairly new
to OmniOS.
Any help would be highly appreciated.
Thanks and Best Regards,
Oliver
[cid:[email protected]]
Oliver Weinmann
Senior Unix VMWare, Storage Engineer
Telespazio VEGA Deutschland GmbH
Europaplatz 5 - 64293 Darmstadt - Germany
Ph: + 49 (0)6151 8257 744<tel:+49%206151%208257744> | Fax: +49 (0)6151 8257
799<tel:+49%206151%208257799>
[email protected]<mailto:[email protected]>
http://www.telespazio-vega.de
Registered office/Sitz: Darmstadt, Register court/Registergericht: Darmstadt,
HRB 89231; Managing Director/Geschäftsführer: Sigmar Keller
What is the output from fmdump / fmdump -v? Also, it would be good to have a
better understanding of your setup. We have been using NFS shares from OmniOS
since r006 on OVM and also VMWare and at least the NFS part has always been
very solid for us. So, how did you setup your storage and how many NFS clients
do you have?
Cheers,
Stephan
_______________________________________________
OmniOS-discuss mailing list
[email protected]<mailto:[email protected]>
http://lists.omniti.com/mailman/listinfo/omnios-discuss
_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss